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 > january 2005 > threads for saturday january 22

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

hitTest reversing direction of collision
Posted by unclevicky at 1/22/2005 11:21:27 PM
Hello to all, ** Please bear with me, I am a newbie to Flash and Actionscripting, ...and forums. Ho hum, we all have to start somewhere...** I am trying to design a game where there is a movieclip is moved about the screen but there is a bounding box in the middle that it is supposed to ...more >>

Creating Listeners Dynamically?
Posted by BNZ at 1/22/2005 9:04:24 PM
Hi, I am creating a menu dynamically using Flash Remoting. I have got that working fine, I just want to add to the loop that generates the list an onClick event that loads a movieclip dependent on which button they press. Here is the code as it stands:- This is the function that builds the ...more >>

duplicateMovieClip and createEmptyMovieClip
Posted by kgui at 1/22/2005 8:38:29 PM
Hi, I have two questions about the usage of duplicateMovieClip() A) I have created EmptyMovieClips with the createEmptyMovieClip() function. such as; _root.MainClip.severalCreatedEmptyMC When I perform a duplicateMovieClip() on MainClip, will also the severalCreatedEmptyMC, inside MainClip ...more >>

can some one tell me how this code works
Posted by chinese_democracy at 1/22/2005 7:35:07 PM
i asked the other day for a code to fire shots in an asteroids style game, and Nsurveyor gave me this code MovieClip.prototype.fireShot = function(idName, tDist, jumpSize) { if(this.maxShots==undefined)this.maxShots = 10; if(this.cShots==undefined)this.cShots = 0; if (this.fnum == undefi...more >>

onClipEvent whith movieclip created at runtime
Posted by Pluda at 1/22/2005 5:32:50 PM
Hello, I have one movieclip in stage, and using onClipEvent (load)everything works good. now If I want to create one movieclip at runtime, and use mymovieclip.onClipEvent (load) I get one error saying Expected a field name after '.' operator. But If I use mymovieclip.o...more >>

having trouble assigning text to dynamic text field
Posted by LookUpon_t at 1/22/2005 5:07:44 PM
Hello, I am having a problem assigning text into a textField after dynamically loading the text. Here is the code that I cant get to work: for (j=0; j<len; j++){ obj[j] = _root["bar"+(i)].link.duplicateMovieClip("link"+(j), j); trace(obj[j]); //This is not working obj[...more >>

attached movieclips.onMouseDown and Mouse events
Posted by kgui at 1/22/2005 4:42:28 PM
Hi, I've created a movieclip in a library, with a linkage name applied to it. From this library movieclip I have created several copies from it on stage, with the attachMovie(). So far so good. In the original library MC, I've inserted a script like; this.onMouseDown = function () { trace('H...more >>

Resize swfs with transitions??
Posted by xwhyzed at 1/22/2005 3:38:15 PM
I work on a website with 20 images; now, i would like to load these from a master swf on level=0 (splash.swf). Having all different sizes, i want to have some actionscript that loads e.g. the first swf (image1.swf, level=1, width=300, height=500) from my menu- and on select another image it...more >>



Controlling an external SWF File
Posted by HangMan75 at 1/22/2005 3:32:31 PM
Hi, I am a newbie in flash. I've created an Anim object and loaded a SWF Video file into it. The external SWF contains a Preloader and a FLV Video. The Main MC I use to load the external SWF in to is called "Clip". I load the file using the following: on (release) { loadMovie("www.xx...more >>

onLoad Function no reaction
Posted by JanM at 1/22/2005 3:19:55 PM
Why does only onRelease work? var cb2_state:Boolean = true; _root.attachMovie("mc_checkbox", "cb2_test", 2, {_x: 150, _y: 20 , _width: 30, _height: 30}); _root.cb2_test.onLoad = function(){ trace(cb2_state); if(cb2_state){ this.gotoAndStop(2); }else{ this.gotoAndSt...more >>

Movie control
Posted by Rich146 at 1/22/2005 3:02:36 PM
I have a main movie that loads cathy.swf into a target clip, target_mc. cathy.swf has stop frames and frame labels. cathy.swf stops at the right time but I cannot get it to restart with main movie buttons. There is a frame lable called, 'callforhelp'. I have a main movie button with thi...more >>

move object then reset
Posted by Nicholai at 1/22/2005 12:01:01 PM
Here's what I have so far: onClipEvent(enterFrame) { speed = .25; this._x -= speed; } This accomplishes my first goal... slowly moving an object across the stage. My second goal is to have this happen again and again... object enters the stage from the right, exits left, then starts over ...more >>

Horizintal menu
Posted by Libyano at 1/22/2005 11:45:05 AM
want ask simple Q .... is there anyone knows simple idea to create the word which changing many time and in the end become a clear word like what's happend exactly in horizintal menu in www.yugop.com !! That's what i wanted !! the changing in words like that menu ? i tried this effect...more >>

CHecking movie loaded before loading again?
Posted by Nicholas Wood at 1/22/2005 11:42:48 AM
I created the following script to load an external swf, however whenever I press the load (i.e. home_btn) button again it reloads the movie into the placeholder. I want to create a script that will only load the movie if it has not already done so. home_btn.onRelease = function(){ if (_root...more >>

If ( ? )
Posted by Simon Jakobsson at 1/22/2005 10:01:40 AM
Hi, i have had some experience with AS, but then I took a break, and now some parts has gone black-out. What I'm wondering is how to say in AS 'if framenumber is 'the_frame2' do this' well how hard I try i cant find the specific command any ideas? --------------- if ( ? ) { gotoAndStop(...more >>

Why did MM make components sabotage depths?
Posted by rlc5611 at 1/22/2005 7:03:13 AM
This problem does not seem to exist in MX because the components work differently but in MX 2004: I was looking at a thread in another forum yesterday and after a little work have discovered that MX 7.0 and MX 7.2 components cripple the use of getNextHighest Depth. If I place any UI compon...more >>

centering external images in a clip?
Posted by sharcx at 1/22/2005 4:08:30 AM
I'm in the process of creating a photo gallery that contains thumbnails and an empty movie clip. When the thumbnails are selected, the image appears int the movie clip. But my images are of varying sizes :( Is it possible when pulling these images into the empty clip that they can be somehow c...more >>

movie clip button behavior
Posted by microes at 1/22/2005 3:49:02 AM
my desire is to trigger the _down state of my movie clip button onRelease and keep it in _down state whereby my movie clip button plays without being disrupted by its _up state when mouse is released rather than having to hold down my mouse just to see the down state of movie clip button anima...more >>

movie clip button behavior
Posted by microes at 1/22/2005 3:48:58 AM
my desire is to trigger the _down state of my movie clip button onRelease and keep it in _down state whereby my movie clip button plays without being disrupted by its _up state when mouse is released rather than having to hold down my mouse just to see the down state of movie clip button anima...more >>

timer/counter that links to frame number instead of real time
Posted by yattyyat at 1/22/2005 3:17:03 AM
hi all, i'm a newbie to action scripts, so please forgive me if the problem sounds too simple. i have a set-up that contains a movie clip that holds a 60 sec video. the set-up also has a set of player controls such as ffwd, rew, pause, stop, play. my goal is to show a dynamic text sta...more >>

printJob Class
Posted by 121dsign at 1/22/2005 1:42:40 AM
Hi everybody, i'm working on a flash presentation. All about the movie it's fine. I'm also want to print the presentation for the people that can not have acces to the internet. I'm using flash mx 2004. I know that in this version, it's a new class (printJob). I've looked at the actionscript...more >>

TextFormat Bug???
Posted by Sgt_Pepper at 1/22/2005 1:13:12 AM
Any help is highly appreciated. :) Flash MX Professional 2004 I've created a dynamic text inside of a movie clip. This text has the following properties: - Font: Bitstream Vera Sans - Italic (shared font) - Size: 11 - Color: Blue - Style: Italic and I gave the name of "myTe...more >>

How to randomly cycle through movie clips (several in a row)
Posted by fujiapple at 1/22/2005 12:03:26 AM
Hello, I'm very new to Flash, especially the actionscript part of it, so I could use a little extra help here. What we want to do is feature a small animation on our web site which cycles through the company logos of each of our clients (after an opening "We're proud of our members" fr...more >>


DevelopmentNow Blog