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

RPM tach on loading flash
Posted by maldonj1 at 1/24/2005 10:21:14 PM
hi, im trying to replace the existing plain old loading bar with a motorcycle RPM tach which from 1 to 16 thousand rpm which is redline and at 16k is when site loads, i have the image and the idea, but cant make it happen.. am i supposed to have 16 images of the tach needle? confusing mys...more >>

need help cleaning up repetitive code
Posted by posterboy at 1/24/2005 9:55:34 PM
i have 14 buttons (see attached code). when i click on any button, i load an external swf in the parent clip and make the _alpha=50; i want to disable all 14 buttons when the external swf is loaded, then enable them when the swf is unloaded. am i anywhere close? /// i'd like to use so...more >>

ZooMX/tutorial problem w/Flash MX
Posted by Sid1011 at 1/24/2005 9:49:23 PM
Hi All, @#(*& HELP!!!! I'm reading "Flash MX: Training from the source" (ISBN: 0201794829) and have a problem that is not listed anywhere here or any actionscript or google forum. I can't find an errata sheet for this text and the author/Mac. press haven't return any emails. Here is a...more >>

movieclip-bringtofront
Posted by bit99 at 1/24/2005 9:38:50 PM
Hi , heres my problem: i have a bunch of movieclips placed on the same layer and frame, - sort of like a portfolio type of thing, Now, as I click to start each of the portfolio clips - i want that particular clip to open and play on top of the other clips that have already been opened...more >>

artificial intelligence
Posted by marcelozep at 1/24/2005 9:05:00 PM
Ok, the user motocycle I did, with acceleration, curves reverse speed etc, but and the others 3? Its a top viewed game, you can see all the track with the motos. The motos run through the track. But how can I do the motos (the three others). I know its artificial intelligence. But how? Thanks ...more >>

saving status in a game
Posted by blindRKside at 1/24/2005 8:51:44 PM
hello everyone, im creating a game and before i got into the thick of things, i wanted to learn how to put a "save game" option into it. If you want to see a preview of it, then go tohttp://www.geocities.com/blindXdesign/game-thing.swf this game is going to be an adventure type of game,...more >>

help cleaning up repetitive code
Posted by posterboy at 1/24/2005 8:34:50 PM
how can i take a bunch of repetitive code and clean it up into one nice neat code? for instance... this.createEmptyMovieClip ("tps_text", 100); tps_text._x = 36; tps_text._y = 7; this.createEmptyMovieClip ("imaging_text", 200); imaging_text._x = 36; imaging_text._y = 66; thi...more >>

How do I set a breakpoint in an external AS file?
Posted by P. Legba at 1/24/2005 8:33:25 PM
Can't find this one...how do I set a breakpoint in an external .as file? Thanks in advance....more >>



help with pre-loader
Posted by atray at 1/24/2005 8:09:07 PM
I am having some trouble creating my loader for my menu system that my website will use. When I run the loader flash crashes every time. Also when I run the debugger it appears to work fine, but it still runs through all of the frames in my loader before going to the menu. It should just go...more >>

Need help printing from a button
Posted by azmaddy at 1/24/2005 8:06:31 PM
I am new to AS, have been playing with flash for a short time and find myself in need of information. I am trying to make a button print. The set up is this... I have a button with an instance name of prplan, I want to have it when clicked print a document named plan.doc. They are on t...more >>

Buttons with action script
Posted by banzetah at 1/24/2005 7:42:23 PM
How do I create a button using actionscript in Flash MX 2004? I tried following my 'Foundation Flash MX' manual but cant seem to get it to work. Maybe the book is too out dated as it was publish just before MX2004 was released. Thank you. Banzetah ...more >>

I'm novice but trying
Posted by ankrumc at 1/24/2005 7:32:19 PM
I've changed the title of the scene to disc, thats not my problem, the problem is that from scene 1, i'd like to skip scene 2 to get to 'disc', but it just goes to scene 2, regardless. on (release) { gotoAndPlay("disc", "1"); } Have fun getting angry and then laughing at how easy th...more >>

SWF not playing properly in Explorer on Windows XP
Posted by baldev26 at 1/24/2005 6:40:30 PM
Hey Guys, I have a Flash SWF that works perfectly in most browsers, except in the Windows XP/Internet Explorer environment. The movie loads fine. However, I have actionscript that queries the database using getVars() every 10 seconds. This part of the actionscript does not trigger. It'...more >>

assign a linkage ID to a movieclip on the stage
Posted by MajiDfn at 1/24/2005 6:28:40 PM
I want to load a dynamically drawn movieclip in another movieclip , is it possible to asign a linkage ID to the dynamic movieclip and attach it to the second one ?!...more >>

Take an snapshot of a MC
Posted by MajiDfn at 1/24/2005 6:24:46 PM
Hi all . I createemptymovieclip() anf do alot of dynamic drawings on it ! how can I take a snap shot of this movieclip ?! and load it to another one movieclip ! because I want to print contents of this MC with some headers that they are in another MC ! any idea would be pleased regards ...more >>

input text question?
Posted by pandey at 1/24/2005 6:02:32 PM
Hi Guys, Just to check with you, how can i add a "-" dash in the input from the second number onward, what i mean is i have text box and when the user enter the first number lets say 2 this is ok from the second number i want "-" should be added automatically 2-3 like this -4 -6 -7 ...more >>

Logic Controlling Layer Display
Posted by Jim Wiley at 1/24/2005 5:45:35 PM
Hi Everyone, I am back to programming Flash MX 2004 Pro. I am creating a template for a multi-language SWF. I will be passing a language variable to the movie. I want to display only the layers that have the selected language. I am setting this up for our non programming illustrator and writer...more >>

random loop
Posted by deanUK at 1/24/2005 5:22:13 PM
hi, this is my 1st post on the forum. im working on a project, but ive got stuck. i know a little about action script, but not enough 2 acheive what i want. ive got about 20 video clips, ive put them in the time line. i want each clip to play in turn. each clip can play a random amount of ...more >>

GOTO problem
Posted by ramon82 at 1/24/2005 5:06:25 PM
I am working on a graphic symbol. Inside this symbol I have a button which I want it to link a frame with the goto statement. However when I set the goto command it jumps to the frame in the main scene and not inside the symbol itself. I am using labels instead of frame numbers. Any idea how...more >>

Change Colour
Posted by seaside693 at 1/24/2005 4:53:02 PM
I'm using Flash 5. I want to create an online wordsearch puzzle with the following behaviours: 1. When you roll over the first letter of one of the search words, the text should change from white to green (00ff00), and return to white with roll out. 2. When you click on each of the letters...more >>

HELP Please :(
Posted by einat235 at 1/24/2005 4:51:26 PM
I need Help Please. It is extremely important. I am trying to create a button in flash that will open a program named ZANGO (zango.com) it is an IM Program. I do not know action script to well, can someone tell me if I can lunch the program from flash and how? Thank you so much Einat...more >>

Load External Text File in Movieclip
Posted by wuhswebmaster at 1/24/2005 4:31:50 PM
I am creating a website that is entirely in flash mx. So I have the main flash movie that is called index.swf. There is then a blank movie clip in that changes and loads a second movie clip into itself when a button/link is clicked. Inside that second movie clip, I have a third movie clip t...more >>

embedded fonts???
Posted by JF213 at 1/24/2005 4:14:51 PM
do you need to embed your fonts for swf or projector files? I am currently using a pixelated font for my main nav, but when I view my site on different machines it is replaced with the system font. Do I need to embed my font, if so how? Here is a link to my page: http://www.jfiore.com/GM...more >>

Simple loadmovie question
Posted by bexlhoward1 at 1/24/2005 4:12:44 PM
Hi, all I want to do is load a movie on a button press and go to frame 2 (or a frame label). I have tried: btnshoulders.onPress = function() { _level0.loadMovie('content/targets.swf', 2); }; But it is not working. What am I doing wrong? Bex. ...more >>

sending email
Posted by Cristiano Venturella at 1/24/2005 4:11:32 PM
I am trying to send email using getURL, but always opens a Explorer window before open the Outlook. Why? thanks ...more >>

Really Hoping for an answer on this ... still
Posted by CoFuZeD at 1/24/2005 4:06:19 PM
I am trying to make a player that, after completing a flv... goes on to play another... I have tried using media.complete, and it does not work. I've seen this problem appear in other posts, with NO answers. Can anybody help? As an alternative, I created a movie clip that detects when the p...more >>

Data grid
Posted by madhava_ram at 1/24/2005 3:57:50 PM
Hi, when I press in a cell of datagrid I want to know what that cell is having. For example when I populate this. In a datagrid it gets populate as PetAniamls(cat,dog), wildanimals(lion,tiger). In a cellPress function if i click on the cell which is having cat it shld trace the value as ca...more >>

createEmptyMovieClip,lineTo problem
Posted by rswiiiix at 1/24/2005 3:56:37 PM
hello, i am trying this basic script which i COPIED directly from a book... i have checked and rechecked to make sure there are no differences, but when i test the movie, there is no line.... does anyone have any advice as to why its not working for me? thanks... createEmptyMovieClip("cl...more >>

targeting scene and frame from a movieclip
Posted by hugh_jorgan at 1/24/2005 3:20:14 PM
i'm working on a portfolio that has 4 sections within it. from anywhere in the porfolio, you need to be able to go from scene to scene. i'm using a movieclip to navigate between the scenes but i can't find the script that will allow me to "gotoandPlay("scenename", 55); --> 55 is the frame with...more >>

movieclipplaying during preloading. Big problem!
Posted by vinnio at 1/24/2005 3:20:07 PM
I want to loop a movieclip when the preloader is at 20% but it doesn't work... The movieclip is standing still on the first frame. And i have a play() on that frame.. Can some one help me?! Thanks a lot ! var started = false; var total = _root.getBytesTotal(); var loaded = _root.getB...more >>

Load variables from .txt file
Posted by Sjonniebravo at 1/24/2005 2:55:39 PM
Hello, I'm trying to load my image.txt file into flash. The .txt defines my images. This is what I've got so far. image1=Dia1.jpg&image2=Dia.2.jpg I'm calling data by putting this on the empty movieclip action, movieclip is called location: onClipEvent (enterFrame){ loadVariables...more >>

problems with "if key is down"
Posted by phon at 1/24/2005 2:32:39 PM
Hallo there, I have problems with the script, that should run and stop a small flash movie with the arrow keys. On the computer where I drew and scripted the flash file, the swf runs just like I want. I copied it on CD-Rom and tryed to run it on other computers, but there I get no response fro...more >>

action script help
Posted by shush at 1/24/2005 2:22:08 PM
Hi I have created a web site in Flash but its running really slow, is this to do with me using tweens rather than actionscript? Can someone please suggest or reconmend the best way to learn action script in depth and to make movements on screen rather than using tweening? hope someone can hel...more >>

pass MC name via function()
Posted by bossche at 1/24/2005 2:14:23 PM
I want to create a function where I can use the name of the button on which I called that function, Anyone knows how to pass the name of that MC to the function so I can use this name to do further actions with it? Thx Tom ...more >>

Movieclip playing during preloader ?!
Posted by vinnio at 1/24/2005 1:51:42 PM
I want to play a movieclip when the preloader is at 10% but the movieclip must keep looping. Now he won't loop. Can same one tell me how to do it ? Thanks! var total = _root.getBytesTotal(); var loaded = _root.getBytesLoaded(); var procent = (100/total)*loaded; balk._xscale = procent...more >>

Media Controller .position?
Posted by magic_dot at 1/24/2005 1:23:14 PM
How do I get the position (elapsed time) of an MP3 being played in Media Display with Media Controller? Regards, magic_dot...more >>

Flash MX/ZooMX Tutorial/map.php problem...
Posted by Lally1011 NO[at]SPAM gmail.com at 1/24/2005 12:59:14 PM
All, I'm going through the textbook called "Macromedia MX: Training from the Source" by Chrissy Rey. There is a bug in thier code or www.flashtfs.com/data/map.php that I cannot find an errata sheet on anywhere at macromedia, forums, etc. I can't even find an e-mail address for Ms. Rey. Les...more >>

runing flash from CD - "mark of the web" sp2 problems
Posted by ScienceView CC at 1/24/2005 12:57:55 PM
We are implementing a CD based HTML / Flash project and I've run into a problem with IE and XP Service Pack 2. In order to Not have IE warn the user with a dialog everytime they open an html with active content (like Flash) from a CD or the Hard Disk, we are instructed to insert a "mark of the...more >>

setting "focus" to input text
Posted by Jon Moyles at 1/24/2005 12:08:01 PM
hi i want my users to be able to type into an input text feild when they get to a certain screen, without first clicking on the text box. this doesnt seem to work: Selection.setFocus(inputTextBox); can anybody tell me what would? ps that code is not on the main timeline, is "selection...more >>

Strange behavior--movie speeding forward
Posted by CougarTheCat at 1/24/2005 11:55:42 AM
Hi, I have created a rather involved online test. At various times in the movie, it downloads sound, images etc in background. I am on a PC using IE 6.0. This movie has always played correctly on my machine, even over the internet, except for 2 times when it started speeding forward in the...more >>

Load variables
Posted by Sjonniebravo at 1/24/2005 11:43:31 AM
Hello, I'm trying to do the next: Loading variable image into movieclip. Variable defined in .txt file. image1=image1.jpg Flash Actionscript: var image="image1" location.loadMovie(image); loacation is my empty movieclip. When I test it I get an "error opening URL" Can...more >>

Im Tired Now There Must Be A Solution
Posted by Rai_Kane33 at 1/24/2005 10:42:33 AM
I must have searched and searched now for an answer to my query. I have an excel document which contains stock information i.e one column titled STOCKNO, one titled DISCRIPTION and one titled SOMETHING ELSE each line has spacific information with it, which I then export as a CSV file, from th...more >>

context menu with icons and submenu
Posted by Marco Sottana at 1/24/2005 9:34:44 AM
where can i find a context menu with icons and submenu? ...more >>

save and load a variable
Posted by g5604 at 1/24/2005 9:04:40 AM
Hi, anyone know how i can save a variable into a flash cookie/shared object then load the variable up when the movie loads. cheers, G ...more >>

gotoAndPlay >actionsript on mac
Posted by needin understandn at 1/24/2005 7:15:26 AM
I have been on this one preloading exercise for 2 days and would like to get past this challenge. I have 3 scenes (Scene 1, Main, and Scene3) In Scene 1 is a preloader movieclip with a stop() action on the frame. The actionscript on the preloader is onClipEvent (enterFrame) { loading ...more >>

MX Slide Show using External Data (PHP)
Posted by ezsbca at 1/24/2005 5:32:31 AM
i'm trying to set up a slide show that using external images, and variables received from a PHP script. these are examples of variables received from php: imageNum=4 Img0=image3.jpg Img1=image1.jpg Img2=image4.jpg Img3=image2.jpg dur=8000 the images would all need to be pre...more >>

Please tell what I did wrong in this ListBox
Posted by octoberasian at 1/24/2005 4:03:31 AM
The file in question is http://www.octoberasian.com/flash/listbox_problem.fla What I want to do: - In the listbox will be a list of file names - When clicking on the selected item, you will go to he specified URL of that video However, it's not working as how I planned it to be. My...more >>

Width of JPG image before loaded
Posted by lara_cameron at 1/24/2005 2:44:16 AM
Hi Everyone, Hmm, does anyone know of a way to retrieve the pixel dimensions of an external jpeg image, before it's been loaded into Flash? I'm using loadMovie to load the image into Flash, but the image itself is chosen using a Content Management System so I don't want to hardcode any dime...more >>

Load Movie Delay
Posted by StargrrlGrafx at 1/24/2005 1:45:54 AM
I have a Flash movie, that contains and empty movie clip on its stage. There are a few buttons that when clicked, call a swf movie, into the empty movie clip of the main movie. This is using the loadmovie AS. on(release) { loadMovie('ch3.swf','theClip'); } It works great and has reall...more >>

Class Member Scope
Posted by JoeBazz at 1/24/2005 1:42:24 AM
Hello! I?m developing a v2 component... everything is fine but I really miss a true global class member scope... let me explain it better trough an example: Lets assume I have a my_btn class class com.mine.my_btn extends mx.controls.SimpleButton { (...) //I have these class members below: ...more >>

Scripting question
Posted by Webmaster961 at 1/24/2005 12:12:00 AM
I have a question about how to code this scenario. What I'm trying to do is make a grid, and if the variables in a text document say that it's in square a1, I want it to be somewhere in a1. The grid would be 15x15 My text document: &capship_ent=a1 &capship_pos=c3 &capship_ho...more >>

xscale and alpha problem
Posted by eliptus at 1/24/2005 12:05:52 AM
Hi I am hoping someone can have a quick look at this code and let me know what I am doing wrong as I cant see it. I cant get bar1_mc to respond to my variable for either alpha or xscale??? Basically I am creating a custom preload sequence and my AS knowledge is pretty basic so could be a sil...more >>


DevelopmentNow Blog