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 > may 2004 > threads for thursday may 6

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

updateAfterEvent () not working?
Posted by Someink at 5/6/2004 11:39:03 PM
Hi - from what I've read about [b]updateAfterEvent () [/b], it should work in a function, but this code (which I want to use to make an mc (called sq) slide to a set width doesn't animate, it just 'snaps' to the width 'x'. Any ideas what I'm doing wrong? Using MX, by the way. Cheers - C ...more >>


Create dynamic buttons on a map
Posted by Bonsch at 5/6/2004 11:10:22 PM
Hi, My program loads GPS points from a Xml file and displays them on a map. The dots representing different cities are simply drawn using a DrawCircle function I found online. Is there any way I can replace those dots by round buttons so that when the user clicks on them, more information ...more >>

keyPress and button events conflict
Posted by AUSSIE_1 at 5/6/2004 10:22:50 PM
Is there a way I can use both keyboard commands and button events to control the same movie? I have a movie where I need to use both and I can't get them to both work--if keyPress is used, the button won't work. aussie_1 ...more >>

multiple instances of UI COmponent Loader?
Posted by higgo at 5/6/2004 9:38:47 PM
I'm trying to use multiple instances of a Loader UI Component to load images into my movie. I've dragged the loader component onto the stage and deleted it to get the Loader into my library and then have the code below on the first frame of the stage. The problem is that only one of the Load...more >>

how to get instance names dynamically?
Posted by aznan8 at 5/6/2004 8:25:15 PM
Hi! I have a whole lot of movieclips instanced MC1, MC2, MC3... I want to turn off the visibility for all of these, but since there are so many of them I want to use a for loop to do it. I have tried to use this code: for(i = 0; i < 10; i++) { ["MC"+i]._visible = false; } but it di...more >>

Increment _x to the left
Posted by Van Garnett at 5/6/2004 7:59:37 PM
I have a nav bar to the right of the stage. It's starting _x is currently 0. When the mouse moves over an invisible button I need for the blue nav to 'slide' to the left until it reachs an _x of -224. I need for it to "slide", not just pop in place. I know I can make a tween in the movieClip, ...more >>

preloader problems
Posted by elfstone60146 at 5/6/2004 7:47:34 PM
I have created an html Flash detector index page which loads a preloader swf which, in turn, loads the final swf as an external file onto a level. Everything seems to work except that when the final swf opens it is frozen - none of the buttons work. I've tried a number of things but none hav...more >>

Why do I get a error when using buttons?
Posted by chaos0 at 5/6/2004 7:44:35 PM
I always end up with: **Error** Scene=Scene 1, layer=Button, frame=1:Line 1: Statement must appear within on handler nextFrame(); Total ActionScript Errors: 1 Reported Errors: 1 This happens whenever I try to use a button, what am I doing wrong? ...more >>



Menu Bar Component with getURL
Posted by djdonovan at 5/6/2004 7:38:57 PM
Not sure if this has been answered or if it's the right way to do it.. but it's been working for me so far. This works with importing XML data into the menubar with the XML connect component. I have added "link" and "target" attributes to my xml nodes in the xml file. I'm sure extra attri...more >>

Passing Variables form an embedded SWF to a non e
Posted by clockwiserising at 5/6/2004 6:36:17 PM
I am need ing to pass a set of variables from a SWF file that is embedded in a web page to a SWF file that is opened in a window and not embedded. (Only the SWF file is loaded in the window no web page). To make things worse, shared objects do not seem to be an option. I tried that and the sec...more >>

can flashMX use absolute paths to get XML files?
Posted by toddresudek at 5/6/2004 6:30:37 PM
i have a flashMX banner that is on a site. the site uses an absolute path to load my banner. my banner is trying to get data from an XML file, but it cant. when i try to get it via absolute paths, it doesnt work, if i use relative paths, and the file is in the same directory as the page, i...more >>

Nested movie button- not working
Posted by AUSSIE_1 at 5/6/2004 6:26:52 PM
I have a main timeline(A) I have a movieclip(B) on it. Inside that movie clip(B) I have nested movie clips on 4 different frames each frame has a stop().. In other words: The first frame of this movie clip(B) has a movie clip(B1) on it and a stop(); The second frame of this (B) movie cl...more >>

roll out problem with btn
Posted by jdudan at 5/6/2004 6:18:48 PM
Hello. I have btns that become white when rolled over, and then fade back to the original color when roll out. They roll out fade works fine if I do it slowly, but when I move the mouse quickly over the btns, sometimes it will get stuck on the second frame of the btn's mc, which is white....more >>

I attached a movie and it's behind my components!
Posted by sneakyimp at 5/6/2004 6:03:29 PM
I'm simulating a combo box. i have a movie called combo_font_selector that contains a button that, when pressed, attaches a scrollpane to the movie. The problem i'm having is that the scrollpane that pops up is BEHIND all the flash components (a checkbox, some text, other stuff) on my scree...more >>

save variables to disc
Posted by André Heßler at 5/6/2004 5:45:54 PM
Hi What possibilitys do I have to save variables or objects to a file out of a projector? thanks... -André- ...more >>

How to loop multiple .swf files?
Posted by DougTallacksen at 5/6/2004 4:04:47 PM
I have a few compiled flash movies (.swf files) that I'd like replayed over and over again. Optimally, this would be full-screen. If I have movie1.swf, movie2.swf, and movie3.swf, the order would be 1,2,3,1,2,3,1,2,3... Any ideas would be greatly appreciated. ...more >>

External Actions Layer Help
Posted by setshot50 at 5/6/2004 4:02:54 PM
I am trying to get into the good habit of placing all my actions in an external layer. I have run into a snag when trying to utilize a navigation button to move from Frame 1 to Frame 2. Frame 1 has a movie clip in which the button is contained and an animation at the end of which is a Stop f...more >>

smooth motion with ActionScript
Posted by J Blacksun at 5/6/2004 3:41:16 PM
I am trying to move a box across the stage with the arrow keys. This works fine but it gets jumpy if I move more than 5 pixels at a time. I tried moving it 1 or 2 pixels at a time but the box moves too slow for what I want to do. Does anybody have any ideas? Thanks, James CODE ...more >>

redrawe of datagrid
Posted by thedanster at 5/6/2004 3:20:41 PM
I have a datagrid being willed with the resultset of a data query. Works fine, except 2 things: 1) initially, all the cells are blank, but I have a highlighted row. as soon as I change a column width (wider or narrower) the grid repaints and looks good. Why? 2) I have about 100 items ...more >>

Getting Mouse coordinates while outside the movie
Posted by luisw at 5/6/2004 3:10:08 PM
I?m trying to get the mouse position while this one is outside the work space I had defined for the movie. I?m using the function _root._xmouse, but it doesn?t work anymore if the mouse gets outside the flash movie. Is there a function to do this?? Thanks? ...more >>

createTextField and TextFormat
Posted by Screenweasel at 5/6/2004 3:01:56 PM
Hello everyone. I'm having trouble with formatting the text allowed by the createTextField command (type set to 'input', obviously). I want any input text to be bold and Arial font and all it does is default to non-bold TNR. Some of this (or all of it) comes from my limited understanding...more >>

cue points and video + synch slides
Posted by max.luciano at 5/6/2004 2:56:57 PM
hello everybody in my movie I have the following 1) a mediaplayback component which loads an external flv file 2) a movie clip to show the slides 3) a movieclip with thumbnails of the slides I created a ?displaylistener? object to listen to the events of the mediaplayback component whi...more >>

Convert String to Integer
Posted by mdawg0916 at 5/6/2004 2:51:02 PM
Anyone, Hello. I'm currently having a problem with accumilating two a variable. I'm using Flash MX 2004 Professional and I publish my movies using Actionscript 2.0 and Flash Player 7.0. What I have is an array of string GPA values. When I retreive a value from the array I want to accum...more >>

Problem after MX 2004 professional install
Posted by Sean666 at 5/6/2004 2:28:01 PM
I decided to upgrade to MX Professional. No problems with instalation etc. I then decided to do some work on my site at www.cashcard4u.com. When you press Contact Us etc. a slide out panel appears which should close. It no longer does. When I used MX before, the code I used was the following:...more >>

I'm going slowly insane and need some help!!!
Posted by Martin at 5/6/2004 2:09:37 PM
I'm going slowly insane and need some help!!! All the helpfiles in my MX-software uses such a small fontsize (Studio MX-2004 / Director MX) that it is impossible to read it. And i can't find a way to scale them up!!! Does anyone recognizes this? Please help!!!! Greetinx Martin ...more >>

Timed Graphic Display
Posted by chrislk at 5/6/2004 2:09:27 PM
Hello, Here is what I hope is possible with Flash: I want to be able to grab the server time and be able to tell the flash document to display a graphic depending on what time it is. For instance, if from 9am-10am I want graphic "A" to be displayed and then from 11am-12pm graphic "B" to b...more >>

preload bar
Posted by Carlos Gonçalves at 5/6/2004 2:05:30 PM
IT is not so serious but is very strange. Most of preload movies that people do or use that it is free on internet, has a strange behaviors. When the movie is not loaded, the preload bar appears and show percentage number. Ok. But when you go back to this movie and it is already loaded, the firs...more >>

Dynamically create new Arrays?
Posted by ChrisFlynn at 5/6/2004 1:25:50 PM
Hi all Here's my situation. I have a for loop set up like so: for(ii=1; ii<maxNum; ii++){ //maxNum is defined beforehand Within this for loop, I want to create new arrays with the value for ii in the array name. So if maxNum=5 then I want 5 arrays, named array1, array2, array3, arr...more >>

XMLConnector.trigger() problem
Posted by Yontxu at 5/6/2004 1:01:56 PM
Hi! I have loaded a XML making a [i]XMLConnector.trigger()[/i] and i want to know if it is completed before going next frame. Is it posible to know if the XML is completly loaded? I've done a [i]XMLConnector.results[/i] but i don't know if it's the best way. Thanks. ...more >>

Problem with Menu
Posted by Manoj vn at 5/6/2004 12:12:26 PM
sir, I creating a menu, which is having options to go to different scene. My menu movie clip name is 'menu', and i had made movie clips options s1, s2, s3,etc. These movie clips are inside a movie clip 'm'. While using onRollOver and onRollOut for 'm ', the functions coded for m.s1.onRe...more >>

Load external mp3
Posted by andytford NO[at]SPAM yahoo.com at 5/6/2004 11:56:43 AM
I need to load an external mp3. Once the mp3 is finished playing, I need the movie to move to the next frame and repeat with a different mp3. I am building what could basically be deemed a glorified Power Point presentation. How is this possible? Thanks beforehand, -A...more >>

Text Area cmp: little question.
Posted by ::: robman ::: at 5/6/2004 11:18:31 AM
Hello, Anyone can tell me how to remove the light blue square on selection text in the Text Area component. Example http://www.ybc.it/2004/stage/center.cfm Thanks ...more >>

To regulate the volume of a video .flv via AS
Posted by iperzazie at 5/6/2004 11:12:33 AM
You help me, I do not succeed in regulating the volume of a video flv, the normal action script for the sounds do not work. I have this problem, I would want to load 2 different videos at the same time, and after, to regulate the volume of both independently , so I can't use a sound obj ...more >>

frame2 Classes+Forms
Posted by Mykoo at 5/6/2004 10:13:08 AM
Please do not answer with GUESSES. thanks Using a Form Application, you never see the _root timeline of your project because it's hidden somewhere, out of reach, behind the 'application' Form. This means you can't put a 2nd frame on your _root timeline. So obviously, in publish settings, ...more >>

Drag and Drop words
Posted by j22 at 5/6/2004 9:58:31 AM
I'm creating words that can be dragged and dropped around the screen. I've created Buttons inside Movie Clips that just contain the word as a text box. My problem is that the you may only select the word when the cursor is directly over one of the letters in the text. For example the wor...more >>

Drag and Drop words
Posted by j22 at 5/6/2004 9:57:01 AM
I'm creating words that can be dragged and dropped around the screen. I've created Buttons inside Movie Clips that just contain the word as a text box. My problem is that the you may only select the word when the cursor is directly over one of the letters in the text. For example the wor...more >>

Detect collosion of a dragable Object
Posted by Basement_media at 5/6/2004 9:38:38 AM
Hi, does somebody know, if it's possible to detect, if a dragable object hits any other object on stage ? As far as i know, the method hitTest() needs either coordinates or the name of an specific mc, before it can give back true or false. But i need a method, which gives back true or ...more >>

check if loadVariablesNum is done
Posted by Basement_media at 5/6/2004 8:53:13 AM
Hi, i use loadVariablesNum, to load some Variables from a PHP-File into Flash. I call this method in the first frame of the movie, and want to output the result in the second frame of the movie. That works well, but heres my question: Is it possible, first to check, if all Variables ha...more >>

Desparately need to locate "Click Handler "
Posted by Salio at 5/6/2004 7:48:31 AM
Hello Friends, I have dragged a Button from Components Panel on to the Stage. And now i want to add a Click handler to thsi button... But I am not able to see this "Click Handler" any where on the Properties and Parameters Tab.. I dont know what to do.. i am stuck and strugling.. Please he...more >>

what could cause my movie to be run twice??
Posted by sneakyimp at 5/6/2004 4:58:40 AM
I have a movie...i've put an instance of a movie (mvFontSelect) on the stage. In frame 1 of my main movie, I set some variables in mvFontSelect and then proceed to load some images into other movies. the first and only frame of mvFontSelect does some stuff: trace('running first frame o...more >>

movie problem
Posted by cire548 at 5/6/2004 4:40:23 AM
I have a movie 400 x 100 that will move back or forth on the x coordinate(on a button press). I have a second movie that I want to follow behind the first one by 30 pixels when it moves in either direction. Could someone help me with a script that would do this? thanks ...more >>

onEnterFrame function runs after stop()?
Posted by sneakyimp at 5/6/2004 4:00:04 AM
i am debugging a flash project in which i define an onEnterFrame function in frame 3 in frame 4, which is empty, i put a few commands and a STOP command: trace("running empty frame "); trace("stopping this madness for debug"); stop(); i noticed that the onEnterFrame function contin...more >>

why does this happen with preloader ?
Posted by rugbyland NO[at]SPAM inwind.it at 5/6/2004 3:40:28 AM
Hi all, so sorry I cross posted by mistake earlier. I have troubles with something happening when using preloader for external swf ( loadmovie ) I have a main swf made by 7 frames. each frame is for a specific corporate seminar. For each seminar there is a movieclip containing a series o...more >>

#initclip and child movie vars and functions
Posted by sneakyimp at 5/6/2004 2:46:49 AM
i'm very confused about how you go about setting variables in movies that you put on your stage from your _root movie. I created TEST.FLA. Inside it, I created a library movie object called SubMovie. Inside the SubMovie library object, I put this code on the first frame: function set...more >>

Creating Search Box?
Posted by oghistorian at 5/6/2004 2:04:31 AM
Hi All, I am pretty much completely new to Macromedia Flash MX, although I have worked with Swish. However, I need to create some sort of search box just like you would in html, in a fairly short amount of time. I have a working html version of the needed search box, so all server scrip...more >>

freelancer needed ASAP for menu actionscripting
Posted by mark NO[at]SPAM kellarproductions.com at 5/6/2004 1:01:49 AM
i am in need of some help with actionscripting on a dynamic menu for a new website in production. It should be easy money for an experienced Flash guru. I need it done ASAP. email me for details mark@kellarproductions.com...more >>

If statements bases on variable
Posted by mart-man at 5/6/2004 12:14:07 AM
I am making a simple platform game but i would have this problem for pretty much any game i want to make. Example: if the character is touching the floor then the [b]_root.charstatus[/b] variable will be [b]onground[/b] if the character isn't touching the floor then the [b]_root.charstat...more >>


DevelopmentNow Blog