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 > march 2004 > threads for tuesday march 9

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

dynamic #include - external action script?
Posted by herfmarc at 3/9/2004 11:23:01 PM
.... i need to dynamically call action script which is held in an external (.as or whatever action-script-recognising formatted) file. #include does only work while testing - i wonder if there is any dynamic solution? (... i does not help to evaluate chunks/parts of action script or variabl...more >>


XML import data limit?
Posted by thickbrain at 3/9/2004 10:49:53 PM
Is there a data limitation with reading XML data from a text file? Either in the number of nodes or number of total characters or file size? I want to avoid a problem similar to one I had with Flash 5 and text string where you could not convert a coma delimited string into an array if the ...more >>

Movie Clip and multiple action scripts
Posted by ID. Awe at 3/9/2004 10:35:38 PM
I have created a movie clip and assoicated an actionscript with it that creates the MC many times and in a random fashion, this works as expected. When I create another movie clip that is similar to the first (named differently) and associate a similar actionscript with it (modified to rela...more >>

move playhead in movie on another level
Posted by tragic108 at 3/9/2004 10:22:57 PM
Hi all, I'm not a brain surgeon, but having trouble getting the following to happen: I have loaded multiple movies inside a container movie (level0) Movies on levels 2 & 3 Trying to get a button on level 3 movie to trigger a change in level 2 movie from current position to gotoandplay fr...more >>

PrintJob bug
Posted by davidclark73 at 3/9/2004 10:20:14 PM
Hi, I have asked this question numerous times before in different forums but no-one seems to want to respond. HELLO MACROMEDIA?? How exactly does on go about getting support any of your products? Anyway: The PrintJob stuff does not work in some of the flash files that i have. They are ...more >>

get local file from CD
Posted by Rosa-lee at 3/9/2004 8:52:38 PM
I need to be able to load a file, which is an .exe, when someone clicks on the button. The .exe file is also on the CD with the flash movie. I have tried getURL, which doesn what I want, brings up the save as box, but it also brings up a browser window, which I don't want. What would the ac...more >>

Get the MovieClip source property
Posted by mrx NO[at]SPAM pt at 3/9/2004 7:21:14 PM
Hi, I?m using buttons to load images into a MovieClip, what i'm trying to do after that, is to download the image that was loaded, by clicking in the MovieClip (the one who received the image): If image loaded is: "img1.jpg" then download: "img1.zip" else image loaded is: "img2.jpg"...more >>

Form element automatically set focus.
Posted by Spinethetic at 3/9/2004 6:40:40 PM
I know this is an easy script as i made a copy of it a long long time ago and accendentally deleted it, and have forgotten the actionscript for it. the name of the input text i want it to automatically set focus is named "firstName". Thank you for your help. ...more >>



Gotoandplay for a button
Posted by Fog Of War at 3/9/2004 5:56:43 PM
Yes I know that there already is a topic like this, but it doesn't answer my question. Alright, I'm making an interactive menu for my movie, which is cool, yeah I know. But, I am putting a code like this: instanceName.onPress gotoAndPlay(1,1); } The interactive menu with the butto...more >>

Movie clips loading- problems with buttons
Posted by Irish Laura at 3/9/2004 5:54:55 PM
I have one main window, when a button is clicked in it movie 1 loads into a movie clip in this window. When a button is clicked in movie 1, movie 2 loads into a movie clip in movie 1. But all the buttons on the levels below are still clickable; how do I prevent this happening? The...more >>

duplicateMC and random placement?
Posted by duppdawg at 3/9/2004 5:44:23 PM
i have duplicated an mc several times. how do i randomly place the mcs within a certain area say within an area such as 200 px by 100 px. attachMovie("friction_mc", "friction_mc", 2, {_x:458, _y:192}); //friction_mc._alpha = 35; for (i=3; i<=12; i++) { friction_mc.duplicateMovieClip (...more >>

Reducing decimal places in returned Variable
Posted by matt_grafix at 3/9/2004 5:41:14 PM
Hi.. Just wondering if anybody could help me. I am getting returned variable values with about 10 decimal places. Is there a standard maths funtion, or any other method that I can use to reduce this to one decimal place. My maths isnt too hot!! Cheers for any help Matt Brown. ...more >>

Playing Movie Clip in Reverse
Posted by Jason Barr at 3/9/2004 5:32:48 PM
I am trying to get a button to play a movieclip when I rollover it and then reverse the play of the movie clip when I rollout from the button. I think I'm close but the reverse does not play back. Can anyone tell me what is wrong with this script or if I'm even close. on (rollOver) { _r...more >>

old ifFrameLoaded ... how to update?
Posted by dgh1943 at 3/9/2004 5:03:25 PM
I am trying to switch to a newer version of Flash and the old ifFrameLoaded doesn't work as it once did ... any help with this would be highly appreciated: I need to change the following ActionScript to the new version so that a specific set of frames is skipped ... thanks in advance: ifFr...more >>

Calling a .NET webservice function sending a DataProvider as a parameter
Posted by Mark Redman at 3/9/2004 3:58:55 PM
Hi All, I have a DataProvider holding custom objects connected to a datagrid in flash, I would like to send this dataProvider to a webservice. When I send custom objects to flash I can read the properties etc, but how do I send custom objects as parameters on a webservice and deserialize them ...more >>

Reading from text file question
Posted by Ganthur at 3/9/2004 3:56:33 PM
Hi, I have a flash piece that reads in information from a simple text file. I have this working but I was curious if there was a way to diplay a variable in the middle of a sentence. For example in the text file I have &text= this is my text and if I had the user enter in their name in the...more >>

How to tell target to play a movie backwards
Posted by Jason Barr at 3/9/2004 3:22:40 PM
I have a set of links at the top of the page that when clicked, each link will open up a set of sub navigation at the bottom using a tell target. Is there a way that when another main link is clicked, it will reverse play the previous sub navigation before it plays the next sub navigation. He...more >>

muting the flash movie sound using html
Posted by naveendar at 3/9/2004 2:38:45 PM
hi..... can anyone say.....how to retrieve or pass variables from another movie.....let me tell this problem in detail....... i had made a html page which consits of 2 frames...in left frame...there is navigations links or text links of different html files which would be loading on th...more >>

implements
Posted by jk515 at 3/9/2004 2:28:12 PM
Can anyone help me with some interface code. I am simply trying to use an interface for a class, however it will not compile. It says that the class being compiled does not represent the class that was imported. I have the path right. the only thing I can think of is that I am only using a sma...more >>

Need help/tutorial for animation effect
Posted by Soylent Green at 3/9/2004 1:56:26 PM
Hello there. I'm trying to track down a tutorial or some help on a rather common animation effect. What I basically need is four items to expand/shrink and affect the rest. So if the four items had the same width on load: [---A---][---B---][---C---][---D---] When "B" was cliked the others ...more >>

Adding dynamicalli text to a flash animation
Posted by FhErC at 3/9/2004 1:48:51 PM
How do I add dynamicalli large parts of text to a Flash animation...more >>

Platform '_x' or 'getTextExtent()' Error
Posted by wipsystems at 3/9/2004 1:20:49 PM
Does anyvody know of any issues on Mac's affecting the displaying or calculating of '_x' or 'getTextExtent()' values. My scripts are working fine on PC, but are overlapping on Mac browsers and my Mac is broken for the next few days. The site can be viewed @ http://www.workinprogress.tv/...more >>

How do I put a zoom buttom in an animation
Posted by FhErC at 3/9/2004 1:02:07 PM
Right now I?m developing an animation with documents within and I need to put a zoom buttom so the user can maximize a bit or minimise a bit the text of thespecific document can anybody help me...more >>

gotoandplay scene question
Posted by Marco at 3/9/2004 12:56:56 PM
Hello, Why does my movie don't play the next scene if(nummer == 1) gotoAndPlay("startpagina", 1); if(nummer == 2) gotoAndPlay("5modules", 1); if(nummer == 3) gotoAndPlay("module1", 1); Thanks, Marco ...more >>

page URL?
Posted by grob at 3/9/2004 12:54:35 PM
Is it possible to retrieve the page URL for the web page that contains the ..swf file? Geoff ...more >>

Gettting Pie Chart
Posted by chellakutty at 3/9/2004 12:36:59 PM
Hi , Any body tell me the action script for creating dyanamic pie chart using flash?.....more >>

Flash Quiz Engine
Posted by Jay-Dee at 3/9/2004 12:35:47 PM
Hey all. Im looking for a quiz engine I can implement in Flash MX. I desire the following: right / wrong answer checking of users input display of correct answer - graphically randomisation of questions skipping of question - user forfeits points point results - correct answers vs. q...more >>

Functions
Posted by evilpixel at 3/9/2004 12:20:01 PM
I am trying to use functions for the first time. What it is for is I have a lot of movieclips which I want all to have the same function, which is when they are dragged to a certain part of the movie they scale up 150%. This code works if I attach it to each movieclip, but not when I trying to...more >>

Authentication Script?
Posted by grob at 3/9/2004 11:46:56 AM
Would anyone be able to point me to help in scripting Flash user authentication (with a database)? Exisitng scripts would be very helpful. Thanks! Geoff ...more >>

variable question
Posted by Marco at 3/9/2004 11:15:59 AM
Hello, Is there a way to goto scene 2 true a ASP querystring ? Thanks, Marco ...more >>

FInding out if an item is an array
Posted by Giles_R_Roadnight at 3/9/2004 10:51:28 AM
I've been looking through my Actionscript 2 dictionary but cannot find any way of discovering if an item is an array or not. I used to use an edited array prototype and used the property isArray. In flash player 7 you can't alter the array prototype like that. I thought if typeof(arrayName...more >>

ActionScript 2 class files
Posted by Deniom at 3/9/2004 10:19:56 AM
Hello buddies, I have an strange problem, I try to use a class (MyClass) in a .as file in another .as file and following boring error message happens: Could not load class MyClass. I have imported the class and the path is correct (both files in the same folder) Why is that plz help!...more >>

linux standalone player and the fscommand
Posted by sweetandsour at 3/9/2004 8:54:40 AM
[b]Development Platform: [/b] Flash MX 2004 (Windows || OSX) [b]Target Platfrom: [/b]Linux standalone flash player. [b]Problem: [/b]Unable to use fscommand to run a local application on a linux client. With a little effort I have been able to get fscommand("exec", "app") running on windo...more >>

Strings Panel: Accessing Variables
Posted by jasboy_london NO[at]SPAM hotmail.com at 3/9/2004 7:15:26 AM
Hi, Is it possible to access the objects/variables holding the multilingual data as used in the "Strings Panel"? I want to access these strings manually thru actionscript without having to associate with a TextField. Thanks, Phil phil@undefine.takedisout.co.uk...more >>

Execute a .REG file from a flash project .exe
Posted by kaleea at 3/9/2004 7:06:15 AM
Hi All, Is there anyone know how to execute a .REG file from a flash project ..exe file. I have a software on a floppy disk which include an .exe installation file and a .REG file. Know this .REG file exetension is call FLREGK~2.REG which is to install itself in the system regis...more >>

Scrollong Pictures along with text
Posted by Manoj vn at 3/9/2004 6:58:38 AM
I am having a textbox and pictures related to the paragraphs of that text box. I have to scroll pictures along with the text. Is there is any method to link a picture in to a text box? Or what is the solution for the same problem? ...more >>

Fscommand
Posted by antonyselvaraj at 3/9/2004 5:15:02 AM
The exec command runs in the subdirectory fscommand only. In other words, if you use the fscommand exec command to call an application, the application must reside in a subdirectory named fscommand can u pls right the code and give me an source file.. i making mistake somewhere in the...more >>

Missing Script Navigator and Actions Toolbox
Posted by Seek2Learnb\ at 3/9/2004 4:59:52 AM
I am running Flash MX 2004, ver. 7.0.1 on my desktop computer with Microsoft XP Professional and on my Laptop computer with Windows 2000 Professional. On my Laptop, all panes are visible on the Actionscript editor (Script Pane, Actions Toolbox, and Script Navigator), but only the Script Pane...more >>

Flash Menu Template
Posted by anamelikenoother at 3/9/2004 4:27:39 AM
How would you edit the action script so that it would link to another frame instead of a webpage so that you could use it internally in a movie. Someone please advise, It is driving me nuts...more >>

MC Visible
Posted by jjjake01 at 3/9/2004 3:13:44 AM
I have a MC that is loaded as not visible when you enter the frame. If you scroll over a button (rollOver), the MC becomes visible. When you focusOut of the MC, it's invisible again. All this is successfull, but I can't get the MC to become visible again if I rollOver the button. ...more >>

Components: detecting author-mode in live preview
Posted by trismegistus at 3/9/2004 2:56:58 AM
I am building a window panel which will build itself and fade up. When I am authoring the piece, I just want to show the final state of the panel (without the animation) when I drag it from the library and move, resize and change the settings. Is there a way to detect whether or not a ...more >>

Executing a string...
Posted by Timmx at 3/9/2004 2:49:51 AM
Hi! I've been fighting for hours against a little game I'm building and I was wondering if someone could help me. I have a string object in a variable (strFct) which contains the name of a function. I also have another variable (strPth) which contains the absolute path to execute this fu...more >>

looking for external editor
Posted by s00110 at 3/9/2004 2:30:45 AM
hi forum, i am looking for an external script editor where i can write script without opening flash. i have found one called SciTEflash but is not exactly what i need. my code becomes longer and longer and the embedded window is not very handy.. do you have any suggestions? thanks s001...more >>

Get Browser Name
Posted by shava304 at 3/9/2004 2:27:12 AM
How do I know from flash, which Internet browser a user is using ? Is there any action script to detect the browser name ?? Thanks...more >>

Execute Action Script from ASP ??
Posted by shava304 at 3/9/2004 2:24:50 AM
Hi, I have developed a flash movie. On click of a button, I am loading another Flash Movieclip in Level 2. This movieclip contains a login form. It accepts username and password and sends to ASP. The ASP validates the user details. If the details are correct, I want to load a different movie...more >>

posting variables without refreshing flash file
Posted by myckelh at 3/9/2004 1:42:51 AM
I?m looking for a simple way of sending variables to a file and have the file basically, list those variables. example, in flash I have? Name: (dynamic field ?name?) Comment: (dynamic field ?comment?) And a submit button with the following action script: //on (release, keyPress "<Ente...more >>

Sound clip
Posted by atomneve at 3/9/2004 1:35:01 AM
I want to play a single sound clip across a number of scenes. Is there a way to do this with and action script?...more >>

bg image for text area
Posted by baseF at 3/9/2004 12:41:12 AM
is there a way to set a bg image for a text area in MX pro? I have tried css: body { background-image: url("image.jpg") } But it didnt work. By the ways i'm linking xml docs into the text area. Thanks ...more >>

color object - what do percent and offset mean?
Posted by Seth Hill at 3/9/2004 12:39:42 AM
In the color object setTransform, I can set each primary color's "percentage" between -100 and +100. And I can set each primary color's "offset" between -255 and +255. But what do the words "percentage" and "offset" mean? They both seem to control "how much" of each color, but I can't fi...more >>

Dynamic layers
Posted by Dinghus at 3/9/2004 12:03:48 AM
Is there anyway of telling a MC which layer to load onto? I'm trying to dynamically load a background image but it always goes and covers over everything else in the movie no matter what depth or anything else I try. ...more >>


DevelopmentNow Blog