Groups | Blog | Home


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 2007 > threads for sunday march 25

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

duplicateMovieClip: nested MCs don't duplicate
Posted by Andrei1 at 3/25/2007 11:23:27 PM
Hi! I have an instance to which numerous clips are attached at runtime. When I duplicate this instance, the nested clips are not duplicated. Is it because duplicateMovieClip duplicates instance itself only -- not what was attached at runtime? The code is simple but, in case I miss some...more >>


Random Tween Effect(type) - is it possible??
Posted by land_down_under at 3/25/2007 10:16:23 PM
HI All I have some 50 mc's on stage, and wondered if its possible to have the motion (e.g _x,_y,_alpha) be random. For example: say i had ============== import mx.transitions.Tween; import mx.transitions.easing.*; var Eq = [mx.transitions.easing.Back.easeIn, mx.transitions.easing.B...more >>

Random Movie Clips loop
Posted by adamlewen at 3/25/2007 8:55:07 PM
Hey there. I have a question about randomizing Movie Clips: I am attaching an example where 12 movie clips will be called into stage. (movieA1, movieA2, movieA3....) I am trying to create a situation where instead of triggering "movieA1" and so on, the code will trigger: movieA1 OR mov...more >>

For Loop Query - Assigning Values to Variables
Posted by bobby2156 at 3/25/2007 8:02:31 PM
I have the following code below in my flash file.. q2a = random(10)+1; q2b = random(10)+1; ans2 = q2a+q2b; I have 18 thing similar to this in my file, where it basically increments... q3a etc etc. Is there a simple way to create a for loop which will iterate through each of them? I c...more >>

scroll bar goes to the top
Posted by jlucchesi at 3/25/2007 7:18:49 PM
Hi - I have these 3 buttons that when rolled over they show text in a textfield. In this particular case the text is longer than the field is tall and the scrollbar is activated. The problem is when I use the scrollbar to read to the end of btn1's text and then hit btn2, the scrollbar is in ...more >>

launch a PDF from htmlText
Posted by jlucchesi at 3/25/2007 6:33:33 PM
Hi - I need to launch a PDF in a blank window - or at least give the user the choice to "download" it from my app to their desktop. The attached code shows how I got it to work using getURL and an onRelease command...but I need to get the same to work from a text field. On rolling over th...more >>

Back Button Script- KGLAD
Posted by SM6601 at 3/25/2007 6:08:54 PM
KGlad, I tried the below solution and it doesn't work entirely. It works when I navigate away from the main menu which is the first time the back button appears in the timeline. Elsewhere in the project, the back button doesn't function properly. Any more solutions? Steve Attach Code ...more >>

htmlText Mouse events
Posted by NewMediaRoc at 3/25/2007 2:03:07 PM
I'm attempting to use a custom cursor. So I've hidden the cursor and have a custom cursor follow the mouse. I've had to make functions that get called onMouseOver and onMouseOut/onMouseReleaseOutside that toggle between my custom hand and arrow cursors. Everything has worked nicely until now. ...more >>



Speed of movieclip
Posted by millja at 3/25/2007 12:52:31 PM
I have a movieclip that needs to be played at different speeds: 2 seconds, 5 seconds and 8 seconds. They need to be played at "exactly" the same speed on different computers (it's ok with a few miliseconds difference, but at the moment the 8 second movie takes between 5-9 seconds :( ) I'v...more >>

Help with if then statement
Posted by cuulcars101 at 3/25/2007 4:28:12 AM
Okay, so I'm putting this into the frames action, and I have a movie clip named "mc" on the stage" code: asdf = setInterval(chek, 10); function chek(){ if (_root.mc._x<_root._xmouse) then (_root.mc._x+20) } I say check for errors and none come up, but when I test movie, I ...more >>

Custom Math functions
Posted by 321-go at 3/25/2007 1:24:47 AM
I going through the book ActionScript Cookbook by O'Reilly, and I can't seem to add a custom math method. Here is a simple example: Math.timesTwo = function(num){ return num*2; } trace(Math.timesTwo(5)); I get the following error: **Error** Scene=Scene 1, layer=Layer 2, frame...more >>

Inserting new lines
Posted by AlexTeslin at 3/25/2007 1:07:13 AM
Hi, I am a newbie and don't know much about scripting. I have created my profile in MySpace website. In it i have inserted some text and a picture. The text doesn't require any script - one can just insert a plain text. The picture goes below by pasting the script in HTML that automatic...more >>

swap depths help
Posted by redsox05 at 3/25/2007 12:17:25 AM
Ok I have a banner and it loadmovies 3 banners into it. I want the main banner to stay on top. I was told to use swap depths but I don't know how with loadmovie. Here's my code. _root.createEmptyMovieClip("container", 1); loadMovie("banner1.swf", "container"); container._x = 0; con...more >>

<br/> is interpreted as </li><li> in TextField.htmlText
Posted by aa at 3/25/2007 12:00:00 AM
I have a text filed created like this: createTextField(); .type = "dynamic"; .multiline=true; .html = true; .htmlText = myText; myText = "<ul><li> blah-blah blah-blah </li></ul>"; The problem is that the text is too long and I inserted <br/> in the middle like that: ...more >>

Problem with charset
Posted by joanaomgod at 3/25/2007 12:00:00 AM
Hi developers!!! I am from Bulgaria... my english is very poor..However, my problem is that i load in flash txt file in textarea. My language(bulgarian) charset is window-1251. Instead of chars are showed squares. PLEASE HELP ME!! ...more >>


DevelopmentNow Blog