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 > october 2004 > threads for saturday october 30

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

Drag Behavior with Load Movie Behavior
Posted by rgerber at 10/30/2004 11:17:26 PM
Hi guys, I've been stuck with the duty of finishing up where a coder left off, unfortunately, Im not a coder. :) That said, onto my question. I created a movie clip in which to load an external swf. (using the behaviors in 2004) I then attached a drag behavior to that movie clip to make it dr...more >>

Scrolling Trouble
Posted by rgerber at 10/30/2004 11:08:03 PM
Hi Guys, Im pulling at my hair right now trying to get a scroller to work. I downloaded an FLA, with a fairly basic scroller for use. This is the swf, working: http://www.loadedboards.com/newsite_v1/images/tech_pane.swf under CAMBER & FLEX and MATERIALS. The problem is that when I have...more >>

for-in loop
Posted by iaustin at 10/30/2004 9:53:17 PM
I'm working on a nice bit of code utilizing the for-in loop. This should prevent me from manually coding a hundred buttons. The idea here is to abstract a movie clips name|buton name, pass it to an array then of course perform a search of the arry then perform some action, in this case a syst...more >>

Mouse Follow
Posted by knucklenutz at 10/30/2004 9:14:29 PM
Good afternoon, I am currently trying to get a movie clip to follow my mouse along an x axis and ease or slow up as it approaches the _xmouse. Right now I am using a clip event onEnterframe to make constant calculations with this code: onClipEvent(enterFrame) { distance = Number(_xmouse - ...more >>

url filename from array help
Posted by aj_fa at 10/30/2004 8:29:11 PM
Hi, I am trying to use a loadMovie command to get external pictures to load into an empty mc. When I try to use an array to determine the file name of the pic I want to load, I keep getting an NaN error. menuHolder["btn"+k].onRelease = function() { _level0.loader_mc.loadMovie("pics/"+...more >>

Browser Shake
Posted by UnclePuppy at 10/30/2004 6:59:31 PM
Hi, This obviously a very easy question for you guys but it has been bugging me for a few days. I created a movie, where an engine falls into the scene with a big thud. I want the broswer to shake upon impact. I found the attached code on another website. When I use <A HREF = "jav...more >>

Pendulum Math
Posted by Beppe_the_builder at 10/30/2004 5:10:12 PM
I am trying to create an animated pendulum that I can alter the radius of the swing with a slider to se the effect, but the "bob" weight never seems to be exactly where it should. I need to get this right before moving on to the slider. Any help much appreciated. Action script below. onC...more >>

retrieve mouse x,y co-ords when dbl-clicked on image
Posted by DazT at 10/30/2004 4:51:56 PM
Hi, can someone guide me to a tutorial on how to retrieve the current mouse x,y co-ords when the user dbl-clicks the mouse ?...more >>



question about: Button.trackAsMenu
Posted by johnvsc at 10/30/2004 4:24:29 PM
Hey everyone :) I am looking for a way to disable any "onRelease" commands for any buttons in my site while the any transitions/animations are active. I found the Button.trackAsMenu property from Flash 6, but all documentation I could find was wanting... Is this a possible answer ...more >>

movie(with preloader) on movie
Posted by confusedAgain at 10/30/2004 4:22:55 PM
Hello. I have a movie with a preloader mc that has this script: onClipEvent(load) { // initialize variables bytesLoaded = 0; bytesTotal = _root.getBytesTotal(); } onClipEvent(enterFrame) { if (bytesLoaded < bytesTotal) { bytesLoaded = _root.getBytesLoaded(); percentLoaded = Math.round...more >>

Dynamic buttons
Posted by Cuddapah at 10/30/2004 2:07:59 PM
I am new to Flash/ActionScript. I have a MySQL database. I want to build buttons depending on choices available in MySQL table. Please let me know how to do this. ...more >>

How to create
Posted by monna at 10/30/2004 1:39:34 PM
Hello, How to create a movie clip which position in browser window always will be the same: in the right down corner and after browser window resizing MC moves according the window size, but always stays in the same position of the browser window. Monna ...more >>

show image in dynamic text
Posted by hamid_m at 10/30/2004 9:41:14 AM
hi, i want show image in dynamic text?! in fact i have a text like as this s my pic <img border="2" src="pic.jpg"> ok and i want show them in flash like as html :)...more >>

How to use AS to ceate a submenu
Posted by keiyi at 10/30/2004 9:21:37 AM
When rightclicking , a contextmenu will appear. I use the order "CustomItems" to create some items inside it, but the mount of the items that I can create is limited. Therefore ,I want to create a submenu inside an item. I wonde...more >>

enabled property
Posted by Neil Smith at 10/30/2004 8:30:59 AM
Dear All, can anyone tell me why this script, attached to the button B1 does not work? Specifically I wnat to disable the rollover state. ...more >>

targeting of duplicated movie clips.
Posted by imanru at 10/30/2004 7:33:32 AM
Thank to _jrh_ for the hint on duplication Okay now i have duplicated my movie clip, how do I target them. In say i have this code for (k=0;k<40;k++) { newSquare = square_mc.duplicateMovieClip("square_mc"+i,k); newSquare.onRollOver = function () { // change color code this._alpha ...more >>

dynamically adding compnents @ runtime
Posted by CodeWizardry at 10/30/2004 7:15:43 AM
Hi All, I am trying to add a large number of components to a flash movie @ run time and am having no success. I've checked the documentation and found it woefully inadequate in this area. The crux of what I am trying to do it create an array of components that I can then easily load in...more >>

Reset movie on mouse event
Posted by miguel007 at 10/30/2004 6:40:14 AM
How do I send the movie I just played back to frame 1 when I click on any new button? I want to do this to clear my screen after each button is selected. I have 4 buttons, each button is a paragraph of text that fades in when selected and disapears when selected again. I want it to disapea...more >>

Web Reporting...how?
Posted by roxandy at 10/30/2004 3:05:41 AM
Hi, I am somewhat of a novice and was wondering if anyone knew of a good resource to find out best practices for generating user behavior reports in Flash, similar to traditional html tools. Thanks! ...more >>

what's wrong
Posted by kimber13 at 10/30/2004 1:27:27 AM
What's wrong with this script?? It doesn't work right after I added more images. It no longer cahnges the alpha of the images, they jut opo in an unsightly fashion. HELP!! onClipEvent (enterFrame) { // find alpha of new pic picalpha = Math.round(getProperty(picnum, _alpha)); // find alpha ...more >>

get the stage size of loaded mc
Posted by kufu22 at 10/30/2004 12:06:49 AM
Can anyone help. How can i get the stage.height and stage.width of a loaded movie, NOT the root stage. If i call stage.height and width within the loaded movie it gives me the root stage height/width not the loaded movie stage height/width. I found something on this in the actionscript forum ...more >>


DevelopmentNow Blog