Groups | Blog | Home


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 > june 2004 > threads for thursday june 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 30

Screens and getBytesLoaded
Posted by Spen at 6/3/2004 11:44:23 PM
Is there anyway to monitor the loading of an swf into a screen (Form) using a custom progress bar. It seems odd that the screens class inerits all the events of the Loader class (complete and progress). However it does not seem to inherit the properties bytesTotal and bytesLoaded. This mak...more >>


Question about var:boolean = true
Posted by Habitmaster at 6/3/2004 11:09:33 PM
If I attach var x=false; to a frame in a movie clip, and on a frame in the root time line I attach if(x=fals){ will it work? i.e. will AS on the root time line be aware of variables stated on a movie clip time line? Will ...more >>

whats wrong here?
Posted by TJMonster51 at 6/3/2004 11:02:26 PM
its scrolls one way then just jumps back to the other end without using the interval set? how do i fix? stop(); slider = function () { myButton._x += 2; if (myButton._x == 400) { myButton._x -= 400; } }; slip = setInterval(slider, 5); attachMovie("myButton", "myButton", 1)...more >>

How is this scroller done
Posted by dhx10000 at 6/3/2004 10:59:42 PM
Hi, Go here: http://www.tolleson.com then click on 'Applied Materials', then click on the numbers to view the images. It presents the images as if they are a 'roll of film'. I understand how to set it up in terms of using one giant collage of images and using a mask to display...more >>

Listbox not showing labels after array update?
Posted by powerofq at 6/3/2004 10:21:14 PM
Hello, I have an array that is being updated remotely, and a listbox that is using this array as it's datasource. The problem is, once the array is updated, I can't see any labels in the list box.. however, if I click a row, the data is there.. just no labels? Thanks ...more >>

script not firing?
Posted by TJMonster51 at 6/3/2004 10:10:03 PM
when i run the movie the script in the movie only works the first time around when it starts over in the loop it ignores most of the script minus the attachMovie and the button functions. Any idea to why it might be doing that? ...more >>

Help! Media playback controller keeps playing flv
Posted by Portimao at 6/3/2004 10:08:11 PM
My computer terminology is not the greatest so please bear with me. I am using Flash Professional. I have a media playback controller on a screen. When that screen is revealed the flv starts to play. No problem there. The thing is when I reveal another screen and hide this one the flv pauses. ...more >>

Piece together loops to arrange song?
Posted by jay3001 at 6/3/2004 10:04:45 PM
I'm trying to take several loops that make up a song (intro, verse, chorus) and placing them together and arranging them so that it's a seamless song. What I did was import 3 audio clips and set the linkage, then created 3 sound objects (music1, music2, music3) and used onSoundComplete to pl...more >>



Viewing Actionscript
Posted by rythmikone at 6/3/2004 8:57:40 PM
Is there a way to view all the action script that is in an FLA? I have badly managed my current project, I admit, and can't find my error to remove it. :) Thanks in advance. Paul....more >>

Re: Moving Down at the Same Time
Posted by Aumaz Jang at 6/3/2004 8:11:16 PM
Please help me to resolve this problem. Thanks!!!...more >>

creating text fields with variable names
Posted by arkhilokhos at 6/3/2004 8:09:14 PM
hello all, i'm new here, but i couldn't find answer to this problem by googling or searching the forums and i was hoping someone could help. i'm trying to create textfields and fill them in with data from an xml source. it all works fine except for one section where I try to loop through a ...more >>

onSoundComplete Question
Posted by extravaganza_ at 6/3/2004 8:07:53 PM
Can anyone see anything wrong with this. I am trying to have this triggered by onSoundComplete. songPlaying.onSoundComplete = function() { songPlaying.loadSound(mp3_4.mp3, true); songPlaying.start (0,0); songPlaying.setVolume (25); }; here is the entire script. It is only t...more >>

Adding button actions to a movieclip
Posted by J NO[at]SPAM ZZPR at 6/3/2004 7:57:18 PM
Thanks to this forum I n0w have my dynamic menu working... almost that is. With the code beneath I create a number of movie-clips in wich I will load some .jpg's, but now I want these movie clips to be able to handle like buttons... I just cant's get it to work. --------------------------...more >>

Adding button actions to a movieclip
Posted by J NO[at]SPAM ZZPR at 6/3/2004 7:57:11 PM
Thanks to this forum I n0w have my dynamic menu working... almost that is. With the code beneath I create a number of movie-clips in wich I will load some .jpg's, but now I want these movie clips to be able to handle like buttons... I just cant's get it to work. --------------------------...more >>

Load PHP variables across multiple frames...?
Posted by MyFlashMXIN at 6/3/2004 7:34:36 PM
Got a little project I've started using a tutorial: http://flash-db.com/Tutorials/loading/ Now what I need to do is get the data loaded across multiple frame, each frame gets a new bit of data ( image & text )... Now I've added some code in a Key Blank Key Frame... to allow time for the ...more >>

I have a question about moving back and forth between movies in flash
Posted by coreyl NO[at]SPAM ualberta.ca at 6/3/2004 7:05:47 PM
I have figured out how to open a movie in flash from within another movie but I am having diffuculties understanding how to exit the second movie and go back to the frame of the first movie I opened it from. Right now my action script is taking me back to the beginning of the first movie but ...more >>

Move attached Movie clip
Posted by supere at 6/3/2004 7:03:21 PM
I have one movie clip that I tile across my document with attachmovieclip. Now I want to move it forward or backward based on a hit test. I looped through and created them based on the X position of each. But when I try to move them it only moves one of them. My question is how do I move all o...more >>

Slower Machines (k)
Posted by W. Kirk Lutz at 6/3/2004 5:21:06 PM
I've written what has turned out to be a very complex ActionScript to make letters move about the screen in a random fashion, but flowing smoothly upon script written curves. Problem is, I wrote this on a Dual 2Ghz Mac G5 and when it's played on a lesser machine, the playback is very slow. ...more >>

sound.onload problems with streaming audio
Posted by burritobot at 6/3/2004 5:07:31 PM
Is there a work-around to the fact that Flash's lack of an onStart event handler for streaming MP3's? I've built a little streaming-mp3 player and I my MC "loaded" to begin as soon as the MP3 begins playing. I've tried onLoad, but of course it waits until the entire MP3 is loaded before it...more >>

.as Files (k)
Posted by W. Kirk Lutz at 6/3/2004 5:07:18 PM
I've finally gotten hip to using external .as files to house my scripts. My question is: In the main movie that feeds off these scripts, do I need to re-export the movie each time I change the scripts? I noticed that I had accidentally posted the main movie to the website without the sc...more >>

php variables in flash
Posted by IvanRaditz at 6/3/2004 4:38:17 PM
I have a php script that counts the number of files in a directory, how can I then put that information into flash? This is what I have tried: howMany = loadVariablesNum("http://address/counter.php, 0, "GET"); I want to load the value from the php script into howMany varibale in flash, ...more >>

load
Posted by Kenny WH at 6/3/2004 4:23:42 PM
I?m importing a swf into my Movie and I have a problem. The imported swf has some images that are larger than it?s own size, and hang over the edge of it?s stage. I want these to be cropped off at the edge of the swf when I import it, but they?re not. This is the code I used to import it. ...more >>

seeking: sneaky work around
Posted by redboxinteractive at 6/3/2004 4:17:58 PM
OK, first the goal: to be able to get http://www.outwar.com/page.php?x=2197732 from flash. The setup: That link runs a php script, which turns some wheels and generates a page with an auto refresh link back to the original php script with new variables. it runs its wheels again and ...more >>

Resizing problem!!
Posted by virtualeman at 6/3/2004 3:56:47 PM
I'm doing a Website in flash and I want my Website to be fullscreen no matter what screen resolution or size of windows the viewer has. My problem is that the only thing I want to be resized is my background, not the website itself, the website contain pictures and this website is optimized to...more >>

hit test
Posted by Jonnhy at 6/3/2004 3:52:29 PM
Hi everybody, Please take a look at the fla's I'm triying to do a mouse trail inside a movie clip. But I want the trail to stop when your outside the movie clip. My trail go over the movieClip (_x) could someone help me out thanks onClipEvent (mouseMove) { if (_root.mc...more >>

Flash Executing ASP
Posted by Paul Anthony at 6/3/2004 3:40:09 PM
Hi guys Im wondering if there is a way to silently call an ASP file using actionscript and run it without using GET URL? Perhaps by using fake XML requests? REgards Paul. ...more >>

How is this done? Eccentris.com
Posted by MacGyver_97 at 6/3/2004 2:28:40 PM
Hi; The "shattered glass/barn door" effect being used in the http://www.eccentris.com website caught my eye. Can anyone suggest how this is done, or direct me to a website with an equivalent .FLA? I'd like to incorporate this type of effect with my own image gallery. Thanks, Neal. ...more >>

dynamic playlist help
Posted by Paulrus at 6/3/2004 2:18:54 PM
Hello all - I am trying to build a dynamic playlist to play SWF files. Essentially the user has all sorts of choices and as they click on each choice I need to have that choice added to a list. Then they will have the choice of either playing all the files in the list OR click on any ...more >>

Execute function
Posted by Apheresis at 6/3/2004 2:18:28 PM
What is the Actionscript function needed to execute a certain function which is in the form of a string ex: execute("name_of_a_function"); thnx ...more >>

Trouble with Photo Scroller
Posted by Sly1211 at 6/3/2004 2:05:30 PM
Hi everybody, I'm having trouble with a photo scroller. I copied and pasted code that was given to me & for some reason, there is no scrolling (the code works on the fla that was sent to me). Any help is greatly appreciated. Thanks ...more >>

QTVRS
Posted by surfinggiggles at 6/3/2004 1:53:24 PM
please help!! how do I load a Quick Time VR into Flash MX? For some reason I can't even get my dodgie *.mov to work or link to my flash file. pretty desperate for a response...more >>

shared Object time problem
Posted by TheBimmer at 6/3/2004 12:15:46 PM
Hi, I have built an swf which includes a pen to draw... as i needed the drawing to be shared among the clients, I've used a shared object, and assigned the coordinates of _xmouse, _ymouse to the object and passed them as parameters into the function lineTo so that it draws at the clients.....more >>

How to create my own blog using Flash and RSS
Posted by Arturo Toledo at 6/3/2004 12:04:48 PM
I´d like to create a blog using only Flash and then expose this blog in RSS so other people can link to it. Anybody know how to do that or know any tutorial or article about it?? Thanx -- ='o'= Arturo ='o'= www.miltonfrank.tv ...more >>

Play an instance from scene 1
Posted by 12pane at 6/3/2004 10:57:28 AM
Issue: Have a 1framed main timeline. I press a button and the movieclips/instance starts. 1. I have stopped everything in movieclip by adding > stop (); on the very first frame 2. I have created a button which says > on release { gotoandplay (2); } 3. I have flash 5 (I will upgrade to ...more >>

setting hotspots within a mc
Posted by Van Garnett at 6/3/2004 10:56:08 AM
how do i set a hotspot within a mc? thanks ...more >>

Update browser flash content on demand?
Posted by Clacker at 6/3/2004 9:38:27 AM
Hi all, Im creating a project where I will probably be changing the flash content fairly regularly. To this extent I need the client browsers to always maintain the latest version from the source, and was hoping that browser caching would simply detect the server has a newer version and do...more >>

load icons into flash..
Posted by littlebrown at 6/3/2004 9:24:30 AM
Hi to everybody. I'm sorry if this message wouldn't no be in the right place and for my poor english. I'm trying to import an icon into flash... i know that it's impossible.. so i would like to find some server-side application that could converts icon into swf or jpg. Anybody knows...more >>

Dynamic and scrolleable list of check boxes
Posted by Mowly at 6/3/2004 9:01:47 AM
Hi everybody, I need to create a dynamic (depending of content from a XML file) and scrolleable list of check boxes (UI component) and I?ll apreciate very much some ideas about it. For now I?ve looking in these directions: 1.- List component. Flash MX 2004 Help says about List compon...more >>

Heres my car game - need help on a few things
Posted by Craigus86 at 6/3/2004 8:54:52 AM
ok if you download the file and open it you'll need MX 2004 the problems i have are 1. the "RM" and "ORM" variable that are only being increased and decreased by 0.05 end up going to 4.999999998 i need to keep this to 2 decimal places, the variable "Angle" also does this 2. "RM" and "ORM" ...more >>

question about "if" and "else if"
Posted by crazycal321 at 6/3/2004 7:07:46 AM
i have actionscript for a frame as follows: if (x = "1") { gotoAndPlay(10); } else if (x = "2") { gotoAndPlay(20); } else if (x = "3") { gotoAndPlay(30); } else if (x = "4") { gotoAndPlay(40); } when x is 1 i want it to play frame 10, when x is 2 i want it to ...more >>

Major Step Backwards for Flash
Posted by suture at 6/3/2004 6:39:31 AM
Sorry I don't get it. What's the point of creating Stand-Alone Flash Projectors if you can't have an active link to an email address, or if you can't have an active link that launches the users prefered web browser and takes them to an external URL, such as your home page, or if you can't easi...more >>

adding mc's with a loop
Posted by J NO[at]SPAM ZZPR at 6/3/2004 6:36:42 AM
I want to create a dynamic menu, using php/mySql. I began writing a loop, in wich i canlater change the values with dynamic values loaded from php/mysql, but all it displays is the last item in the loop. Can anybodytell me what I'm doing wrong? Jasper ------------------------------...more >>

Can a movie clip behave like a button?? HOW
Posted by guneetLamba at 6/3/2004 6:14:21 AM
My question is very simple, i want a movie clip to behave like a button, i want to use on(Release), on a movie clip. Is this possible i.e myMovieClip.onRelease = function() { code goes here } thanks ...more >>

help with script
Posted by extravaganza_ at 6/3/2004 5:53:29 AM
i am creating a music player that plays mp3s off of my server. the first part of my script shuffles an array to help call the various MP3s. The MP3s are named "mp3_1.mp3", "mp3_2.mp3" etc ... so i just need to shuffle an array of numbers and then define "currentSong = "mp3_"+ songNumber +".mp3...more >>

tree drag and drop
Posted by smartchap77 NO[at]SPAM yahoo.com at 6/3/2004 5:03:57 AM
Hello Please let me know if this is possible with tree component of Flash 2004. Use Case 1) Drag a tree node and put it under different parent. Use Case 2) Drag a tree node and somehow drop in the data grid. MB...more >>

basic question about variables
Posted by crazycal321 at 6/3/2004 4:32:42 AM
i was wondering, when i set a variable in actionscript: x = "1"; then in the next frame i set it again: x = "2"; what does that do? does it redefine the variable "x" to equal "2"? what i'm trying to do is redefine the variable when it reaches a certain frame. is this possible? am i do...more >>

Movie stops after I add buttons
Posted by sharcx at 6/3/2004 4:05:46 AM
I'm in the preliminary stages of creating my first flash site, and created the buttons etc. for the site, with a stop() on each keyframe representing my various sections. However, when I add a motion-tween to a section, the page stops in the beginning of the tween, and in order for it to compl...more >>

removemovieclip not working
Posted by VooDoo Chicken at 6/3/2004 3:58:33 AM
hi, i am using this.removemovieclip() in a clip, i clone that clip many times and the clones are supposed to delete themselves. instead of tha they just keep on looping, so every time i get more and more clones on screen and they dont go away. why is it not working? ...more >>

Compiler Cacheing Classes
Posted by parker.p NO[at]SPAM ucles.org.uk at 6/3/2004 3:38:26 AM
The following Macromedia tech note explains a known issue in Flash MX with the compiler cacheing class files so that changes to classes are not reflected: http://www.macromedia.com/support/flash/ts/documents/cashclass_aso.htm The above article states that the cached classes are stored in the...more >>

Trouble loading picture as mc
Posted by adok at 6/3/2004 3:26:24 AM
I am modifying someone else's script. On an certain frame, he originally placed a movie clip. Now I have to dynamically load the picture. So I deleted the movie clip and add the following code: _root.createEmptyMovieClip('keyimg', 100); setProperty('keyimg', _x, 91.3); setProperty(...more >>

problems using "asfunction" in text file
Posted by rwills at 6/3/2004 2:27:28 AM
I am trying to create a link in an external text file that will load another text file into a seperate movieClip. I tried this: text= <A HREF=\"asfunction:_level0.scrollMovie.loadVariables,categories/category5/case1.t xt\">Key Point<A> where "key point" is supposed to be the link t...more >>

Dynamic button with database
Posted by proghettolab NO[at]SPAM tiscali.it at 6/3/2004 1:38:50 AM
Hi all, I would to create some buttons dynamically, by a Php file. I know how to read database, but I don't know how can create buttons with Action Script. Does anybody know how? Thanks in advance! pMB www.proghettolab.it...more >>

Formatting Dynamically Generated Txt
Posted by Drunktank at 6/3/2004 1:01:02 AM
hi I am working on a mail form that passes variables and formats the users details. The end result being a dynamic txt box (variable message2send). What I want to do I format it so the Username, Email, Message etc are in different colours to the rest of the formatted txt. ...more >>

movie clip with buttons in it
Posted by WussMagnet at 6/3/2004 12:35:41 AM
I have a created a movie clip which holds a movie clip of a tween of 5 individual movie clips. The 5 individual movie clips are each a button on a layer. The tween moves the buttons across the page. I intended to be able to click on a button and goto that particular frame on the main timelin...more >>


DevelopmentNow Blog