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 > august 2005 > threads for saturday august 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 31

order and number of times AS code executed
Posted by leut at 8/20/2005 11:16:22 PM
I am having trouble understanding the order Flash choses to execute code for what I would think would be a simple case. Consider the following experiments: 1) Create an application with two frames. Attach AS code to each frame, say: Frame 1: trace("inside 1") ; Frame 2: trace("t...more >>

Button stay on 'over'
Posted by jmh722 at 8/20/2005 10:03:48 PM
I'm reposting this with a new link to the movie: If I press a button that toggles to the next MC and press the 'return' button, the next time I go back to the 'return' button MC, the button gets stuck in the 'over' state. Here's a link to the problem, See how the first time you go, it...more >>

won't stop playing
Posted by DrEv1l at 8/20/2005 9:28:14 PM
var teller this.onEnterFrame = function(){ teller = teller +1 if(teller == 10){ teller = 0 stop() }} this is a piece of code in _parent.kop_mc on the 3rd frame I put this code so it will repeat the 3 frames until teller = 10 then it should stop and put teller back on 0. It does...more >>

Struggles with transitioning scenes
Posted by WarriorBride at 8/20/2005 9:20:55 PM
I am still beginning my process of building Flash websites, but my desire is for each scene to finish its scene when a Nav Button is pressed and then transitioning to the page that they desire. I do know how to make it jump directly to the page that I want, but I have set up the website aroun...more >>

Mouse detection at edge of flash movie in html page...
Posted by blckbrry at 8/20/2005 8:09:14 PM
Hi, Is there any way to accuately detect if the mouse is outside of the movie on an html page? I don't need to know it's coordinates outside of the flash movie - just the fact that it has gone outside of the root movie area and into the rest of the html page. The problem is when I us...more >>

rollover problem (mouse changing)
Posted by redragonfire at 8/20/2005 7:47:13 PM
Hi, I know how to make a rollOver, but when I make my rollOver, my cursor change to an hand, but I want it to stay normal, how can I do this?? thanks...more >>

Help with Movie Clip Target Path
Posted by tillurdizzy at 8/20/2005 7:22:49 PM
I am using a movie clip that the user inputs values in a text component. The component does not exist on the first frame of the movie clip. When I try to retrieve this value (myMovieClip.textBox.text) it works if the text box is in the first frame, but returns undefined if it is not. I trie...more >>

Need help!
Posted by NetGeek911 at 8/20/2005 5:14:51 PM
Action Script is giving me this error message: Here is the code I entered: this.onRelease gotoAndStop (5) Here is what was in the output window: **Error** Scene=Scene 3, layer=Layer 1, frame=1:Line 1: Statement must appear within on/onClipEvent handler this.onRelease **E...more >>



I Need Help!!!
Posted by NetGeek911 at 8/20/2005 5:01:03 PM
:confused; hi, Do you HAVE to use Action script to do this? I have 2 frames. I have 1 button on frame 1. What I want to do is this: When the user clicks the button it skips to frame 2 and stops there. Could anywone help? ...more >>

runtime class instantiation.
Posted by jwize at 8/20/2005 4:27:23 PM
Is there any way to pass the class name as a parameter? public static function Start(_mc:MovieClip,classname:String){ var myClass:[classname] = new [classname](_mc); } I have many classes that need to be instantiated but the class needs to be a variable. ...more >>

Bottom Level of Movie Visible on Click
Posted by csa at 8/20/2005 3:30:28 PM
I have a main movie which has a blankMC. The following script it attached to the timeline: var myMCL:MovieClipLoader = new MovieClipLoader(); var myListener:Object = new Object(); cover._visible = true My buttons have attached: on (release) { //load swf1 into level1, right ab...more >>

Scripted Animation
Posted by bknowlden01 at 8/20/2005 3:02:30 PM
I'm fairly new to the built in tweening abilities of MX 2004, but have made good use of them thus far. My question, is that when said event happens, i would like part of the animation to fire, and then after, lets say three seconds, I would like a different animation to happen. What I'm a...more >>

Array of words to loadMC
Posted by Rai_Kane33 at 8/20/2005 1:20:17 PM
I have a string of words which are converted into an array have have to problems, I need each word once press to load an external MC based on that word i.e I press the word "wind" and wind zooms in stops and loads a movie clip called wind.swf. in the movieClip "spaceWord" on the first ...more >>

Quick action script question.. grabbing variable from javascript..
Posted by liquilife at 8/20/2005 12:19:53 PM
Good morning, I have what is probably a very easy question. I am trying to pass a variable from some javascript to a swf movie player to stream a flv movie. I am actually using flashobject (http://blog.deconcept.com/flas hobject/), a bit of javascript to embed the flash movie staying within ...more >>

function wont assign variables
Posted by d tizzle at 8/20/2005 11:41:50 AM
anybody? function doIt(go){ trace(go) // trace action spits out all the desired variable assignments return go; /* If I uncomment the below line: _level0.thumbs.imgBtn0.txt.htmlText="P1180028.JPG" my text field _level0.thumbs.imgBtn0.txt.htmlText will display P1180028.J...more >>

dynamic function calling
Posted by jwize at 8/20/2005 7:32:01 AM
function DoSomething(){ } other functions..... function Other(func:String){ // DOn't know what function I want to call except from the string param var func:Function = /// Is it possible to assign a function here. func(); // I want to run the function here. } ...more >>

hairline becomes thick on large scale
Posted by abeall at 8/20/2005 12:56:11 AM
I'm facing a problem: if I have a MC with a stroke, and I scale the MC, the stroke becomes scaled in undesirable ways. So one solution is to use hairline. This only allows for one size(1pt) but maintains appearence. However, I've found that it does not maintain appearence if scaled too much......more >>

Determine External swf dimensions
Posted by norrisoft at 8/20/2005 12:28:11 AM
Hi All, Let's say you create a .swf with dimensions of 100x100. Now, in the center of the page you draw a rectangle 200 px wide so that it is larger than the .swf width. If you publish this with .html and open the .html, the .swf crops to the 100x100 dimensions. However, if you load ...more >>

MovieClipLoader.onLoadInit fails in beta8 player
Posted by jk515 at 8/20/2005 12:00:00 AM
can anyone replicate this issue with the beta 8 player. i have a class that is using the MovieClipLoader, compiled in AS 2.0 targeting 7.19 player. items load once, and then again, however, the onInit event never fires; i suspect it has something to do with caching?! ...more >>

passing a reference to onRollOver
Posted by jwize at 8/20/2005 12:00:00 AM
Having a little difficulty with this. class FadeIn extends CodeFX { private var obj:FadeIn = null; // Set the alpha down and slowly bring back to full. function FadeIn(inst_mc:MovieClip) { // Set the fade function. _mc = inst_mc; // ****************************************...more >>

Scroll on rollOver
Posted by VernMan at 8/20/2005 12:00:00 AM
I have scroll bars setup that scroll using the following actionscript. However, as you can see it only scrolls 22 (or whatever number I input) lines at a time. I would like for the text to scroll so long as the rollOver state exists: on (rollOver) { sam.scroll+=22; } Anyone? ...more >>


DevelopmentNow Blog