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 > april 2007

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

How to check for equivalence between arrays
Posted by adam NO[at]SPAM blueapplestudio at 4/30/2007 10:39:50 PM
This may be a basic question, but why does my attached example return false? I would think that if two arrays contain te exact same number of elements, and those elements were identical, that the below example would return true. Is this a good example of ?There is something fundamental about...more >>


linking a .fla to a URL...
Posted by r_tist at 4/30/2007 9:10:43 PM
Hi, I'm trying to accurately add a hyperlink in my .fla so it will link to a URL. I'm very rusty with Flash, especially ActionScript 2.0. I've tried the getURL action and that didn't really work, so I used onRelease and that seems better. However, my file isn't working everytime, and it se...more >>

HELP! How do I.....
Posted by feedmeapples at 4/30/2007 8:49:44 PM
I have a website http://www.charlesmarsden-smedley.com/index1.html that I am building. In the projects section, if you navigate to Projects > Museum > Tower of London. You will see 'more information' link. This loads an external Movie clip for the text feild. I would like to make the ...more >>

If/Else - Is there a cleaner code?
Posted by MShetler at 4/30/2007 8:13:11 PM
Hello all, I am currently working on a flash file and I'm an intermediate user. My actionscript abilities are probably close to beginner, but I'm a quick learner (most of what I have learned with actionscript has been self taught). In my flash file I have an animation of a rotating glob...more >>

FLV Play and pause
Posted by Chris McLaughlin at 4/30/2007 6:52:18 PM
I have a FLV playback component on the stage with an instance name of my_FLVplybk. I am trying to pause and play the video using buttons on the parent timeline, "19mc" which is embedded in the main timeline. The pause button (for example) targets the main and embeded timeline. However, w...more >>

Calculating Costs
Posted by rose-o at 4/30/2007 5:37:20 PM
Hello all. I have an excel spread sheet that you can input some different values of some machinery and the operating costs then the spread sheet automatically calculates the annaul costs and a few other things. Total there are 12 different values that need to be input to get these number. ...more >>

Array as parameter
Posted by mike93 at 4/30/2007 4:49:08 PM
Hi Everyone, I was wondering if this is possible and if so how. have an enitre array to be used as parameters in a function. Here is a quick example: var modules = [but1, but2, but3, but4]; function change(** every thing listed in the modules array){ ...more >>

Sizing dynamic movie clips
Posted by Germ77 at 4/30/2007 4:32:51 PM
I have a project I am working on that has a scroll window on the main page and the movie clip displayed in it changes. All of the movie clips that get displayed in the scroll window are all dynamically made through actionscript loading all of the info from PERL scripts usingLoadVars(). Fo...more >>



smooth ._y movement
Posted by Social Psyence at 4/30/2007 4:02:03 PM
Hello all. I have a simple problem, which I'm sure can be resolved quite easily. I have a movie clip that's viewable through a mask, acting as a window for content. There are two buttons which move the movie clip up and down through the window, moving in increments of 5, but the user has to re...more >>

Screed Against on(clipEvent)
Posted by Rothrock at 4/30/2007 3:28:47 PM
I am continually amazed at the number of people who are just now coming to Flash (or have only just started learning a bit of Actionscript) and post questions regarding on(someClipEventOrOther). I'm trying to understand who and/or what is guiding them to using this type of pre-Flash MX (6) sty...more >>

moveable symbol with embedded buttons
Posted by tomnicholson at 4/30/2007 1:19:30 PM
hi i'm creating an activity based CAL (computer aided learning) program, some of the activities will require a calculator, which i have coded. what i want to do is somehow have the activities able to load the calculator, and drag it about, is the best way to do this by making a button...more >>

can read/write Shared Object locally, but never in a browser..
Posted by snarkyFish at 4/30/2007 10:34:43 AM
Ok, I've googled till my fingers bled, and I'm still stumped. Have you all seen anything like this? I've got the following code: ------------------------------------------------------ var so:SharedObject = SharedObject.getLocal("status"); if (! so.data.seenIt){ so.data.seenIt = true; ...more >>

UI Components
Posted by IreDevil at 4/30/2007 3:33:49 AM
I have noticed the UI components in my flash MX 2004 and would like to use the ComboBox for a quiz. I want the user to be able to select the question from 2 combo and upon clicking a button, it will lead the user to that question the user has selected. Eg. Term 1 Exercise 10 (Term is a com...more >>

Automatically closing a Flash Video
Posted by billlamar at 4/30/2007 3:07:25 AM
I am currently working on a project for my Flash class and I have a media section where movies are selected from a menu and the video opens inside the same movie (beside the menu). I wanted to know if there was a way (through ActionScript) to have the movie automatically close when it is over...more >>

Help with syntax
Posted by evrardBlom at 4/30/2007 2:07:28 AM
Hello, I am trying to read some professional codes but i always stumble on some syntaxes that send me back to actionscript school. Here is one case: // Definition of an object 1- var game:Object = new Object(); 2- game.Columns = 10; 3- game.rows = 10; 4- game.spacing = 30; 5- g...more >>

passing still image back to server
Posted by wilfordbrimley at 4/30/2007 12:13:21 AM
I've created a simple drawing app using flash and I'm trying to figure out how i can allow the user to save the picture they've drawn by converting what they've drawn in the flash app window into a gif that i'd post back to server as and handle it like an image upload. Thanks for any help! ...more >>

_totalframes is larger than my number of frames
Posted by Hasenstein at 4/30/2007 12:00:00 AM
I have an MC with exactly 4 frames showing in the timeline. However, _totalframes reports 16 frames! I tried selecting (in the Flash 8 Prof. GUI) those "virtual" non-existing frames and deleting them, by selecting a number of frames after my 4th frame (although they already show up empty)....more >>

Help with a simple task
Posted by pandx at 4/30/2007 12:00:00 AM
Hi, I'm quite new to AS so this is actually quite simple but is something I've yet to figure out. My flash movie comprises of several sections, and all these can be accessed from the main menu. Right now, what I'm doing is to preload all the sections at once before starting the clip. Howev...more >>

How to get text's position in htmlText
Posted by miopnd NO[at]SPAM hotmail.com at 4/30/2007 12:00:00 AM
Dear All: I include some text into htmlText from a xml file and the text has serval paragraph,I want to add one grey rectangle background to every paragraph and need to get coordinate of ever paragraph. who can tell me how to realize it ?I'll appreciate for any reply. Best Regards ...more >>

NetStream problem for FLV HELP!!!
Posted by Cosmo111927 at 4/30/2007 12:00:00 AM
Hi everyone, I'm building a client server appliction using flash: the client app is a projector that connects to a server and loads some sfw files from that server. One of these files is used to play videos... When I test this file locally it works: I run it on my computer and it fetch...more >>

tokenizing a string
Posted by GregConnTelevirtual at 4/30/2007 12:00:00 AM
Hi, I'm taking 2 four digit numbers from a text file and i need to subtract one from the other. I've hit a problem if the number being subtracted from the other begins with a zero then the result is sometimes is really wrong. So i'm kind of thinking that i may need to take the zero off the...more >>

Why some FLV don't fire complete event?
Posted by jfbaro_uk at 4/30/2007 12:00:00 AM
Hi, I created a simple player for videos, it works fine aside from some FLV which don't fire the complete event. I am using Flash 8 and the FLVPlayback component. Any suggestion? Cheers...more >>

Problem with loading sound file
Posted by karthic_v at 4/30/2007 12:00:00 AM
I have created two swf files 'Loader.fla' and 'Sound.fla'. Inside the 'Sound.fla' just i import a sound file to library and named it 'snd'. I added the following script on the first frame var my_sound:Sound = new Sound(); my_sound.attachSound("snd"); my_sound.start(0, 1); the scri...more >>

printing in more than 1 page a dynamic field.
Posted by bso_71 at 4/29/2007 11:23:10 PM
I want to print a dynamic text field when my user clicks a button. This dynamic text field is more than 1 page long so I don't want it to be scaled. I want it to be printed in more than 1 page. How can I do this!!!!! Please if anyone can help me. Thanks, brenda s. ...more >>

ho to get file name and full path of a local file
Posted by enfantterrible at 4/29/2007 9:42:31 PM
I want to be able to get the file name and it's full path of a local file. I was thinking of using "FileReference" but FileReference doesn't permint accessing the local file path. Can anyone suggest a way of doing this. Thanks ...more >>

adding a variable an instance name
Posted by NickTheNameless at 4/29/2007 9:28:51 PM
i have a variable that is my flash movie is retreiving (well, hopefully....i'm having troubles with the loadVariables)....anyweezer, the variable is named "id". i would like to add the value of this variable to then end of a text string and then use it as reference to an instance name. fo...more >>

library symbol in class
Posted by Taylor G at 4/29/2007 7:55:43 PM
I am attempting to attach a symbol in my library to a movie clip in a class. The code looks like this: __movieClip.attachMovie("symbol", "symbol_mc", __movieClip.getNextHighestDepth, {_x:0, _y:0}); When I test the movie, I get a type mismatch error. I'm sure '__movieClip' is a MovieCli...more >>

Countdown help
Posted by Reece Neumann at 4/29/2007 7:09:40 PM
I am trying to create a flash countdown timer. Flash does not seem to find any errors in my script, but when i compile it and test it, instaid of a coundown display in digits i.e. 00:00:00:00 days hours minutes seconds its just displaying NaN:NaN:NaN:NaN ...more >>

Array access in an object
Posted by evil_muffin_man at 4/29/2007 4:56:45 PM
I've encountered another problem. The following code does not mention that I have a MovieClip in the Library set up with its class as my_class. I drag it onto the stage and name it my_object. When I try to use the my_array property it does not work. The class includes a boolean property ...more >>

set Interval
Posted by fourinchesofego at 4/29/2007 3:49:21 PM
Hello... I have written a small function that simply moves an object to a new position on stage depending on a variable passed to the function. It works just fine, but instantly rather than in intervals -- mimicking a tween. I was wondering how I would integrate a delay into this function ...more >>

Webservices with Flash CS3 / AS3
Posted by marcusw1234 at 4/29/2007 2:00:36 PM
Hi, I'm migrating an app from AS2 to AS3, which has fairly substantial use of webservices using the as2 Webservice classes. Is there an AS3 equivalent for these classes? I read on one forum that there is nothing provided for webservices in AS3, and you'd have to serialize/deserialize t...more >>

How to have both rollOver and dragOver trigger a function?
Posted by realworks at 4/29/2007 1:53:35 PM
Hello I have this AS: this.thumbHolder.onRollOver = function() { this._alpha = 100; this.play(); }; The thing I can't work out is how do I add onDragOver as well as onRollOver? Thanks for your time! ...more >>

1046 from other swf
Posted by orlleite at 4/29/2007 4:03:34 AM
1046: Type was not found or was not a compile-time constant: RectangleParticle. This is a error that I get. I know why, but I don't know how to fix like I want. I create a swf that have a class. This class have a metod like this: public function createSomeThing() { return new someTh...more >>

setting a variable from inside a function
Posted by stuntounges at 4/29/2007 3:19:51 AM
I have a variable that i need to set from a function. The variable is located in the root of a movie clip. So I use: function myfunctinon() { _root.myvar = "myvalue"; } Works great. The problem is that this movie can be loaded into other movies... so I don't know what the absol...more >>

NetStream play issues
Posted by supdun at 4/29/2007 2:07:23 AM
video doesnt play if NetConnection and NetStream is instantiated inside function. But when I place them outside the function the video plays fine. Im stumped, anyone know whats going one? // DOES NOT WORK function playVideo(){ trace(typeof _defaultVid); var nc:NetConnection = new N...more >>

Useing a Variable Targets
Posted by nek22 at 4/29/2007 12:43:22 AM
1. On the stange I have a movie clip called mc1. 2. Inside mc1, is another movie clip names mc2. [b]3. I want to use a variable to target mc2.[/b] To test things, I made these 2 variables: var vpath = "mc1"; var vpath2 = "mc1.mc2"; This works fine without using variables: this.mc1...more >>

MC control outside of MCs
Posted by nonybd at 4/29/2007 12:10:16 AM
Hi. I have a button called 'my_btn' inside of a movie clip(mc) called 'my_mc'. I have another mc outside of my_mc, called other_mc. I want the button to make other_mc to play when pressed, but don't know how to do that. I tried on (release) { other_mc.play(); } but that doesn't work. W...more >>

ActionScript Retardation
Posted by zero_day at 4/29/2007 12:00:00 AM
So, I'm trying to get into Flash development. I'm running into what seems like a very simple problem - so simple no resources I can find mention what I'm experiencing as a problem. I've got a total of 6 .swf files - a master.swf, a splash.swf, and four content swfs - bulletin, audio, evid...more >>

External site loaded into Flash?
Posted by Kaneon at 4/29/2007 12:00:00 AM
Hi :D, I want to load parts of an external site into Flash. I already have experience loading XML files but wondered if it is possible with an HTML aspx site such as: http://easytide.ukho.gov.uk/EasyTide/EasyTide/ShowPrediction.aspx?PortID=3486&Pr edictionLength=7 Loading XML int...more >>

Flash Image Gallery Thumbnails
Posted by Flash Cus at 4/28/2007 9:14:52 PM
Ok... So i built myself an image gallery where you could click a next button and the next image would be displayed. VERY simple. Now i have decided to make thumbnails. I have an xml file, and i want to automatically load each thumbnail onto the stage where i want it. If possible i want the...more >>

interactive preloader
Posted by dbthumb at 4/28/2007 5:54:43 PM
I would like to have the user's curser try to "catch" an object during a site being loaded as a preloader. The user would be unable to "Catch" the object until the site was loaded. First, is this possible in Flash and Second, if it is possible, would the preloader file be so large that it defe...more >>

Action Script 2 or 3
Posted by nu guy at 4/28/2007 4:19:15 PM
That about says it all. I'm finding a lot more tutorials and examples of Action Script 2 on the web, but it looks like Action Script 3 is more powerful. It's a shame that a lot of the language in 2 doesn't work in 3. So I'm asking a little helpful advice here, which way would you go? I'm ...more >>

How does " bringToFront()" work?
Posted by einnep at 4/28/2007 1:34:02 PM
I have a movie clip in a game I am making, that replaces the mouse. I need it to be infront of everything else on the stage, and some things are attached from the library (so I can't controll their depth with layers anymore). I thought I had worked it out when I found the bringToFront(); fun...more >>

math calculations with text input fields
Posted by mik7009 at 4/28/2007 3:45:01 AM
I am trying to convert an excel spreadsheet into a workable flash .swf. I took all the cells from the spreadsheet, and used input text fields in flash to try and duplicate what the spreadsheet does. I want this flash program to allow users to input numbers into several input text fields and...more >>

Thinking outside the box
Posted by Optikalefx at 4/28/2007 3:26:12 AM
for what im building, users can vote once each week. So their voting status changes each week. Not only that the table in a database that data is drawn from will change per week. I have a big if else statement for intervals for 10 weeks. (i.e 7 to 14 is week 1, 14 to 21 is week 2 ect. BUT...more >>

angles with actionscript
Posted by tomnicholson at 4/28/2007 12:00:00 AM
Hi i wonder if someone can help i'm sorry, i'm pretty new to flash, but someone wants me to make a program where there is a horizontal line and a vertical line. the user should be able to "grab" the top of the vertical line, and move it around, the bottom of the line should be snappe...more >>

Camera projection
Posted by NogginAnimations at 4/28/2007 12:00:00 AM
I'm not really sure how to explain it. In some flash cartoons I have seen in the past, there is a box that moves about on the screen that can change size, rotation etc, which is the camera Basically, you can zoom in on a character or something like that without having to resize the whole sce...more >>

Tricky Swapping MCs
Posted by yevri at 4/27/2007 10:02:09 PM
Hi, I have a menu that has: 5 icons: A, B, C, D, E 5 positions: 1 (x=18, y=554), 2 (x=48, y=569), 3 (x=80, y=569), 4 (x=114, y=554), 5 (x=160, y=566) After they are click the initial time, they go into a little nav bar. In there, when an icon is clicked, I want it to go to position...more >>

How to build a custom Flash CS3 component
Posted by bvl at 4/27/2007 9:59:16 PM
I just googled in the hope to find some resources about how to build custom Flash CS3 components, but nothing turned up. I also couldn't find any info on Adobe's Flash developers center. Do you know of any resource that sheds some light on this subject? If not then I'll have to try to f...more >>

How to retrieve the selected text from textField in Flash MX using actionscript
Posted by dotnetuser at 4/27/2007 9:18:47 PM
I need to be able to get the text selected by user after clicking a dynamic scrolling textfield. I am very disappointed to find no method that returns the selected text when there is a property of textField to make it selectable. I am using Flash MX. Let me know if this is possible in ne...more >>


DevelopmentNow Blog