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 2004 > threads for monday october 18

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

Getting Variable value
Posted by yevri at 10/18/2004 11:20:22 PM
Hi, I can't seem to find how to get the value of a variable within a script. I think that is what I need to do. Here is what I am trying to do. I want a button to send users to a certian frame depending upon the value of a variable. I actually want the number to be a range 1-4, 5-8, 9-12, ...more >>

Main Time Line to controll a Movie Clip
Posted by noahrusnock at 10/18/2004 10:47:45 PM
I want to know how to get the Main Time Line to controll a movie clip. In Flash MX I could do it using the following code in the main time line: _root.greenBall.Play() where greenBall was the name of the movie clip instance. But in Flash MX 2004, this code doesn't work any more. An...more >>

String comparisons in data set
Posted by Steph_Côté at 10/18/2004 10:47:22 PM
I am loading an xml document in a Dataset, and I want to perform a search on one of the properties of the records therein. This property is a string that describes the record, and I want to be able to locate all records that contain a specific string within their string, much like I could d...more >>

How to display text into 2 column
Posted by amvian at 10/18/2004 9:46:00 PM
I read data from XML file and I would like to display data into 2 columns and I would like to have a scrollbar accordring to data. Does anyone have idea how to do it. Thanks ...more >>

Preload Movie clips using one loader
Posted by paulsullivan at 10/18/2004 9:35:30 PM
HI, i'm a newby, I just cant work out how to do something in flash. How can i load an external movieclip and use a loader that is in the main movie? so i can use the same loader for all movie clips? it needs to show % and a status bar. I can do this making a loader in each clip but how...more >>

list box, selected item
Posted by bso_71 at 10/18/2004 9:22:06 PM
How can I automatically select the first item of my list box? Can I trace the list element number? Thanks a lot! Brenda S....more >>

cannot play flash movie
Posted by amvian at 10/18/2004 9:13:25 PM
When I play movie in flash mx 2004 by Test Movie, my movie show. My movie only have scrollbar and Textbox nothing else. I read from XML file and display in the dynamic Textbox. But when I try to open Flash Movie from directory, it didn't show anything. Anyeone have any idea why? Please h...more >>

Open a PDF?
Posted by Radner at 10/18/2004 9:04:17 PM
Hi, I'm making a buisness card cd for someone. I have the persons pdf on the mini cd but i was wondering for her flash intro which is on the cd, how can i make it so when someone pushes the "view resume" button, the pdf opens in internet explorer or acrobat? Thanks! ...more >>



Clip Instance as Variable in For Loop
Posted by Sleever at 10/18/2004 8:41:33 PM
How can you refer to the Movie Clip Instance "MyClip1" in a for loop replacing the "1" with the value of i (the counter)? So far I have this: for(i=0; i<10; i++){ if (_global.endarray == "b"){ with(MyClip(i)){gotoandplay(1)}; }; The idea is that I want to loop through and play a num...more >>

adding an 'add attachment' feature to a flash form
Posted by OOPete at 10/18/2004 7:55:16 PM
Hi, I'm puzzling over how to approach incorporating an 'add attachment' feature to a flash form. I've never seen it done before and I'm not even sure if it is possible... that is, to upload a file from the user using actionscript? I suspect it requires some other scripting language or te...more >>

instance of a class
Posted by scisnero at 10/18/2004 7:43:20 PM
my problem is that i don?t know how to eliminate an intance. I need to free a level where is my instance, and y don?t know how to kill that instance. I can do an unloadmovie, and it disapears, but i can create other instances on this level. I asume that my instance is still there, and that the...more >>

what's wrong with this script??
Posted by kimber01 at 10/18/2004 7:42:43 PM
if (currentPage == ?about?) { gotoAndPlay(?myLabel?); } I get these errors **Error** Scene=Scene 1, layer=Layer 2, frame=1:Line 1: Operator '==' must be followed by an operand if (currentPage == ?press?) { **Error** Scene=Scene 1, layer=Layer 2, frame=1:...more >>

Links in Mac OS X Projector Files
Posted by slinky38 at 10/18/2004 7:16:52 PM
Hello All: I cannot get my links to work in my published mac os x projector files. I'm taking a .fla file with a button that has a handler. Here's the code: on (release) { getURL("http://www.foo.com", "_self"); } So, I then publish my .fla as a projector (mac) and click on the...more >>

Shared Objects controlling Scenes
Posted by burzhwaze at 10/18/2004 6:27:31 PM
Can you set a shared object with out an "on" action? Can a shared object skip a scene in a movie if its value is not null or undefined? I have read through several tutorials and try different scripts but with no luck. Thanks For any help. ...more >>

CSSStyleDeclaration and DataGrid headerStyle prop
Posted by CamAtCoprindm at 10/18/2004 5:42:49 PM
The documentation on the DataGrid styling is woefully inadequate... and the documentation about the CSSStyleDeclaration object is, as far as I can tell, non-existent. Can anyone out there give me an example of how to set the HeaderStyle to, say, underline the column headers, but not the no...more >>

smooth movement with AS
Posted by emir_85 at 10/18/2004 5:31:10 PM
Hello evreybody I've tried to create smooth and soft movment with actionscript (I mean create motion with actionscript that can b flixeble and have got soft motion),I used this code for soft and smooth moving from one point to another : CODE function textMove(){ yChange = Math.round(...more >>

loadVars undefined...on some machines?
Posted by flashnb1 at 10/18/2004 5:23:25 PM
I have posted this info in other forums...and have had no luck with solutions. I am about ready to self implode! I have only posted the basic code that I have been using for testing the variable loads. Here's the deal: ASP file on server provides these two variables (I have since tried u...more >>

MovieClipLoader & loadProgress
Posted by vectorman69 at 10/18/2004 4:39:52 PM
Hi! I'm trying to make a progress bar, and to do so, I'm using the movieClipLoader and the loadProgress event. When I perform test movie from the flash menu, it seems that never goes through the loadProgress event, the swf that I'm loading is in my hard disk, but I'm trying to do this wit...more >>

Detecting end of FLV
Posted by Leo D. at 10/18/2004 4:24:25 PM
stop(); I have the following code to detect the end of an FLV and direct the movie to a nother scene. Works great and consistent on smaller FLV's but on some very large (15-20 minute, 60-100Meg) FLV's, the code doesn't work. Anyone seen this? var endListener:Object = new Object()...more >>

Load external movie at a specific Frame #
Posted by pxe at 10/18/2004 4:23:20 PM
I'm using Flash MX, and I'm creating a large movie with audio. I've imported several AVI movies into the Flash document and converted them to movie clip symbols. Upon exporting and/or testing the movie, I received the error message: "ERROR CREATING FLASH MOVIE. THERE WAS NOT ENOUGH MEMORY ...more >>

action script structure / outline
Posted by toddde at 10/18/2004 3:52:30 PM
I have no formal training in computer programming, but I have picked up what little action scripting skills I have from this forum and a few reference sources (i.e. Moock's excellent book). It seems like all of my action scripting (although it ultimately works) ends up looking pretty ran...more >>

Please help - Skip A Scene
Posted by burzhwaze at 10/18/2004 3:45:13 PM
Should this script take the user to the Scene "S3" if a user has the swf file cached on their computer or has viewd the file before? if (getBytesLoaded() != getBytesTotal()) { gotoAndStop("S3", 1"); } I am trying to skip a scene once a viewer has watched the intro. I appreciate a...more >>

URL encodig problem
Posted by Nixy at 10/18/2004 3:44:23 PM
I have a problem. If iI go to that page http://www.macromedia.com/support/flash/ts/documents/url_encoding.htm they said that "?" is supposed to be %E9. But in my Flash document it display []. If I try to do trace(escape("?")) directly in flash, it output %C3%A9. Why it's supposed to be %E9. ...more >>

Passing Array from Javascript to Actionscript
Posted by laxinnos at 10/18/2004 1:34:22 PM
Hi, This is my requirement. My javascript Function has to return an array . This array has to be assigned to the Action Script Array which resides inside an function. The code should be some thing like <script language = javascript > function sendColors(colorArray) { ret...more >>

Changing Color of a Movie Clip Loaded externally
Posted by laxinnos at 10/18/2004 12:24:38 PM
Hi, I am working with a Map in which each country is a seperate file ( swf ) . I am loading these countries in to a main file at various levels. Now i want to change the color of the loaded movie through Action Script . I tried the following ; myColor = new Color(_level3.italy); ...more >>

Help on JSFL - I/O operations
Posted by haikarthym at 10/18/2004 11:21:46 AM
Hi there, Is it possible to read/ write/ append data on text files or simply to say to perform I/O operations like folder creation/deletions, file creations/deletions, searching within flash. If so how to do? Is this having any link with JSFL. Any help on this is appreciated. I don't h...more >>

Screen Resolution
Posted by Siebie at 10/18/2004 10:00:43 AM
When making a stand alone Flash presentation that plays fullscreen, is it possible to automatically set the user's screen resolution to 800 x 600 & back to their normal screen resolution when they quit the presentation. Also, if it's possible, is there also a way around rearranging all thei...more >>

xml file not showing in .swf imported into flash
Posted by collegiate at 10/18/2004 6:08:50 AM
I am using the beautiful Gallery Component developed on www.mr10.net. I am using this version http://www.mr10.nl/components/gallery/combobox/ You can find the source files here http://www.mr10.nl/components/gallery/. Make sure to click on the info link and scroll a bit and you will see th...more >>

Scope trouble loadVars...Pls Help
Posted by eliptus at 10/18/2004 5:16:55 AM
I would like to be able to access a variable that is loaded from a txt file from outside the loadVars function (from outside it's ".onLoad" method.) For example if there is a variable declared inside the txt file called "nameOne" which equals "eliptus" and it is loaded using loadVars why can...more >>

Screen Clipping
Posted by pharaohman98 at 10/18/2004 4:56:30 AM
Hello Friends, I have a new angle on an old question I posted long LONG ago. I am attempting to make a scrolling background for my flash game which does not repeat often (it's got unique stuff, not just tree, rock, bridge, tree, rock, bridge...) Anyway, at the moment it's a 1280 x 480 GIF f...more >>

getUrl to set parameters
Posted by nuaction at 10/18/2004 4:04:59 AM
trying to set parameters & open in new browser getURL("link.html", "_blank"); works but how do i set parameters, like javascript: <a href="javascript:;" onclick="MM_openBrWindow('link.htm','titlez','scrollbars=yes,width=303,height=40 1')"><img src=" .gif" name="Image1" width="100" height="1...more >>

onEnterFrame newbie question
Posted by hillcreative at 10/18/2004 2:19:28 AM
I want a movie clip (JPEG) that was just loaded to fade up using Actionscript. I can get the clip to load but it only runs one loop through the onEnterFrame function. I've placed the following script on the _root timeline but it just won't work. I'm using a simple fuction gleaned from the For...more >>

loaded classes?
Posted by lreadl at 10/18/2004 1:35:11 AM
Is there a list of the ActionScript error messages with more detailed explanations of what they mean? I defined some classes in .as files, added them to a project, and checked their syntax with the check syntax button. Then I modified some of the classes and saved them, and tried to check thei...more >>

loading raw txt file data via PHP to an SWF
Posted by thoughtlessegocentric at 10/18/2004 12:24:30 AM
i have a flash swf that executes a server side PHP script, the PHP script loads raw data from a txt file and then needs to send the raw data contained in the txt file to the flash swf. My question is: is there any possibility at all that the raw data in that txt file could become cached? th...more >>


DevelopmentNow Blog