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 2006 > threads for wednesday may 24

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

Changing flv movie in media display
Posted by Shoudibola at 5/24/2006 9:28:31 PM
How do I change the flv movie in media display? Example: Initialy, the URL of Media Display is: "first.flv". But if I click a button in my flash, it has to change to "second.flv" movie. See ya! Augusto ...more >>

loadVariablesNum? I don't get it...
Posted by Swhxswt at 5/24/2006 9:01:47 PM
I have the following code. loadVariablesNum("data.txt", 0); test.text = _global.languageVars.wlecome; however the textbox with instance name "test" always say's "undefined" why is this not being defined? -tim ...more >>

how to get instance name
Posted by MaxVT103 at 5/24/2006 8:49:44 PM
I was wondering if there was any way to get the instance name of the class to the class without having to pass it in when you create the instance of it. For example, so I can do this: var myObject:CustomClass = new CustomClass(); and then the class knows whats its instance name being us...more >>

Attach mc's from parent SWF to loaded SWF
Posted by hfaze at 5/24/2006 6:48:27 PM
I've got a movie (parent) that loads several other SWFs (children). I need for the parent SWF to attach movie's to the child SWFs from it's library - but i can't get it to work. Is there a way to do this? ...more >>

FLV event help
Posted by Covv at 5/24/2006 4:44:11 PM
I have a flash presentation with a navigation and in each section it plays a short animation then loads a video. The idea was after the video click the next navigation item but now they want it to auto continue to the next swf (using loadmovieNum to layer 25) here is what i tried : var nc...more >>

stupid button question....
Posted by jakbull at 5/24/2006 3:48:22 PM
Hello all. I'm relatively new with Flash and I'm using the MX version. I have a query regarding buttons. I have created a number of buttons that link to different frames, but now i'd like to alter them slightly. I would like to have text appear upon rollover of the buttons, but would like th...more >>

Multiple Event Handler
Posted by r_barlow at 5/24/2006 3:46:15 PM
Hey, This is probably a really stupid question but is there a way to declare an event handle on an Actions layer that handles multiple events? For example, both of these are equivalent: // on button on (rollOut) { } // on action layer btnTest.o...more >>

extracting strings from a string
Posted by Antonio_82_ at 5/24/2006 3:36:30 PM
Given the following string: sendRPCDone(frameElement, "chelsea", new Array("chelsea", "chelsea fc", "chelsea football club", "chelsea building society", "chelsea charms", "chelsea flower show", "chelseafc", "chelsea piers", "chelsea football", "chelsea clinton"), is it possible to ext...more >>



cant seem to call an attached movie
Posted by dxc at 5/24/2006 3:21:30 PM
start_btn.onRelease = function(){ startMenuHolder_mc.attachMovie("startMenu_mc", "startMenu_mc", 100); } i cant call the startMenu_mc when i attach it like this. i can only call it when its outside of the onRelease function. startMenuHolder_mc.attachMovie("startMenu_mc", "startMenu_mc",...more >>

rotate objects
Posted by makate at 5/24/2006 3:20:56 PM
i have been given a task of rotating an image of the world, make a dove flapping its wings and a bible paging. how can i achieve this or alternatively where can i get gifs of them.....more >>

dynamic videos.
Posted by JimmySlam at 5/24/2006 3:07:28 PM
how do i add a video on flash dinamically? (exrternal file loading on the fly) thanks. ...more >>

createEmptyMovieClip
Posted by Tolk at 5/24/2006 2:37:33 PM
How do you remove a movie clip created with the createEmptyMovieClip() function? I have tried: movieclip.removeMovieClip movieclip.unloadMovie but neither seems to work and in "help" it states they are for other movieclip loading functions. I have been trying to call these using the: thi...more >>

Tween properties cancel one another out
Posted by gunforhire at 5/24/2006 2:32:32 PM
I'm trying to call a list of tweens but with different tween properties. The problem is that the last call to tweenMe overwrites the previous one, i.e. a linear tween gets changed to an easeOut. Any ideas? Example; test2_mc.tweenMe("linear", "_x", 0, 100, 3, 2); test1_mc.tweenMe("eas...more >>

anti cache XML
Posted by abeall at 5/24/2006 2:20:37 PM
I've long known the old timestamp query string trick for anti caching, but never really had to worry about with XML.load in Flash. I just now tried it: myXML.load("myxml.xml?timestamp="+escape(new Date().toString())); And it gives an error: failed to load file. If I remove the timestamp, i...more >>

External Preloading issues!
Posted by MrIzzard at 5/24/2006 12:49:38 PM
Hiya there I've tried hunting through other forum posts, tutorials and being abused by bitter Middle Eastern 'web helpers' in chatrooms - and still no joy... maybe you know the answer! My level of knowledge with Flash is fairly good, but limited when it comes to PreLoaders. <b><u>THE ...more >>

HELP!! I need an Action Script!!
Posted by TheKornGrL at 5/24/2006 4:23:02 AM
:frown; hey! does anyone know what kinda of action script you would need to use if you were making a website and you have a button that you click on and you want <b>a new window</b> to pop up over the website, to display, say a larger image of the button. How do you do that?? PLEASE le...more >>

netStream FLV wont play on server
Posted by thedolls at 5/24/2006 3:37:06 AM
Hi there. I have FLV files loading into my swf using a Video Clip Symbol and all works fine when testing on my PC or network drive. But when I publish to the web the FLVs dont load at all? I dont have Flash Communication Server but I didnt think I need to? I am publishing as player 7. I have t...more >>

Author-time shared assets
Posted by tonyhigham at 5/24/2006 2:58:14 AM
I?m having some major issues with author-time shared assets in Flash 8. I will try to be as specific as possible, so bear with me. I have a large project that has an accordion menu system in the main file (Main). We?ll focus on one of the accordion?s children for simplicity. There is a loader ...more >>

Action Script not triggering in nested movie clip
Posted by Brett Kinross at 5/24/2006 2:35:33 AM
Hi - I am new to Flash so sorry if this is a simple question. I have a nested movie clip however when it is playing within the parent timeline the actionscript doesn't seem to trigger. Below is the code that I am trying to use: Can someone please give me some hints as to how to get it to wor...more >>

preloader bar problem
Posted by couvegalega at 5/24/2006 2:08:25 AM
Hello. I've made a movie, and the scene1 timeline has only one frame. There I have 4 different movieclips into different layers, each one with is own timeline. Now, how do I insert a preloader bar in my movie? When I tried with tutorials, it doesn't work, and even if the movie loads li...more >>

Printing / Duplicate Movie Clip problem
Posted by Offroader at 5/24/2006 12:19:50 AM
I have a complex MC that is continually changed by source code. I have a print button that is supposed to print this MC but with other MC's that are not only for use in the printed version. So far I haven't found a good way to do this. The only way I have found, is to have two copies of the...more >>

Loaded swf, passing variables
Posted by Tolk at 5/24/2006 12:00:00 AM
If i load a swf movieclip into a parent swf i.e. using: _root.loadMovie("bar_chart.swf"); How can i then pass variables into this swf from the parent using AS? Is it possible to use _global to declare a global variable in the parent and then acessing this in the loaded swf i.e.: Parent: ...more >>

View not updateable until all code has executed
Posted by esset09 at 5/24/2006 12:00:00 AM
I have problems updating the view (i.e. tracing debug texts, displaying load clips) when larger code blocks are executed in Flash. Here's an example: The following code is executed when releasing a dragged MovieClip (starting drag with onMouseDown and moved by following mouse position on...more >>

Determining empty childnodes
Posted by aniebel at 5/24/2006 12:00:00 AM
Hi, I have a PHP script that generates XML based on an HTML form page with 16 fields in it (8 song name and 8 file name). I left all fields there as the client may want to add more down the road. The problem is that the empty fields are causing buttons to be created also. Do I edit the AS to ...more >>

"mailto:" from a Flash Projector
Posted by Mariana Bravo at 5/24/2006 12:00:00 AM
Hi ithere! I've been trying to make a simple "mailto:" action work properly but it doesnt work.. it does open a mail programm but first of all opens a browser! well.. thats not what i want, i would like to make the get url " mailto:" action just open a mail programm and thats it... this...more >>

PRELOAD
Posted by hsheffer at 5/24/2006 12:00:00 AM
Hi I read a few articals on preload, I tried cuple of different methods, but the same problem kips not letting it work: The first 2 frames contains ONLY the preload stuff. the rest of the movie from frame 3 contains heavy stuff (700 KB). When I check the movie in the bandwidth profile it ...more >>

Problem displaying all data loaded from xml
Posted by sineadhartley at 5/24/2006 12:00:00 AM
hi there i really hope someone can help me...am desperate at this stage I am displaying data loaded from xml in the form of a "news title" then the "news brief", another "news title" then the "news brief" etc. Now I have managed to get all the news titles to be displayed one under the other....more >>

Problem with sliding menu
Posted by Batlock at 5/24/2006 12:00:00 AM
I found <a target=_blank class=ftalternatingbarlinklarge href="http://www.sitepoint.com/article/menu-scrolling-background">this menu</a> and it does its job pretty well. The only problem is that after loading the movie it centers the view on the last position of the mouse even if it's outsid...more >>

movie clip behavior on rollover
Posted by kidconcept at 5/24/2006 12:00:00 AM
hello, i'm having problems with my movie clip behaviors on some button rollovers. i want my movie clips to play frames 1 to 13 on rollover, pause at frame 13 until rolloff, and at rolloff run frames 14-27. if the user rollsoff before frame 13, i would like the movie to finish it's cycle ...more >>

characters in Unicode
Posted by Antonio_82_ at 5/24/2006 12:00:00 AM
hello everyone, i am a Actionscript novice and I have a small problem. i am using the LoadVars class and the toString method to retrieve some result from the web. The result obtained is represented by the following string (which is not the full string, as it'll be much longer to write) : ...more >>

simple syntax question (AS1!)
Posted by oe at 5/24/2006 12:00:00 AM
Hi List, I usually do not write complex AS but would like to simplify the following code with a for-loop if (_parent.a1._currentframe==2) { _root.vara1 = true; } else { _root.vara1 = false; } if (_parent.a2._currentframe==2) { _root.vara2 = true; } else { _root.vara2 = false; } if (_...more >>


DevelopmentNow Blog