Archived Months
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
January 2008
June 2008


all groups > flash actionscript > august 2007 > threads for thursday august 2

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

variable handling problem
Posted by Bare at 8/2/2007 11:34:04 PM
Why _global.menuNum is not working globally? On _root timeline I have movie clip"hMenu", inside that movie clip I have another one, called "vMenu". Just like this: _root.hMenu.vMenu Inside vMenu I have some frames with AS: 1.frame: stop(); 30.frame: stop(); _global.menuState = "Open...more >>

File Upload
Posted by SummerLongSince at 8/2/2007 11:24:54 PM
HI, I am customizing the file upload example on Flash CS3. I am making a file upload system in which the user selects between a single or multiple files upload option. Once the choice is made a screen where he/she can press a button to open a system dialogue box to navigate/select file(s) f...more >>

Prevent Enter key from proceeding movie
Posted by Denatram at 8/2/2007 10:15:33 PM
I am using this code to get the user to enter the answer 16 in an input text field. It works but if the user hits the enterkey after they've gotten the question right, the playhead starts and moves to incorrect. This is not happening only in the testing environment, the published file continue...more >>

Random Images in a MC
Posted by eac09 at 8/2/2007 8:55:26 PM
I'm working on this animation that contains about a hundred images. I could make the images to play sequentially, but I need them to play randomly. Could anyone help me out w/ this? Best regards,...more >>

What to call a generic Boolean variable?
Posted by Rothrock at 8/2/2007 8:50:29 PM
I know it is a silly question, but I haven't come up with a good name for a generic Boolean variable in a function signature. So for example if I've got some function that will receive a movieclip or something I usually do it like one of the following: myFunction(target:MovieClip) myFun...more >>

movie clips inside an animated movieclip
Posted by baby_flash at 8/2/2007 8:04:02 PM
Hello- I have been trying to get movieclip buttons inside an action script animated movie clip to work and have no luck doing so. The inside movieclips act as if they dont have over or out states; but when i comment out the animation, they work fine... here is my code- (Please note im am a n...more >>

Help with Event listeners
Posted by _pixel_chick at 8/2/2007 7:52:17 PM
Flash CS3, actionscript 2.0 I have a timeline animation that I am trying to convert to actionscript. Basically there are 8 movie clips that I have added to the timeline that fade in at different times. I have the code for each of the tweens figured out (var laugh:Tween = new Tween(laugh_mc...more >>

How do I get actionscript animation to video?
Posted by pixelnate at 8/2/2007 7:45:01 PM
I have a flash movie with actionscript animation that I need to convert to video. How can I do it? Every time export it to video from Flash (8 pro) I get nothing but stills. I have a number of mx transitions that would take forever to convert to timeline animation. Please help. ~Nate ...more >>



Arrays & MovieClip Buttons
Posted by loudgreenideas at 8/2/2007 6:40:24 PM
I have a scene that has 10 buttons that I would like to have the following behavior: 1. onRollOver, button border highlights 2. onRollOut, button returns to default appearance 3. onRelease, button text bolds and remains that way until another button is pressed 4. With an onRelease even...more >>

sortOn() problem
Posted by mrSparkleS0ap at 8/2/2007 6:37:16 PM
I have an indexed array in a class that has a "seq" field that I want to sort by. I am using this: my_ar.sortOn("seq", Array.NUMERIC | Array.DESCENDING); and it returns the sequence like { 1,10,11,2,3,4,5,6,7,8,9} so it is sorting but not as Numeric?? Is there an include file...more >>

Hide Mouse Only In Part of SWF
Posted by shurleynova at 8/2/2007 6:26:07 PM
I looked around and cant find something to do this but I think thoeretically it can be done. I dont want to have the mouse visible unless it is over the controls on the bottom of the stage. I have a large stage area and on the bottom is a button that I need to have the mouse visible so p...more >>

Save script
Posted by neotype at 8/2/2007 5:28:48 PM
Hi all does anybody knows a script how i can save some text from a input field to a text file? I am search already a loooooong time but with no succes :( please help me...more >>

CS3 Claims syntax error
Posted by breez11 at 8/2/2007 5:15:13 PM
when I attempt to run this I get a compile error. What am I doing wrong? var showItem = false; // -- my_cm:ContextMenu = new ContextMenu(menuHandler); // -- my_cm.customItems.push(new ContextMenuItem("Hello", itemHandler)); // -- function menuHandler(obj, menuObj) { if (...more >>

LoadVars() + target window?
Posted by 1starks05 at 8/2/2007 5:09:03 PM
I have a login form that I'm using inside my flash header banner of my site. The login uses LoadVars() and the send(url, "POST") type of thing to send the username and password to an ASP page. THe login works great, and even comes back to the page posting a "invalid username/password" when it'...more >>

setInterval repeat when finished looping forever
Posted by code1234 at 8/2/2007 5:03:48 PM
Greetings, The following setInterval example is right out of the Flash documentation, and I'm using this method to periodically, create, animate and fade out (using the tween class) some items on screen This code from the docs traces the contents of an array, passed as parameters, at ...more >>

Your favourite AS Editor
Posted by Patrick B at 8/2/2007 5:00:43 PM
Hi everyone, Here are a few fluffy questions for everyone: what's your facourite ActionScript editor, and why? What are some of the features that make you stick with this editor over all others? Are there any other editors you think don't get the attention they deserve? Patrick...more >>

Dynamic scroll bar not visible
Posted by BruceCSI2 at 8/2/2007 3:59:05 PM
I created my text in a text file (saved as testtext.txt), then in Flash I added a dynamic text box (instance name: testtext) and dragged a scrollbar component (instance name: ttscroll) onto it. I then added this action script to the first frame: ttscroll._visible = (testtext.maxscroll >1);...more >>

html tags in XML won't load into text field
Posted by maguskrool at 8/2/2007 2:50:53 PM
Hi. I've got a mydata.xml file with the following code: <?xml version="1.0" encoding="UTF-8"?> <mytext>This text should be[B]bold[/B] or [I]italic[/I], please.<mytext> In my flash file I have a dynamic text field named txt01 with embedded characters (I'm mentioning this because I bel...more >>

descText.text i need help
Posted by naghas at 8/2/2007 1:13:16 PM
Hello When i put this line descText.text and use this characters "?,?,?,?..." they don't appear... anybody could help me Thanks...more >>

Problem with code
Posted by atlkhan at 8/2/2007 5:11:15 AM
Can someone help me with this code. I am writing the values of codingparam and nop to a text file using this code. But it doesn't write them to file when I use firefox browser , but works just fine with I.e // create a new LocalConnection instance used to send // calls to a LocalConnecti...more >>

AS3-CS3> Can't set properties of addChild object?
Posted by iceflyin at 8/2/2007 4:15:59 AM
How do I add text to my buttons created via addChild? The buttons have a textfield in them named "Text." This gives me a #1010 property not found error: this.button0.Text.text = "ButtonText"; function spawnButtons() { for (var i = 0; i <=7; i++) { var newButton:menuButton = new ...more >>

Two Variables need help with code
Posted by bozart at 8/2/2007 3:38:48 AM
I am in the process of learning more about action script so I am very limited on what I can do at this point. I need some help with this code. I have put together two Variables that have an object_1 and an object_2. Basically these different objects are doing the same thing, but with differe...more >>

Effect of Splice() on Objects Stored in Arrays
Posted by El Tigre Naranja at 8/2/2007 1:51:25 AM
I'm having trouble with storing custom objects in a multidimensional array. The structure is a number of 2 index long arrays stored in a containing array. The objects work as expected until I need to rearrange the containing array. getName() is a custom method. <--- private functio...more >>

Opening web links from full screen projector file
Posted by JonasD2 at 8/2/2007 12:49:34 AM
Hi - Using Flash Projector file (.exe) to provide content on CDs. Projector file is designed to open up full screen. I need the web links to open on top of the existing content, ideally in a separate window. All my efforts result in the weblink opening up underneath the flash applicatio...more >>

Fast Inverse Square Root
Posted by Robotacid at 8/2/2007 12:00:00 AM
I expect no replies to this thread - because there are no answers, but I want to raise awareness of a faculty of other languages that is missing in Flash that would really help 3D and games to be built in Flash. Below is an optimisation of the Quake 3 inverse square root hack. What does it ...more >>

Downloading Scenes
Posted by dtedone1 at 8/2/2007 12:00:00 AM
Back to this again - the movie I am attempting to download contains 2 scenes - the 1st is an introduction with 600 frames but very little in the way of content - http://www.1dt.biz/Page4Monet1.htm The 2nd scene contains all the content (mc's etc) approx 1.5MG I would like to be able to...more >>

Preloader in IE 7
Posted by ssmrao at 8/2/2007 12:00:00 AM
Hi.... sunder here.... Im facing a problem from flash/IE 7.0.. pls can any one help me out..... i have done a intro in flash, which is inside a movieclip in frame 2 of timeline, and i have put a preloader in frame 1, so that the movie loads fully before it is seen... My problem is when i...more >>

Animating PNG causes them to lose transparency.
Posted by DaRizat at 8/2/2007 12:00:00 AM
Basically in AS 3.0 I have PNG's loaded in loader classes as children of Sprites on the stage. The PNG's look fine, but then I have certain actions triggering animations of the sprites (sliding from point a to point b using some math, repeated in a Timer). Everythign is fine, but whe...more >>

hitTest() how to use just the shape
Posted by flairman at 8/2/2007 12:00:00 AM
i want to check if one movieClip intersects another but just its shape without the bounding box the method hitTest() enables me to check just the intersects with the bounding box like this example: square_mc.onRelease = function() { this.stopDrag(); if (this.hitTest(circle_mc)...more >>


DevelopmentNow Blog