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 > september 2007 > threads for thursday september 20

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

Passing Data out of an SWF
Posted by chartoonz at 9/20/2007 11:20:11 PM
I have created a web page with a flash movie that gets its data (text only) from an external text document. I have two questions: 1 in doing my load var I used absolute linking becuase I couldn't get relative links to work. Is there a way to get relative links? 2. I want to create a...more >>

ActionScript and sound clipping
Posted by frutherfordbrooklyn at 9/20/2007 10:30:40 PM
:confused; Can someone settle a question? Are there any libraries or functions that exist in actionscript (2 or 3) for importing audio, clipping said audio on the fly, then exporting the audio? Like, let's say there's a client app for doing media mashups. Could actionscript in the ...more >>

Listener gone deaf
Posted by chopTheWood at 9/20/2007 9:46:17 PM
Can anyone shed any light on why my Listener isn't listening any more? It worked fine until one day it just stopped. I can't find anything else in the script that would conflict in any way. There are two buttons in a radio group named "gallery". They are named "water" and "oil" The data for "o...more >>

Default <Esc> keypress after fullscreen (killing me)
Posted by urbanrevolution at 9/20/2007 9:21:57 PM
i've added the fullscreen function to a site. it works fine but.... the default or stock action pops up saying " press escape key to return to normal screen" the Esc key it set to default Stage.displayState == "normal" is there anyway to remove this default function flash sets...more >>

JavaScript controlled fullscreen for FLVPlayBack CS3 AS3
Posted by GetCoding at 9/20/2007 9:01:36 PM
I am working on a flash player in AS3, and the default skin fullscreen button works. However, I want to use JavaScript to control the fullscreen behavior, and even launch the player fullscreen when playing. The problem I am encountering is a security error. I have allowFullScreen = true and...more >>

Link back to main timeline (scene 1)
Posted by isaachaze at 9/20/2007 8:47:12 PM
Okay, this seems like it should be very basic, commonly done, and simple, but I can't figure it out! I have a simple set up with a layer containing a few frames with frame labels. Each frame label has a movie clip. When the first movie clip finishes, i want the playhead to go back to the main ...more >>

sound loop question
Posted by cliff roy at 9/20/2007 8:41:28 PM
I have a movie that at the end of it, I want the graphics in the final frame to freeze, but the sound to keep looping for eternity. I've tried a "go to and play" and play on the final frame to a frame that should make the sound loop. But it seems like there is a hiccup or a pause when it ...more >>

sound loop question
Posted by cliff roy at 9/20/2007 8:10:02 PM
I have a movie that at the end of it, I want the action in the final frame to freeze, but the sound to keep looping for eternity. I've tried a "go to and play" a...more >>



Date Calculation
Posted by rhanna2 at 9/20/2007 7:17:38 PM
Hello, I need some help! I need to subtract two dates from each other and come up with a numeric value that will be used in another calculation. For example: 070107 - 06/28/07 = 4 days I've looked for conversion to julian date and actionscript and have not had any luck. Thank you f...more >>

change button function?
Posted by serg2049 at 9/20/2007 6:49:51 PM
I have this movie created from a tutorial, but to start it you have to click a button, instead I want it to start automatically, how can I do that. Right now, this is the actionscript used to start it with a button: on (release) { call("/subroutines:start"); } is there some kind of ...more >>

Consistent swf display through entire site?
Posted by cmartinez2285 at 9/20/2007 6:29:27 PM
Hi all, This is probably a topic that has been covered already, probably too many times, but I've been searching for a post on this and have had no luck. Anyway, here is my question. I am trying to develop a banner for an event planner, she wants me to take the pictures she gave me to...more >>

Formatting Text
Posted by cpmartin79 at 9/20/2007 6:26:36 PM
Can anyone tell me how to set the text properties for the code below. I need to set it to Arial and change its size. Thank you. /* Count Down Timer T. Norman http://ntdesigns.net */ function countDownTimer(minute, tX, tY) { _root.createEmptyMovieClip("countDown",10...more >>

static Class
Posted by Nixy at 9/20/2007 4:17:56 PM
May be simple question, but... I've create a static Class. I call it on the main timeline. If I create a second instance anywhere else in the same movie, those two instance refer to the same object. I ceate instance usign MyClass.getInstance();. Well What I try to understand is the scope ...more >>

color value manipulation
Posted by jonnybennett at 9/20/2007 4:11:14 PM
to find the inverse of a colour the following you subtract it from white... eg.. inverseColor=(0xFFFFFF)-origColor; however if I just want to keep the same color but want to find a lighter shade of it, how would i work that out? thanks to any responders J. ...more >>

AS mc control assistance
Posted by Voddie at 9/20/2007 2:48:40 PM
Hi Im wondering if anyone could point me in the right direction for my problem. I have a set of buttons using the code below // C Buttons C1a_btn.onRollOver = function (){ _root.CBMain.gotoAndStop(2); this.gotoAndPlay("over"); } C1a_btn.onRollOut = function (){ this.gotoAn...more >>

LoadVars --- matching form submission
Posted by GWD at 9/20/2007 1:45:06 PM
Anyone know of an existing class that extends LoadVars to permit multipart/form-data encoding? Obviously still limited to text data. I guess this might be easier to do in as3. I'm trying to provide the possibility to mirror existing form submissions in my own site (which doesn't exist yet)...more >>

Stopping at specific y coordinate
Posted by MValentine at 9/20/2007 6:07:57 AM
I have some graphics that I want to load into my flash file above the stage and then slide into the stage area the stage area. I am obviously new to actionscript, but I thought this would not be too difficult to figure out. Here's what I have: On the frame: //load Graphic Behavior...more >>

AS3: someone know how?
Posted by eze_diablo at 9/20/2007 5:59:41 AM
i´ve 2 swf movies with your respective classes (is a simple example) : index.fla main.fla the problem is that can´t be loaded from the index stage: say: null object. if remove the stage property... works, but, how can i get pass the refence from the stage? how can i do that ? please,...more >>

Re: Actionscript 2.0 Tutorials for FORMS
Posted by SymTsb at 9/20/2007 5:13:51 AM
The FLA is CS3 and uses AS3 code so saving it in Flash 8 format isn't going to help. The mail.php file is a bare bones file and will work for any version of Flash. For Flash 8 AS2, look into the LoadVars class. I'll try to add a post tomorrow showing the AS code for AS2 and AS3. ...more >>

TextAlign for TextArea Componenet in Action Script 3.0
Posted by AScracker at 9/20/2007 4:40:48 AM
hi I'm using the Text Area component in AS3.0 but i need to make the text as left align,rightalign ,center by Action Script Can any one help me .... for this issue ...more >>

Help PLEASE with x,y moving
Posted by SK84evaa at 9/20/2007 2:33:51 AM
Hello I am trying to move around a graphic by using action scripting. this is all I could figure out buttonhome.onPress = function() { main.onEnterFrame = function() { this._x -= 4; }; }; BUT it just keeps moving (main) my graphic forever. I would like it to do something...more >>

how to have an MC remove itself
Posted by miquael at 9/20/2007 2:22:42 AM
Okay, I've done things like this a few times, and yet I've ran around every way that I can see possibly doing this without success: I load an MC dynamically from the library ("WIN_ABOUT"). The MC has a few buttons (MCs) within it, one of which is intended to delete the entire MC from the ...more >>

round input number to 2 place
Posted by maureen27 at 9/20/2007 1:56:54 AM
I have a score of numbers that total up percent, but get like 25.22222222%. These are input numbers so don't know value until until put in. How do I set it to only pull up 2 decimal places? thks...more >>

Do masks interfere with sprites?
Posted by cayennecode at 9/20/2007 1:29:38 AM
I have a sprite, on a layer. If I set the layer above it as a mask, the sprite's MouseEvents aren't captured. If I remove the mask, they are..... I have never encountered this before, and in fact I have several other movieclips on timeline layers, that are beneath a mask-layer, which aren'...more >>

Need help in RegExp AS 3.0
Posted by AScracker at 9/20/2007 12:00:00 AM
Hi, var str:String ="123+31+21-25*5"; var re:RegExp = /(\d+)/; var results:Array = str.split(re); trace(results) // ,123,+,31,+,21,-,25,*,5,*/ //but if the string will be is ... var str:String ="123.5+31.5+21-25*5"; var re:RegExp = /(\d+)/; var results:Array = str.split(re); ...more >>

Error: Error #1023: Stack overflow occurred.
Posted by manicati at 9/20/2007 12:00:00 AM
This is the code of my Flash component for Flex. It loads 2 images, one with a "Loader" and the other with a "UILoader" and a progressbar. When the completeHandler function is executed, the error message " Error #1023: Stack overflow occurred." appears. (The whole message is a the end of ...more >>

how to play .flv frame by frame
Posted by elisavmus at 9/20/2007 12:00:00 AM
I load a flv from code. I want to be able to get the next frame every time I push a button. I tried using seek() and passing it playheadTime+0.045 but it doesn't seem to work. It jumps much more than one frame. (For a flv movie frame rate of 20 per second one frame will occur once every 0.05 s...more >>

Bug of ExternalInterface
Posted by Adam Wu at 9/20/2007 12:00:00 AM
ExternalInterface class is a good way to transfer date between flash and html. But I found a bug today. In IE AS can activate html's JS function, but can never get the return value from it. Firefox have no problem. I tried Adobe's sample application "IntrovertIM", the problem is the same ...more >>

dynamic movive clip duplication
Posted by flashcrazy at 9/20/2007 12:00:00 AM
I have an empty movieclip (mc_holder).Now I dynamically create some textbox instances inside this movieclip. A function takes this mc_holder and duplicates it with a new name. Strange the mc_holder duplicated does not have the textboxes. How to do that Help . ...more >>

AS2: combobox comp. leaving border onClose
Posted by dubya at 9/20/2007 12:00:00 AM
have a look at this img: http://richtextformat.org/proofs/combobox-green-border.gif that green rectangle over the main photo there is left behind after the combobox at the bottom closes. it marked the extent of the dropdown list whilst it was displaying. what the hell is it and how c...more >>

timeliner needing help with actionscript
Posted by radiant_splinters at 9/20/2007 12:00:00 AM
i'm on an inherited project. The developer wrote everything as actionscript in the first frame. It's a web banner that after //scene1 needs to on rollover (or after 60 seconds) begin playing //scene 2, and right now it plays automatically. I'm a total timeline guy and need help. I know it's si...more >>

array is sorted backwards, and contains unwanted fields?....
Posted by (_seb_) at 9/20/2007 12:00:00 AM
Hi all I am creating an array from the flashVars passed from html. the string in the html flashVars params looks like this: var1=01.jpg|02.jpg|03.jpg&var2=01.jpg|02.jpg So basically each var is a list of images separated with the bar sign "|" I am succesfully retreiving the flashVars ...more >>

Restrict for TextArea Component
Posted by AScracker at 9/20/2007 12:00:00 AM
hi, im creating a calculator functionality in As3.0 here i'm passing the number and also operator as a string to TextArea by pressing the particular button like 1,2,3..+.../. but i need to restrict the operator here i'm using the restrict function for the Text...more >>


DevelopmentNow Blog