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 2005 > threads for friday march 11

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

onEnterFrame
Posted by kyugawa at 3/11/2005 11:41:16 PM
I am using the onEnterFrame event to animate objects and checkt he status of my movie. The problem is that I am getting a noticable lag in performance when I run my swf file. I monitor the CPU usage and it is at 100%. Does anyone know what my be causing this? I attribute it to the onEnterFrame...more >>


HTML embedded image screws up text
Posted by Xccelerant2 at 3/11/2005 10:49:48 PM
Hello, Came across this weird problem and wondering if theres a fix. I have a text field thats getting text from a loaded text file that has html code in it. Some of the code includes the src tag. The src tag works fine until I try to load an image that is about the same width as the text fie...more >>

Finding similar items within different arrays and returning new array
Posted by TheDoubleG at 3/11/2005 9:47:32 PM
Is it possible to take several different arrays, find similar items within each array, and return the results as a new array? For example, I have three different arrays: array1=["red", "yellow", "blue", "green"] array2=["orange", "purple", "red", "blue"] array3=["blue", "orange", "red"...more >>

detect mouseover irregular shape
Posted by lumpy mcfunkerson at 3/11/2005 9:29:07 PM
Howdy - I'm a serious Flash newbie that's been thrown into the ActionScript waters at work... I'm trying to figure out how I would determine if I'm mousing over an irregular shape. The coordinates of said shape are provided by an xml file. Basically, I need to know if the current x/y of th...more >>

help: passing parameters to a class that extends movieclip
Posted by funkDaddyFlash at 3/11/2005 9:17:03 PM
I'm trying to pass initialization values to a class i created that extends MovieClip, but when I do, the constructor for my class sees the incoming parameters as undefined. Any ideas? I have this in my timeline: this.attachMovie("mcEventNode", "node1_mc", this.getNextHighestDepth(), {_...more >>

Shared Object
Posted by jeffpelletier at 3/11/2005 8:25:56 PM
I'm very new to Actionscript, and I would like to create an invisible shared object that upon the .swf loading, creates something that, when the page is revisited by the user a second time, points the movie to a different scene. I know enough to know this is fairly simple, but don't know the ...more >>

Kerning on Dynamic Text?
Posted by abeall at 3/11/2005 8:10:47 PM
Is it possiblt to apply kerning to dynamic text? It doesn't look like there is. Is there a way to fake it? I only need a single line. TIA...more >>

mouse position
Posted by rolorolo at 3/11/2005 7:43:11 PM
I'm doing a tutorial on making the mouse positions x and y appear in dynamic text box's whose names are x_pos and y_pos.My probelm appears to be with my code...it says it contains syntax errors.Could somone please tell me whats wrong with it? Here's the code I'm using: x_pos = _roo...more >>



Interface Setters and Getterss
Posted by bobpf at 3/11/2005 6:39:08 PM
I have an interface in which I want to define some setters/getters to be implemented by the concrete class. But when I execute the movie the compiler issues an error stating setters and getters are not allow in interfaces. How should I go about structuring my code to enforce a contract with ...more >>

Loading HTML into Flash
Posted by Quasimotolioli at 3/11/2005 6:09:48 PM
Okay, I have had success so far using these forums so here it goes again... The age old question: how do I load HTML into my Flash movie? I am useing Flash MX 2004, and I would like to be able to load a simplt HTML page that really has nothing on it except a custom token tag that calls a mo...more >>

Freeze the Movie
Posted by darrenmccann101 at 3/11/2005 5:29:49 PM
Hi. I'm currently working on a Flash animation for TV. It's a bit of a South Park affair. This particular animation is of a girl waving a flag, which is one movie symbol. She is also blinking which is another movie symbol, there's a van driving around in the background (that has it's wheels s...more >>

Simple Answer To Button Question
Posted by Deaf Mike at 3/11/2005 4:22:02 PM
hi - i have this book from peachtree that's teaching me F7. it's been a while since i've been using the program. i built a button and created all of its states. then i made it a symbol. i then created a 2-scene movie. i put the button on scene one and an action on another layer to stop ...more >>

flash & html
Posted by Lotjeneedshelp at 3/11/2005 4:21:44 PM
Thanks so much for opening this. I would be thrilled if someone knows the answer to this...! I'm quite new to flash, and I'm making this website with a few different flash movies in it. One of them is a pop-up menu. Now I would like to link from the buttons in this menu, to another flash m...more >>

Button counter activates next action
Posted by stiky at 3/11/2005 4:07:01 PM
I've made a wordsearch game. As you push buttons the words are ticked off and a score goes up by one. on(release) { _root.score += 1; } That works fine. But the problem comes when I wan t the game to finish with a WELL DONE! To activate this I want to advance the needle to frame 2 to s...more >>

undefined variable
Posted by plaidpnts at 3/11/2005 3:58:33 PM
The variable YrHired should be determined by the value the user enters as input text. It is coming up as undefined. What do I need to do differently? function getYearsEmp () { var curDate:Date = new Date(); var curYear = curDate.getFullYear(); var YrHired = text.YrHired var Yrs...more >>

Loading a text file
Posted by guttyguppy at 3/11/2005 3:54:59 PM
I'm trying to make a movie that displays a random word from a text file (words.txt) that contains the following:. wordList=word1,word2,word3,word4,word5,word6,word7 Here's my code: loadVariables("words.txt","_root"); wordArray=wordList.split(","); randomWord=random(wordArray.length);...more >>

help with scrollpane
Posted by bill_sr at 3/11/2005 3:24:03 PM
OK, brainfog time again. Here's what I want to do. 1) dynamically create a bunch of checkboxes using createClassObject() 2) display them inside a ScrollPane component. Sounds simple enough. Step one requires me to create a movieclip MyOptions_mc, and loop through all items creating a checkbox...more >>

( gotoSlide ("slide1") - Please Help !!!
Posted by Jean Bang at 3/11/2005 2:35:26 PM
Hi There - please Help !! I'm making a presentation loop with slides, (screens) and everything is running smoothly but.......when I get to the last slide and has automatically go to slide 1 ( gotoSlide ('slide1') ) and start playing again nothing happens. It finds the 'slide1' but it will no...more >>

Playing Symbols
Posted by Trish V at 3/11/2005 1:23:11 PM
Hello, I am after a bit of actionscript help...it is probably simple, but I can't get it... I have my main stage and there is a button on it, as well as a symbol called 'fast'. In this symbol I have an animation, but at the first frame I have a stop action. My question is, can I click the butt...more >>

loadMovie($variable) problem
Posted by LilMissie at 3/11/2005 1:22:27 PM
flash mx, actionscript 2.0 I'm trying to load in a photo onto an empty mc. _root["kaart"+i+k].foto.loadMovie("http://www.uvsv.nl/image/clubnet/pasfoto/klei n/" + _root.arrayMetFotos[randomNummer].value); When tracing trace(_root.arrayMetFotos[randomNummer].value); I get ...more >>

calling external images
Posted by crazymicki at 3/11/2005 12:07:44 PM
i kown how to call external images but there should be a fade in fade out effect to the images...more >>

URGENT!! Include japanese chars
Posted by a-cross at 3/11/2005 11:34:24 AM
Hi all I managed to load japanese text (SHIFT-JIS) from an XML file into a dynamic textfield (FONT=Arial) in flash. When I publish it everything looks fine. Now as soon as set the property of that dynamic textfield to include all japanese characters it doesn't display my text anymore. ...more >>

External streaming mp3 doesn't loop
Posted by steve blood at 3/11/2005 8:29:01 AM
I have a movie which loads external mp3's and plays them. They're quite long and play once which is fine. However, if I want a short audio file to loop it doesn't ..............can streaming audio loop in MX 2004?? I'm using this code [it's for multiple mp3's - hence extended second line...more >>

Flash to HTML (Switching out background Tables)
Posted by Jonbojangles at 3/11/2005 8:24:09 AM
I am trying to build a flash controller which changes out a background located inside a table inside of my html document. Currently I have the Flash trying change the background to my html file through javascript. In javascript, I am using document.write(' ' +args ' ') and having it co...more >>

Question about array
Posted by brahill415 at 3/11/2005 8:02:02 AM
There is something wrong with my script. I want to control a movie using three different buttons on main stage with two arrays like: btn=[bt1, bt2, bt3]; frm=[frm1, frm2, frm3]; for (i=0; i<3; i++) { btn.onRelease = function() { Movie.gotoAndPlay(frm); } } It does work i...more >>

Changing the vertical stacking order
Posted by brahill415 at 3/11/2005 6:47:59 AM
I have two movies, movieA and MovieB in different layers. movieA sits on a layer on top of the layer of MovieB. Is there anyway to make movieB come to the front of MovieA, when clicking movieB? Thanks. ...more >>

Help with buttons in MX 2004
Posted by toddmusicman at 3/11/2005 6:47:18 AM
Hello, I'm hoping someone out there can help me. I don't know what I'm doing wrong. I'm new to Flash, I'm using MX 2004, and I'm having a problem with buttons. I've read past posts and nothing has answered my question. I'm currently using Flash to make a .exe to autorun for a CDRom project...more >>

Why are my MP3s playing too fast!?
Posted by GmR at 3/11/2005 6:15:02 AM
I am loading external MP3s into Flash with the sound object. Strangely, any MP3 that is saved at under 32Kbps is playing at high speed, sounding like chipmunks! Can anyone tell me why, and how I can play 16kbps MP3s loaded externally? Thanks Geoff ...more >>

rearranging arrays
Posted by Charmaine99 at 3/11/2005 5:33:28 AM
Help please... I'm attempting to make a function that rearranges the values /positions in the array when you click on a btn with value 'arrayPos'. The rearranging would work like this... the btn or 'arrayPos' chosen would be pushed to the front of the array, or a new one, those values pre...more >>

Test if a Sound Object is Playing
Posted by GmR at 3/11/2005 4:58:57 AM
I need a grass roots test to check if a Sound Object is playing or not. However, it seems the mySound.position variable is not refined enough to test within a single function. e.g this test is useless: marker1 = mySound.position; marker2 = mySound.position; marker 1 wil...more >>

I'm a newbie, dont laugh...need help quick
Posted by crystalclearvideo at 3/11/2005 4:27:20 AM
OK, I am teaching myself flash, so forgive me for the simple terminology. Please try to respond the same way... (in other words... take me through a step by step process). I am trying to ceate a simple game in which the user finds a key. Once the key is found, I want the key to follow ...more >>

can I rename movie clip on the scene??????
Posted by zzdobrusky at 3/11/2005 4:00:35 AM
Hi, I am building a slideshow, 5 photos next each other (only the center one unmasked) would move to the left or right depending which of the two buttons was activated, when moved left I want to load new the rightest picture and unload the leftest picure and then rename all other movie clips w...more >>

Dynamically Creating Objects in a loop
Posted by RNH at 3/11/2005 1:07:35 AM
Hi, I am going crazy trying to figure a way to create a new Object using the constructor function each time a for loop is run. My data is structured so that I need an associative array created from the Object. The Object is then pushed into a regular Array. Does anyone know how to dynam...more >>

Flash and Javascript
Posted by Jonbojangles at 3/11/2005 12:16:07 AM
I want to pass a text string from flash into a variable in javascript. Can anyone point me to the syntax on how to do this? Any help is much appreciated. Thank you. --j...more >>


DevelopmentNow Blog