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
all groups > flash actionscript > february 2004 > threads for tuesday february 3

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

position External Jpg
Posted by divyup at 2/3/2004 10:48:42 PM
I am loading an external jpg into a MC on the main stage..simple enough. However; I would like to know if there is a method to position the loaded image outside the default 0,0 co-ordinates? Thanks in advance. ...more >>


making paused sounds resume where they left off
Posted by zackg3 at 2/3/2004 10:46:42 PM
Hello. I needed to make a tutorial CD which involved sound and animation. I had to time the animation to the sounds by making the playback head pause for a specific duration on certain frames and then move on, which i did with a simple loop for X seconds script. The problem is that I need to be able...more >>

How to make a MC play backwards, complex.....???
Posted by atracksler at 2/3/2004 10:25:45 PM
I have a MC that has a three frame labels in it. I want the user to click a button that takes them to label 1, 2, or 3. If they are on label 3, for example, i want the MC to play backwards, so that it looks like it is rewinding (going past label 2) etc.. here is an example:http://bigfishstudio.co...more >>

Input Text Matching Frustration
Posted by kevindarbro at 2/3/2004 8:34:05 PM
Hi: I've got an input field named "9bField" in the property inspector, and a button to submit a user response with the following script on it: ---------------------- on (release) { if ("9bField._text" == "value"){ gotoAndPlay("9bRight"); } else { gotoAndPlay("9bWrong"); } } ...more >>

hitTest with true
Posted by bhg at 2/3/2004 7:52:08 PM
I'd like to create a hitTest betweeen two irregularly shaped mc's - To use the actusl pixels rasther than a bounding bov I need to put True as a parameter. To use true I need to put x and y parameters in . There are two things I don't understand. 1) what the x and y parmeters should be ... 2) ...more >>

control main movie from inside a movie clip
Posted by squirrelyjones at 2/3/2004 7:04:21 PM
this has probably been discussed already but i couldn't find it, heck I may have already asked it. I have a movie clip with a button in it, when the user clicks the button I need to change the frame on the main movie. How do i do it? Thanks in advance ...more >>

flip book
Posted by anghunt at 2/3/2004 6:52:59 PM
Hello Does anyone know how to make flipbook in Director or Flash? I'm trying to make the simulation of pages being turned. anghunt ...more >>

Positioning Loaded Movie Clip
Posted by asiabackpacker at 2/3/2004 5:54:58 PM
Does anyone know if there is a way to position a loaded movie within my main movie when it is loaded into a level (as opposed to being loaded into a target)? ...more >>



URG... Function getting called multiple times for no reason
Posted by Karim N at 2/3/2004 5:46:59 PM
This is really driving me crazy: I've got a simple picker menu, generated by AC. There is a master MC, which contains the different menu options, each on a different frame. The menu builder function loops over the number of frames and duplicates this MC once for each, positions it, and ad...more >>

Commnicating between movie???
Posted by Brian at 2/3/2004 5:46:47 PM
Can I give instructions from my main movie to another movie that I loaded into that? Can I also do it vice versa? I have a movie(A) that has a second moive(B) loaded into it and I have buttons in movie(A) that are supposed to trigger stuff in the movie(B) Then I also need to adjust certain ...more >>

loadMovie() / unloadMovie() question
Posted by michaelknauf at 2/3/2004 5:32:46 PM
Ok, I'm loading a movie into an instance of a movieclip like so: loadMovie("splash.swf","landingpad"); works great. Now I want to unload that movie and load another in its place. unloadMovie("splash.swf","landingpad"); loadMovie("home.swf","landingpad"); seems like it will do tha...more >>

Can you add a listener to a movie clip?
Posted by jaminPitt at 2/3/2004 5:06:27 PM
For instance, this doesn't seem to work. Can someone tell me why? mcRolloverListener = new Object(); mcRolloverListener.onRollOver = function () { xspeed = 0; } example_mc.addListener(mcRolloverListener); example2_mc.addListener(mcRolloverListener); Thanks. Jamin ...more >>

Does System.capabilities.screenResolutionX work on MAC?
Posted by Pixel_Pixie at 2/3/2004 5:02:44 PM
ok I am having problems with this site on a MAC. Inmy Flash file I get the screen res like this: _level0.w = System.capabilities.screenResolutionX; _level0.h = System.capabilities.screenResolutionY; then I load another swf called my.swf. in my.swf I use the screen res to place a movie clip...more >>

Go to Director Movie
Posted by maxsimms at 2/3/2004 4:41:25 PM
I am pretty new to Flash, and therefore have only a minimal understanding of Actionscript. I am using Flash to create a rollover menu that will be used for navigation in a Director projector. I know the Actionscript to use to go to a frame in the same Director movie in which the Flash menu is pl...more >>

Need help understanding loadVariablesNum() behavior
Posted by sledgeweb at 2/3/2004 4:39:42 PM
Hello- I'm using loadVariablesNum to call a PHP page which hits a mySQL database and returns some variables. My script wasn't working correctly when I had everything in one frame, like this (it worked, but the results I got were always a step behind, there is another loadVarnum at the end that...more >>

Importing/ Streaming audio (.mp3s)
Posted by RedAntMedia at 2/3/2004 4:32:13 PM
Ok.... Here's the situation: I have a site that I'm building: http://www.XtremeIllusions.net and on one of the 'HighBandwidth' pages, I have 2 tracks... The 2 .mp3s are imported to my library, and they exist on the server.... My problem is: When you have the page running via the serve...more >>

onData event handler
Posted by juankpro NO[at]SPAM hotmail.com at 2/3/2004 3:56:12 PM
In flash mx 2004 help you have this example for using the onData event handler. // symbol_mc is a movie clip symbol in the library. // It is linked to the MovieClip class. // The following function is triggered for each instance of symbol_mc // when it receives data. symbol_mc.onData = fun...more >>

The depth of movie clips in layers
Posted by Yoav at 2/3/2004 2:39:56 PM
I have two layers in my movie: in layer 1 , frame 1 ,I perform the following action: Z = createemptymovieclip("MC",0); Z.attachmovie("mine",MC,0); Then, in layer 2 (which is on top of layer one) ,frame 10, I put another movie from the library(not using action script here). The problem: the M...more >>

Best content changing practices for a flash website
Posted by ksenia_m at 2/3/2004 2:29:26 PM
Hi list, I am developing my first Flash app in Actionscript. To learn as much as I can, I use only code to get desired functionality, having one #include statement in the first frame of my movie :)) So far so good.. but here is the question: I wonder what would be the best way to load differen...more >>

math problem will Math.floor help
Posted by javman at 2/3/2004 2:27:13 PM
I have the following code that at first sight should return a value of zero but does not always. What can be done about this. The following code works as expected and will return a value of zero. myVar2=-.25; myVar=0; mid=0; button.onRelease = function(){ myVar=myVar+.05; mid=myVar2+myVar; i...more >>

List component MX2004 professional
Posted by Alessandro2003 at 2/3/2004 1:58:49 PM
How can i make that a item selected in the list component can be a link? when you click on it i want to be redirected to a specific page.Is possible? Thanx ...more >>

Custom Classes with loadmovie, help!
Posted by The dedicated lad at 2/3/2004 1:56:16 PM
Hi everyone, this is my first post here on board so please be kind. I have been studying real hard over the past few months so that I can try to get into the web industry, but as I have very limited time to study I could really do with some extra help. I have only just got internet access too, I mus...more >>

Dragging between browsers and to the desktop
Posted by car165 at 2/3/2004 1:51:13 PM
I have two questions: 1.Is it possible to drag movie clips between 2 browsers (or 2 instances of Flash player) to do collision detection? For example, you have movieClip1 in the fist browser and movieClip2 in the second 2. Is it possible to select the text of an input field and drag that tex...more >>

swapDepth question
Posted by chicken king at 2/3/2004 1:13:00 PM
hi all... i am still rather new to some aspects of game programming, so this may be stupid but... i am using the following code to swap the depthsof two movie clips whin they collide (so the tractor moves from behind dad2 to in front of dad2 -- it is a mini-game made with my fisher price sets ...more >>

Jjavascript-type Alert Box in Flash?
Posted by Casper44 at 2/3/2004 12:34:42 PM
Is there a simple alert box available in Flash? I am actually after a "confirm" style box. Thanks, cp ...more >>

Flash and JAWS
Posted by gonk_28943 at 2/3/2004 11:59:19 AM
Hello. I have some problems in my flash movie when I run JAWS. I'm using Flash MX, Flash Player 6 and JAWS 4.5 I have asigned accesibility information (names, description and tabIndex) to movie clips and buttons on scene. I have problems with tabs. When I stop JAWS everything is OK. I can go t...more >>

getting the global time ... and the region of local comp
Posted by MATHEWS..JOHN at 2/3/2004 11:41:13 AM
Guys I got a flash exe ... it shows the 4 different time of different countries ... London Dubai Sidney Mumbai now I am in india ..(that is in Mumbai region) that file is taking time from my machine and showing it in mumbai block (that I can also do) but now my problem is how can it take ...more >>

Detect frame number from loaded movie...
Posted by Mário Diogo at 2/3/2004 11:38:05 AM
Hello... I have my main movie that loads another small movie into it. I´ll call it (movie2)...How can i detect using my main movie that the loaded one(movie2) is in the frame 20 for example...so that i can run a movieclip at main movie only when (movie2) the loaded one, reaches frame 20... ...more >>

Loading SWF or JPEG files from a URL into a movie clip
Posted by Santharam at 2/3/2004 10:59:56 AM
Hi all, I am a novice in Flash MX ActionScript and need help in getting over a hurdle. I am assigned with the following task. A movie clip need to be created in Flash MX. But the content of frames for this movie clip should be downloaded from a remote URL. This re...more >>

IF Statement Problems
Posted by AJWP at 2/3/2004 10:49:30 AM
Hi, I'm trying to set a variable depending on the value of my user variable, but every single time it defaults to the first one. My script is listed below: if (_level0.user == e) { var folder = "d:\\log\\se_esd"; } else if (_level0.user == g) { var folder = "d:\\log\\se_gas";...more >>

flash and Local FileSytem
Posted by Adgugal at 2/3/2004 10:00:41 AM
Hello ! Someone know how can realize interaction flash with local filesystem ? real example : make form with field and button for upload JPG file throw what function flash can open file selector window? I htink it's can be interesting for more people on this board so If someone ...more >>

Difference/Combining netStream and Media class
Posted by tendemann at 2/3/2004 9:14:07 AM
Help! Who can tell me, what the general differences are between the NetStream class and the Media class. I was able to build a flash mx application with dynamically playing back external .flv files. MediaController and and MediaDisplay are created with actionscript and it works wonderful. What I am...more >>

setFocus();
Posted by moffeman at 2/3/2004 7:59:08 AM
Hi! I have one start file(swf) where i select language from, and when i have selected a language i go to another swf file (loadMovieNum(file.swf,1);), but when i press a button in the second file i have to press the button two times before the event fires of. How can i setFocus to the second file o...more >>

Award Rates in Australia
Posted by d2kagw at 2/3/2004 6:42:38 AM
Hi Everyone, Im just about to go for a job interview [second stage]. the position is for a ActionScript developer, and scenes I come from a design background im not really sure what sort of money to ask? Aparently there offering "Negotiable though Above award rates Pay" - what the hell is award...more >>

show right click menu
Posted by VooDoo Chicken at 2/3/2004 6:10:48 AM
hi, i use 'fscommand("_showmenu","false");' and that prevents to show the flash menu in an executable, anyway, i have seen flash presentations embeded in web pages that do not show right click menu either (they show only the about and config options that appear in executables) how to do that? tnx ...more >>

This loop doesn't work for some reason....want to let me know?
Posted by Chris Hayes at 2/3/2004 2:22:09 AM
for(n=0; n<=_parent.maxClicked; n++){ _parent.btn[n]._alpha = 25; } I can set a particular button, like _parent.btn1._alpha = 25 in this loop, but i'm doing something stupid that I just don't see because the above script doesn't work. Thanks for any help - Hayes ...more >>


DevelopmentNow Blog