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 > october 2007 > threads for wednesday october 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 31

MOUSE_WHEEL event ?
Posted by cayennecode at 10/3/2007 11:32:54 PM
I used to remember it didn't work in Flash 8 on macs, is this still true?...more >>


Function not calling php script at all?
Posted by allandt at 10/3/2007 11:04:21 PM
:confused; Hi my script has been set up with an asfunction function call from within a textarea to a function that sends a small xml file to a server side script (basketRemove.php) the code is attached i'm using charles to check what is happening between the server and flash and...more >>

Array.CASEINSENSITIVE with compareFunction?
Posted by cayennecode at 10/3/2007 10:48:51 PM
The following does not return a case insensitive result. Any ideas how to do so? var arr:Array = new Array( {search:'lowerCase'}, {search:'CheeseBurger'}, {search:'Socrates'}, {search:'AlphaMale'}, {search:'Zelda'}, {search:'zelda'} ); function ascend(a:Object, b:Object):int {...more >>

change string to variable (sort of)
Posted by trigger2160 at 10/3/2007 10:43:58 PM
Hi. I am making a game in flash which requires lots of similar functions, such as function getSomeNumber():Number{ return number; } I was wondering if i could generalize this by doing the following. take a parameter of string defining the name of the variable. i then want to ...more >>

including external as files
Posted by ToonMariner at 10/3/2007 10:30:20 PM
Hi, I have pretty much near the end of my first flash project - quite happy with my media player. Only issue I have is with the following if statement which is bothering me. if ( file.substr(file.length - 3,3) == 'mp3' ) { #include "video.as" } else { #include "v...more >>

adding a delay timer in a frame - need help
Posted by ralphC2007 at 10/3/2007 9:57:55 PM
in flash cs3 using actinscript 3.0 i have a frame that i loaded text into, i want to freeze that frame so the text stays in the window for lets say 10 seconds, then it exits and loops again...is there a snippet of code like sleep(1000); that will allow me to do that? ...more >>

Opening an external .swf file and making it go to a certain frame??
Posted by Rine at 10/3/2007 8:58:00 PM
Hi all. This is probably really simple I just can't think of the code right this second. I have a button and when I click it I want it to load a .swf at level 0 and I want it to go to frame 5 in the .swf that is being opened. I know the code on (release) { loadMovieNum("home_scree...more >>

Apply font styles to text field
Posted by Chrisatlemon at 10/3/2007 8:35:52 PM
Hi all, I have nothing but themost basic noob knowledge of Flash and actionscript, so I would really appreciate some help! I created a Flash with a text field that pareses and RSS feed. Just copied the AS from here: http://www.yourminis.com/developers/...s/as3/rss.aspx Fair enoug...more >>



Skipping Frames
Posted by shurleynova at 10/3/2007 8:34:35 PM
I have tried and tried and somethings work half of the way and others not at all. I have a series of images that shows progress along a 12 month timeline. When a play button is pressed the movie plays and the images display in succession at the framerate hard coded to the swf. I know yo...more >>

Preloading 2nd movie while 1st plays
Posted by ={0_0)=Musashi at 10/3/2007 8:01:41 PM
I have two movies, "Animation01.swf" (30K) and "animation02.swf" (2MB). Additionally, I have a preloader movie, "preloader.swf". What I am trying to do is from the preloader.swf is to load the first move (Animation01) and as soon as it finishes loading, to play it. While Animation01 is pl...more >>

Moving Back and Forth
Posted by Ann22 at 10/3/2007 7:22:52 PM
I have a button on my main page wth the following: on (rollOver) { gotoAndStop("GlowButtonOne"); } The GlowButtonOne movie plays. If I click the button in the movie: on (release) {loadMovieNum("AboutUs.swf", 2); } it loads another page and the movie clip event for mouse ...more >>

Change Text on Library Button
Posted by CharlesTCR at 10/3/2007 6:48:39 PM
I imported a button into my project's library and can add as many as I want using Actionscript, but I cannot figure out how to change the text that appears on it. E.G. var myButton:ButtonGreen = new ButtonGreen(); myButton.name="digFactBtn"; myButton.label="Facts"; myButton.textFie...more >>

Passing Variables between swf files
Posted by cloud369 at 10/3/2007 5:45:22 PM
(using actionscript 2.0) I have two .swf files the 1st swf has a global variable that is an integer. I want the 2nd swf file to be able to display that variable. the 2nd swf file will have a button that loads the 1st swf file on level 1. is there a way to pass a variable from the 1st swf file ...more >>

Loadvariablesnum not working on movie clip
Posted by guttyguppygmail at 10/3/2007 5:39:11 PM
I have a movie clip called "popup" on my root timeline. In the popup movie clip, there is a dynamic text box with the variable set as "content". I have an external txt file called "file.txt". On my popup timeline, I have this code: loadVariablesNum ("file.txt",0); I have both my fla file...more >>

Re: Shorten a string before placing in a dynamic text field
Posted by PKENGLISH at 10/3/2007 4:12:12 PM
Thanks, works perfect!...more >>

Please help; next btn and onSoundComplete()
Posted by Boxing Boom at 10/3/2007 3:36:21 PM
Hi, Can someone help me form tearing out any more hair? The following code should work but it is not, it should play the next song: this.sound_obj.onSoundComplete = function(){ (song_nr==songfile.length-1)?_global.song_nr=0 : _global.song_nr++; _root.sound_mc.songStarter(songfile[song_...more >>

Cross-domain ip check
Posted by usenet NO[at]SPAM impulzief.nl at 10/3/2007 1:44:37 PM
Dear all, I cannot seem to get to a solution. It is not very difficult I guess, but I just don't get it. I will try to explain it in an easy way: 1. I have an html file at http://www.server1.com/test.html 2. In the html it calls for the swf on http://www.server2.com/test.swf Now wha...more >>

duplicating movie clips
Posted by DarthTurtle at 10/3/2007 6:06:14 AM
I was wondering how do you duplicate movieclips in a certain location in flash can anyone help me with the coding and it would be nice if you could explain it to me! :D...more >>

Display random image from XML file with associated link
Posted by Rectallinear at 10/3/2007 5:46:52 AM
Here's the XML file I'm starting with: <?xml version="1.0"?> <images> <pic> <image>image1.jpg</image> <link>http://www.nbc.com</link> </pic> <pic> <image>image2.jpg</image> <link>http://www.abc.com</link> </pic> <pic> <image>image3.jpg</image> <link>http://www.cbs.com...more >>

Actionscript Problems.... HELP
Posted by Alifeoffiction at 10/3/2007 4:46:00 AM
Ok so heres the thing. I am kind of new to actionscript 3.0 and I am trying to figure out what I am doing wrong with my coding. I have used this code time and time again and up until I got CS3 it worked just fine. If there is anyone that can take a look at this code and tell me what I am mi...more >>

update to AS3
Posted by InSiDiOuS HeRmIt at 10/3/2007 3:43:11 AM
I have Flash Professional 8 and it came with AS2. Is there a way to update to AS3?...more >>

Help with simple if / and _visible
Posted by hipjimmer at 10/3/2007 2:12:29 AM
I've got a number of layers in my fla. One of them has a watermark (its a mc) on it that shows if the account is not active. I have moved the code to the MC as a last resort as I for the life of me can't understand why I can't make this MC vanish when the value a "is_active" field is true. The...more >>

Some help for a simple condition statement...
Posted by J.C.E.S. at 10/3/2007 2:05:21 AM
Hello! I wanted some help this condition statement... There are 2 tweens called "mc_sun" and "mc_welcome" I want to run when someone clicks on a button called "btn_home", but I don't know exactly how to write the code because I've already tried these 2 modes and noone work at all! THANK...more >>

Reading FlashVars Advice Needed
Posted by SpectacularStuff at 10/3/2007 12:38:21 AM
I can read flash vars with the following line: var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters; However if you read the code below someone brought up to my attention that I don't have the array correct because an array expects an integer and not an object. Is there anoth...more >>

swapDepths
Posted by klaynej at 10/3/2007 12:00:00 AM
I am trying to swapDepths of a movie clip on an onMouseDown function and it works fine, but when I go back to the beginning of the file to replay everything the movieclip appears before the onMouseDown function AND it when I do click the movieclip shows up twice. Is there a way to reset t...more >>

preload movie........
Posted by Lucy4 at 10/3/2007 12:00:00 AM
Is it possible to load one swf file in the background while the other one is playing? And if so will it continue to load if somebody clicks to skip the intro?...more >>

Upgraded to CS3 - Script not woriking now
Posted by Michael Rabone at 10/3/2007 12:00:00 AM
Hello. Small ActionScript issue here. I've got a flash animation embeded in a html file. If at any point you want to skip the animation and proceed to the next page in the html course you can by clicking a button. This button contains the following ActionScript: on (release) { getURL("...more >>

AS2 debugger insta-crash in CS3/Mac
Posted by mmcaulay at 10/3/2007 12:00:00 AM
I'm running Flash CS3 on an intel mac (macbook pro). When debugging an AS2 project, if I press opt-F7 to step over a line of code the flash IDE immediately crashes. I can click the debugger icon to step over so it's something about the keypress in particular. Anyone else seen this? Any s...more >>

High CPU usage
Posted by BugzHunter at 10/3/2007 12:00:00 AM
Situation: there are a lot of movieclips (about 1000), attached to stage using attachMovie. no movie has mouse event functions (such as onRollOver, etc), movies are only square shapes without any code. when mouse doesn't move - all is ok, but when it begin to move over those movies, CPU usag...more >>


DevelopmentNow Blog