ActionScript 3
Tag details
Welcome to the 'ActionScript 3' tag page at Technorati. This page features content from the farthest reaches of the Blogosphere that authors have "tagged" with 'ActionScript 3'.
Latest blogosphere posts tagged “ActionScript 3”
-
How can I detect that the Flash Player is exiting?
kirupaForum —
Authority: 160
I have written a basic chat client that talks to an XML Socket server. When it starts it connects to the socket and works fine. However, when I close the Flash Player it is still occupying a connection to the server. I am trying to determine how I can trap the close of the Flash Player and programmatically close the ...8 hours ago -
website external loader fade out on click
kirupaForum —
Authority: 160
I have a website that has 5 pages. When I click a button to load the next page I would like the current page to fade away with an smooth animation (instead of just dropping to black and loading next page). I have the next page animating with a nice face in, but I would like the current page to animate out nicely. ...16 hours ago -
getURL class
kirupaForum —
Authority: 160
OK, I had a website that had lots of navigateToURL MovieClips in it and I was tired to write seperate eventListeners and functions for each of them... They took time to write and took a lot of space in the script. So Ive written this gotoURL class which makes things much more easier. Just use it like this; import ...21 hours ago -
Dynamically loading swfs and images for a shopfront
kirupaForum —
Authority: 160
Hi all, Im working on a shopfront (a window like piece of flash that sits on the top of a page and scrolls through like http://www.pirean.com ), and Ive wondered what the best approach would be. Its supposed to be dynamic, basically keeping all the external swfs and icons outside and loading via xml in. I can get ...21 hours ago -
how to list all objects in an MC
kirupaForum —
Authority: 160
Code: for (var obj:String in this) { trace(obj) } This works perfectly for me in as2 It goes trough all the objects on the stage or mc what is the as3 equivalent Thanks1 day ago -
Saving an Array of Objects to MYSQL Database, and Retrieving It
kirupaForum —
Authority: 160
How do i save an array of objects, like this: [{n:1,bb:4},{n:2,bb:4,r:1},{n:6,bb:7},...] to a database? I was thinking i would have to convert it to string, but if i do that, when i retrieve it from the database, how am i going to use it?1 day ago -
AS3 help: High Scores
kirupaForum —
Authority: 160
Im trying to make a high score list/leaderboard for my game, but really dont know how to do so. I can save a score locally, but I dont know jack about how to use php or MySQL to my advantage. Are there any good tutorials out there for this kind of thing? Ive looked around, but all I could find were as2 tutorials. Any ...1 day ago -
Having the first object snap back when a second object is placed in the same place
kirupaForum —
Authority: 160
So I have two circles and a square on stage, myCircle1, myCircle2, and mySquare. You can drag the two circles, if you drop either one outside the square itll snap back to where it originally was, if its touching the box itll snap to the center of the square. I want it so when the second circle (either one) snaps to ...1 day ago -
Interactive Flash Map (Touring DJ)
kirupaForum —
Authority: 160
Hey there, wondering if anyone has seen anything like the attached picture available on the net (pay or free). The map system has inputted tour dates and info so following fans can keep track of the DJs location and gigs... screen cap: http://french-express.com/tour.jpg Anyone know of such a scripted system? thanks1 day ago -
Box2d Contactlistener
kirupaForum —
Authority: 160
Hey guys, im currently working on a game involving Box2d. I have got a physics world working up to the point in which contactlisteners are required for several different objects, and I was wondering if someone could either point me in the direction of some good source material or tutorials involving contactlisteners ...1 day ago -
Scrollbar for a Sprite?
kirupaForum —
Authority: 160
Hello, Im currently having trouble on integrating a scrollbar that I downloaded from Warm Forest Flash . I built a XML gallery that is going out of the boundary of height of 466 pixels. The thumbnails that are out of the boundary are still visible. On top of that, I tried to add the scrollbar to the sprites inside ...1 day ago -
help
kirupaForum —
Authority: 160
Hello everyone: i tried to figure out the XML url from fla action script file but i couldnt make it if any one can help me Please here is the code : Code: function setFeatureData ( _node, _val ) { featureData = com. dcx . utils . HyperXML . getNodesByAttribute ( _node, _val, "id" ) [ 0 ] ; ...1 day ago -
Tweening the scale of TextFields "jerky"
kirupaForum —
Authority: 160
I have a simple TextField on the stage, though it doesnt matter if I add it dynamically via code, the results are still the same when it is being tweened up. If you tween the size via scaleX and scaleY , it will be "jerky", and now and then the number of lines will change and the text will rearrange slightly, but ...1 day ago -
extending a class 2 times :D
kirupaForum —
Authority: 160
i have class A, then class B which entends class A, then class C which entends class B. now in class A there are couple of empty methods currently defined as protected. in class B these methods are also empty //i dont know how to make this exactly, they should obvioulsy be here as well because... -> then in class C ...1 day ago -
Caurina error
kirupaForum —
Authority: 160
Im trying to use Caurina Transitions in Flash Cs4, As3, but get the error message: 5007: An ActionScript file must have at least one externally visible definition. Im simply using this code as test: Code: import caurina.transitions.*; Tweener.addTween (box,{x:10,time:1 }); What can be wrong?1 day ago -
mouse event and event target
kirupaForum —
Authority: 160
i have these 2 functions and both are the same: as you can see disabledAction receives e.target as a paremeter from another function (click function actually). is there a way to somehow call disabledAction from rollOverHandler ? (so that the code doesnt repeat) Code: function ...1 day ago -
Dynamically modify a movieclip
kirupaForum —
Authority: 160
hi , :megaman: i m working on a game where player has to demolate a bulding by placing bombs at diff places .. i want to know how break a movieclip into multiple parts dynamically ... like in the game demolition city ... i want the movieclip to be brocken into parts when detonated and then apply physics to the so ...1 day ago -
Ctrl+Scroll detection?
kirupaForum —
Authority: 160
Hey everyone, have a question. Is it possible to detect whether the user used or is using ctrl+scroll to enlarge the screen? I was looking at an example of a mouse avoiding game, which could easily be cheated on using ctrl+scroll, so that the passages were larger etc. Is there any way to detect this inside Flash, ...1 day ago -
Flash XML Thumbnails loading so slowly!! Please help
kirupaForum —
Authority: 160
Hi, I have been having a problem with slow thumbnail loading on my website. I am not sure why because I have continually reduced the thumbnail sizes and they are very small. The thumbnails are pointed to via an XML file. Any help would be immensely appreciated!!! Here is my code: Code: stop(); import ...2 days ago -
share displayObject
kirupaForum —
Authority: 160
Hi. I need to share croped area of DisplayObject, for multipla DisplayObjects I have solution, but its too slow, maybe there is some as3 base functionality to do my problem this._img.addEventListener(Event.ENTER_FRAME,onFra me); function onFrame(e:Event){ var i:int = this._maska.numChildren; for(var j:int = ...2 days ago
