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 > april 2007 > threads for saturday april 7

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

CheckBox within MovieClip will not select
Posted by masterkrang at 4/7/2007 11:45:46 PM
I have a CheckBox within a MovieClip, and I'm simply trying to set the selected property to true. my movie clip's instance name is "data" and my CheckBox component's instance name is "opt1". My code is: data.opt1.selected = true; Anybody know why this code doesn't work??? I o...more >>


CheckBox within MovieClip will not select
Posted by masterkrang at 4/7/2007 11:45:41 PM
I have a CheckBox within a MovieClip, and I'm simply trying to set the selected property to true. my movie clip's instance name is "data" and my CheckBox component's instance name is "opt1". My code is: data.opt1.selected = true; Anybody know why this code doesn't work??? I o...more >>

sound object is not accessable from a movieclip?
Posted by aa at 4/7/2007 10:03:06 PM
I have soundManager created in Scene 1 using new Sound() with the relevant sound imported and attached so that on start() it plays OK if start() is called from Scene 1. Yet when I call it from a movieclip it does not no matter if I used _root. refix or not. trace(soundManager) from Scene 1 ...more >>

How can I mover cursor in y axis at MouseUp
Posted by DocFish at 4/7/2007 9:00:25 PM
I'de like to move the mouse(cursor) position up in the y-axis (by say - 30 pixels) each time the mouse is clicked. Any advice would be appreciated....more >>

how to build a sound into a movieclip
Posted by aa at 4/7/2007 8:11:30 PM
Cannot find in Flash Help how to build a sound into a movieclip. I saw clips with a sound layer so that the sound is spread over frames span. If it is not in Help, perhaps some one direct me to an internet resource please? ...more >>

Scrubber
Posted by GrloftheCity at 4/7/2007 8:02:19 PM
I need to create a scrubber that starts in the middle and can be dragged both ways. As it is dragged, a sequence of images needs to be shown. Particularly, it needs to show a man gradually losing weight when dragging to the left, and gaining weight when going to the right. I already have the i...more >>

Form HTML tags into flash
Posted by Blaster_jr at 4/7/2007 7:04:04 PM
Can i do that?...more >>

Problems with addEventListener
Posted by NTamas at 4/7/2007 5:16:13 PM
Hi! I wanted to write a simple boardgame, so i needed 256 empty cells. I used a for loop to produce them. Then i tryed an eventHandler in the loop which worked good only for the last element (256). Good means: i have to return the id of the element which i clicked. So i tried another...more >>



using setInterval() to overrun framerate
Posted by aa at 4/7/2007 5:05:02 PM
I tried to make a animation movieclip independent of the framerate using the following code into each frame of that animation movieclip: ========================== if(interval_between_frames) clearInterval(interval_between_frames) interval_between_frames=setInterval(this.nextFrame,1000);...more >>

ExternalInterface.call returns null
Posted by FASTeCOM at 4/7/2007 12:54:45 PM
I am using Flash 8. I have a page that needs to make a call to JavaScript. I have the ExternalInterface.call() working. It calls my function and the function put up the standard testing script Alert window. I set the return string as defined in the Help Example but the return string comes back...more >>

Linking to Scene
Posted by GrloftheCity at 4/7/2007 5:08:37 AM
I have a button within a movie clip on the main timelime of Scene 1. I would like to link it to the main timeline of Scene 5. How would I do this? Thanks for any help!...more >>

preloader doesn't show
Posted by zzdobrusky at 4/7/2007 3:52:36 AM
Hi, it seems to me this should work but it doesn't. I Am creating at runtime preloader_holder_MC and img_holder_MC inside another MC also created at runtime, so these 2 clips are syblings. I load preloader.swf (this movie has the same size as the main movie) into preloader_holder_MC and the...more >>

Embedded Fonts on Dynamic Label Component
Posted by pjefferies at 4/7/2007 3:10:54 AM
I am working on a project that calls for multiple label components to be dynamically rendered based on a selected comboBox selectedItem. The comboBox is a choice of fonts available to the user - all of which are embedded fonts. For some reason, the fonts are not embedding correctly for syste...more >>

HELP: PORTALS
Posted by Angelcape at 4/7/2007 2:42:49 AM
i'm making a 2d side-scroller and i need some help. I've tried to get to the next map (using play();) by these means: [CODE] onClipEvent (enterFrame) { thingthing = 0 if (this.hitTest(_root.char)) { thingthing==1 } if (thingthing==1){ if(Key.isDown(Key.UP)) { play(); ...more >>

drawBox with round corners?
Posted by reinhat at 4/7/2007 2:37:35 AM
If I use the drawBox function, how can make the corners round? I want to set all the corner radiuses of the dynamically created box to 6 pixels. Maybe later I need to set the corner radius to a different number. How can I achieve this with scripting? thanks Attila ...more >>

Scope of a listener within a class
Posted by brunoseivam at 4/7/2007 2:28:13 AM
Here i am again. I've wrote a class that manages the input from keyboard. It associates a button to an action and sends it to an object. The problem appears at the key listener object. At the constructor i define the variables of the class, but i can't access them from within the listener....more >>

Problem with getUrl
Posted by juanddiaz at 4/7/2007 1:40:20 AM
I have a problem with the getUrl command. Im building a navigation in flash for my website. I have 5 buttons with getURL command for my site links. The page is written in PHP. When I open the site and click on any button it opens a new page. If I click any button on that new page it works prop...more >>

sending a message from actionscript to mySQL
Posted by kwyjibo12ret at 4/7/2007 12:21:49 AM
Hello everyone, hope u r all well. Got a bit of a simple question. I have a textArea box (mesgArea.text) where a user can write a simple message and then press a send button ("sendMsg"). All i really need is when that user presses the sendMsg button, for the message to be stored in the f...more >>

MC scroll problem?!?!
Posted by IndioDoido at 4/7/2007 12:02:32 AM
Hi... I'm trying to make a simple scroll bar that scroll's content from a movieClip. I've done it several times with a textFlied, but it's the first time i'm doing it with a movieClip. Here's the .fla to take a better look: http://www.rld-i.com/menus.fla This is the code i have for e...more >>

startTime and endTime
Posted by zipperbrain at 4/7/2007 12:00:00 AM
Hi, there I am really messd up with my movie controller. I am making movie player that user can drag&drop bubble box onto movie clip. When I drop just one bubble and manage left(for startTime) and right(endTime) limiters, it works. When I drop two bubbles at the same time and manage the...more >>

Loadingbar problem
Posted by moflebukken at 4/7/2007 12:00:00 AM
Hi, thanks for all the help I've gotten. I got loader that worked in Flash 6, but now I use Flash 7 and it doesn't work. The problem is that it doesn't scale the "pBar", so you can't see the progress. Can anybody see what I have to do? Frame 1: setProperty("pBar",_xscale,0); ...more >>

hitTest problem
Posted by moflebukken at 4/7/2007 12:00:00 AM
Hi, I'm really thankful for the help I've gotten in this forum. Now I need your genius brains again. I'm making a flash game with levels. In every level there is a door with the code: onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop("level2"); } ...more >>


DevelopmentNow Blog