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 > november 2004 > threads for wednesday november 17

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 change a movie clip depth?
Posted by yofof at 11/17/2004 10:11:41 PM
i have a movie clip on stage. how can i set or change the depth? anybody can help? thanks...more >>


event handlers for objects within objects
Posted by jaminPitt at 11/17/2004 9:58:41 PM
I created two classes as extensions of the MovieClip class. I then attached class A to the root, and attached class B to class A. However, the event handlers within class B don't work. If I attach class B to the root, they do work. If class B has an event handler as such: function onPress() ...more >>

Drag & Drop and Rotating Objects
Posted by phej at 11/17/2004 9:22:26 PM
I have a client that wants something similar to this: (http://www.thewelborn.com/floorplans3.htm) but wants the user to be able to be able to rotate the furniture icons to better position them. I can do the drag and drop and I can do the rotate, I can not, however figure out how to do drag ...more >>

Bad character encoding when load from XML
Posted by maciekk at 11/17/2004 8:22:02 PM
Hello, As long as I don't use non-latin characters in my xml document that is load into flash using the .load() method, everything works just fine. But it seems like Flash cannot import the other characters, because (1) in some cases it misreads the xml markup and (2) in some other ones the ...more >>

controling volume and sounds that play
Posted by bso_71 at 11/17/2004 8:15:12 PM
Can I control the volume of a sound through action script? I have two sounds playing but I want to be able to stop one at any time while the other sound continues to play so I can't use the stopAllSounds() How can I do this? Thanks a lot!!! Brenda S. ...more >>

product of two dynamic text boxes
Posted by mr. doc j at 11/17/2004 7:38:18 PM
so heres the deal. i have two dynamic text boxes that are loading numbers from a text file using a 'loadVariables();' command, and a third that is blank. what i would like to have happen, is to multiply one text box by the other and have the product end up in the third text box. in other words...more >>

change transparent text to opaque
Posted by janst at 11/17/2004 6:15:58 PM
Hi, I have a script that tells the "Q" key to add 1 to a dynamic keyframe called h_q up unitl number 4 where it resets to zero. The background to the dynamic field is black and I want it to appear empty until the 'Q' button is pressed so I added an additional script to change the text from a...more >>

Projector Load Progression Feedback
Posted by A.FO at 11/17/2004 6:04:28 PM
Is there anyway to implement load progression feedback while loading external swf files into a Flash Projector? Also, I've been attempting to test the MovieClipLoader onLoadProgress event via the Flash Download Simulator with out success. Why is this? Thanks, clueless.FO ...more >>



new problem with sound
Posted by johnny truant at 11/17/2004 6:02:46 PM
ok i have a new problem with my sound controls..... stage - animation moviclip - sound control movieclip , thats how its looking i have a movieclip to animate my sound controls which are in a movie clip of their own. so problem 1. when u adjust the volume, when u go back to it the slider is ...more >>

Simultaneous Object movement through Actionscript
Posted by The RPG MAKER at 11/17/2004 6:00:28 PM
The idea is, to make an object (let's say a circle) and place on it. on (keyPress "<Up>") { this._x += 5; } and then copy it ten times place it at different locations, and when i play the movie, all of them should move according to their position (i rotated some and fliped others) and s...more >>

Rich Text Editor with TexArea 2004
Posted by Retroboy_mx at 11/17/2004 5:55:19 PM
Hi Flashers!!<br> <br> I try to made a simple rich text editor with the new <br> TextArea mx 2004 component Bold,Italic,Underline.<br> Left, Center , Rigth...<br> <br> I use this code to get the selection textarea and change<br> the text format. <br> The textarea compon...more >>

load movie clip
Posted by RamArts at 11/17/2004 5:40:06 PM
hi, I am trying to load/duplicate a simple movie clip onto a movie based on a counter value. I am unable to do that as its not duplicating the movie clip. pls do help on this. operand1 = Math.random(); a1.text = Math.round(operand1*10); counter = int(a1.text); duplicateMovieClip(movblue,'...more >>

Html in textfield
Posted by megafab at 11/17/2004 4:59:59 PM
Hi all, Just a little question about textfield render as HTML, I want to display an image in a textfield, and I know how. But my problem is that the textfield size doesn't correpond to the image size. For example, if you put an image of 600px in a textfield and get this textfield size by th...more >>

AS within scrollpane
Posted by Dsotm at 11/17/2004 4:43:18 PM
I have scrollpane that calls a mc ('map'). Within the mc 'Map' is a button that needs to send a 'gotoandplay' to a mc ('test') on the main root (where the scrollpane is). I have named the 'test' instance, and when using 'evaluate'on the button can see _root.test on the main timeline, but the e...more >>

Preloader Placement to Read Loading SWF
Posted by Happy Camper at 11/17/2004 4:39:51 PM
I put the code at the end of this post on the preloader movie clip (contains visuals to show progress of movie): I have the preloader inside the movie that is loading to the _root. That's not where I want it.... I need it to read the progress of the loading SWF from the main timeline. The mo...more >>

sound controls
Posted by johnny truant at 11/17/2004 4:38:55 PM
hey guys i have just built a sound control movie clip and there are a few problems with it.... 1. the sound doesnt start playing automatically when the movie loads. 2. the volume slider doesnt change the volume. I have uploaded the fla file, if anyone could take a look and figure out what is...more >>

Can You Make A Global Function?
Posted by AwesomeDigital at 11/17/2004 3:54:22 PM
I have a function that I want to call from different parts of my code. But when I move it from the timeline where it is being called to the first frame of my main timeline, it no longer works. Can you create a function that can be referenced from anywhere in your code? Let me know if I am n...more >>

Function with goto
Posted by Crimin at 11/17/2004 3:39:05 PM
I am trying to call a simple function that will add to a variable called 'counter' when the variable reaches a certain value I want the playhead at the root to jump to a specific frame. This is the code I am trying function loopCounter() { counter = counter+1; if (counter>=20) { ...more >>

getURL simple problem with file:/// location
Posted by Man_At_Work at 11/17/2004 3:38:07 PM
:confused; I am distributing CD media with a copy of a website. For the CD, I created a basic flash intro which is supposed to switch to the website's index.html page on the CD once the .swf ends or if the 'Skip Intro' key is pressed. It works fine if I reference a website, for example, g...more >>

Complex math
Posted by Spudcat at 11/17/2004 3:33:48 PM
Can Flash MX 2004 professional action script handle exponentials (e raised to a power) or calculus?...more >>

Floating point inaccuracy
Posted by einaros at 11/17/2004 3:22:19 PM
The following has been tested in Flash MX 2004 7.2. var flab:Number = 365 / 45.625; trace(flab); // == 8 flab = Math.floor(flab * 100) / 100; trace(flab); // == 7.99 What's up with that? :Q...more >>

Executing non-exe files with batch file...
Posted by Luka at 11/17/2004 3:10:29 PM
I'm trying to execute a non-exe file from the flash projector, a pdf file. It always launches in Internet Expolorer. In the technotes on the macromedia site is said: One way to open files is to use exec to launch a Windows batch (BAT) file or Macintosh AppleScript file that then opens files in...more >>

Help! Simple send variables
Posted by Hentschke at 11/17/2004 2:36:42 PM
Hi, i just need to know how do i make to send some variables in flash to an outside site php script, wich will send an e-mail. Can someone help this noob? Thanks in advance. Rodrigo....more >>

need help for preloader and .php
Posted by Shana_training at 11/17/2004 2:16:07 PM
hi guys i m a new user in flash and i want know 3 thing , myabe you cn help me :P 1:i m come from of Qu?bec so is it a forum or a popular site of macromedia in french ? 2:how can i put % in my preloader ? the only scrip that i know is this but taht dont show % : if (_root._framesload...more >>

help on clock hand rotation
Posted by TUUK at 11/17/2004 1:19:51 PM
Hi everyone, I have a movie where I need to click and drag the hour hand. I found this tutorial http://www.actionscript.org/tutorials/advanced/Mouse_Angle_Detection_II/index.sh tml# through searching here. Can anyone please help me with altering the code so that I can click and drag the hand...more >>

preload multiple swf
Posted by Barney... at 11/17/2004 11:21:04 AM
After spending the last few days trying to find the correct method to preload external swfs....i need to post, again. Im trying to source a bar preloader that would load 5 external swfs into the same mc for later use. The movies are loaded with using: on (release) { if (_root.c...more >>

fscommand to open PDF file in Acrobat
Posted by JakeCop at 11/17/2004 10:40:05 AM
I'm using Flash MX and I need to open some PDF files that stored on a CD in Acrobat. Using the GetURL command it opens them in whatever the end user has defined, and sometimes that is Internet Explorer, using an older version of Acrobat - and the files fail to load. I know the fscommand ha...more >>

Using ActiveX Control in Flash
Posted by rhythmofrain at 11/17/2004 4:31:34 AM
Can I use ActiveX control(made in VB) in Flash, if yes then how? Please help!...more >>

open html page, skip to scene in swf
Posted by customarketech at 11/17/2004 2:55:54 AM
i need to open a new html page (product.htm) from index.htm , in the same window. Product.htm contains product.swf split into scenes for each product category. from the home page, there would be a flash button for each product category. i want to be able to open to a specific scene 'accesso...more >>

dynamic variables and targets
Posted by sideburn at 11/17/2004 2:40:00 AM
I have a variable / movie clip that I am dynamically creating. Lets say: num = 1; And I create a new movieclip like this: duplicateMovieClip("mainClip", "newClip" + num, 100-num); Now I want to set a variable inside that clip like this: newClip+num.myVariable = "yes"; But...more >>

Halo Components
Posted by Michael Dunn at 11/17/2004 1:47:33 AM
This isn't a question rather a possible solution; I've gone through the "Skinning" of components, included the halo theme, modified the defaults.as file, however this adds a considerable amount to the final file size (about 30k or so, less if you just import the pieces you want). I've been p...more >>

HTML onclick event in flash link
Posted by finalprototype at 11/17/2004 12:24:16 AM
I'm using a javascript that enables users, with the click of a link, to switch to an alternate CSS Stylesheet. The links are activated by an "onclick" command. I would like to use these same links in my flash movies but i'm not too sure how to call the javascript function within the "on (relea...more >>


DevelopmentNow Blog