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 thursday march 24

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

Dynamically created text field issues
Posted by fasterthanlight at 3/24/2005 11:39:01 PM
Ok, so, a client of mine needs an image viewer application to be created. What I need to do is create movieclips on the go depending on a variable loaded from the database textfile. For example, if the variable was 4, then only four movieclips would be created. Now, these movieclips need to lo...more >>

load/unload question
Posted by tozzy2 at 3/24/2005 10:43:39 PM
Hi. Im kinda new to actionscript so this is probably a no-brainer for most of you. Heres the problem. I have a 2nd movie that opens and plays on the emptyclip of the main movie when the movie loads. heres the code thats on t the first frame of the main movie: emptyClip2.loadMovie("int...more >>

Is a movieclip playing or stopped?
Posted by ShaneHoffa at 3/24/2005 9:37:41 PM
How do you test if a movieclip is playing or not? Thanks, Shane...more >>

Loading SubMovies
Posted by jsedrick at 3/24/2005 9:37:33 PM
Is there a way to control where a SubMovie loads. I have a main movie that I'm loading submovies into level 1 and need to control the location of the SubMovies so it is aligned correctly. Thanks J...more >>

MediaPlayback.ContenPath
Posted by BarryInDC at 3/24/2005 9:20:18 PM
I am new to MX04 and I have a very basic question... I am trying to swap out MP3s on my MediaPlayBack control. I start with an MP3 that is in the properties, and I have "autoplay" on. When I run it the MP3 plays fine. Then I want to change it.... Associated with a button I have this ...more >>

Scroll for dynamic text field
Posted by jgomula at 3/24/2005 9:19:50 PM
Please? When I load new text into the dynamic text field, if the user has scrolled down, the new text is scrolled down as well. Can I reset the scroll command to line 1?? scrollDown.onRelease = function ( ) { loadedInfo.scroll += 1; } scrollUp.onRelease = function ( ) { loadedInf...more >>

tell a friend
Posted by bundas1000 at 3/24/2005 9:16:42 PM
I was wondering if someone can point me where I can find a tutorial about tell a friend feature? The idea is to have an animation where diferent colors(same product offered in different colors) will be chosen and then visitors will have an option to send to a friend that animation in the colo...more >>

Delaying Actions
Posted by brandon_haslip at 3/24/2005 9:08:01 PM
I have a button and on (release) I have two actions that I want to run but I want to have a two second delay between the two. I am trying to use setInterval but I can't seem to get it to work. Here is the code I have so far: on (release) { holder.gotoAndPlay(2); delIn...more >>



simple long variable syntax question
Posted by kdmc75 at 3/24/2005 8:34:27 PM
I'm trying to set this variable "navchoice" to contain the parameters necessary for an attachMovie later on down the line. this is what I have, but it results in the variable just being set to "mccontactclients". I can't figure out how to group it all together: navchoice = "mccontentc...more >>

returning moviecip from AS 2.0 class
Posted by mikeshank at 3/24/2005 8:23:16 PM
I made a class for creating a box. Basically the creation of the box happens in the constructor, which creates the box clip on the timeline that i pass when instantiating the object. What i really want to do is, instead of creating a clip on a timeline, I want to return a box clip with a meth...more >>

Delaying loadMovie??
Posted by brandon_haslip at 3/24/2005 7:34:38 PM
Is there any way to put a second or so delay on the loadMovie action. I have an swf that is the shell of my site, then when clicking the Rooms button it plays a waterfall animation that I have made and loads the Rooms page. The problem is that after clicking the Rooms button it loads the Roo...more >>

Random selection from myArray
Posted by Vee at 3/24/2005 7:06:59 PM
I have an array (which Im only just learning how to use) that has strings: myArray = new Array(); myArray[0] = 'yes'; myArray[1] = 'no'; myArray[2] = 'maybe'; myArray[3] = 'ask me later'; Then I have a mc which when dragged I want those strings to diplay on a screen. I have done that like t...more >>

Creat a drop down list???
Posted by imaschmuk at 3/24/2005 5:39:26 PM
Hi. Im pretty new to Flash and I really need to find a way of creating a dropdown list in a standalone flash player. The list when clicked will go to different scenes within the movie. So when the user mouses over scene3 in the dropdown list and then clicks it, they are taken to scene ...more >>

problem with name.split
Posted by Mike7222 at 3/24/2005 5:17:26 PM
Hi, thanks for reading my post. I have a movie clip on the main timeline called hp1 and a variable associated with it called hp1.AttCol. The variable holds the value "s1". When I click on this moviclip i run code from from the main timeline using onRelease function and try to name s...more >>

Problem with enterFrame
Posted by UsualSuspect at 3/24/2005 5:07:30 PM
Here is my problem. On enterFrame, when key up is pressed, my guy moves up. Noproblem. But at the same time, I want him to move his arms and shoulders like he's walking. So I did in him a little looped animation, but the goddamn enterFrame makes him stay on frame 2. I just want to start it so ...more >>

RSS Reader - help with CDATA
Posted by Mark Pusateri at 3/24/2005 5:02:22 PM
I'm trying to build a little RSS reader using components from MX 2004 Pro for inside my company and need to show the description text from the rss. The description text is within CDATA tags. Is there a way to display this text in a component? Thanks ...more >>

help for a spiral drawing
Posted by reuv at 3/24/2005 4:17:24 PM
I need a code for drawing a spiral, or a point moving from the center in a spiral curve, or any way for drawing static or dynamic spiral. thanks ...more >>

preloading in the background?
Posted by brandon_haslip at 3/24/2005 3:36:13 PM
I am building a site with about ten different pages (all different swf's). The transition between pages is a separate swf also (my transition animation is quite large at 700k). Is there a way that I can preload this swf in the background of my main movie so that when a user clicks a differen...more >>

SlideShow help please (scripts included)
Posted by tempestmagi at 3/24/2005 3:31:55 PM
Hi all, I have a script finished that creates a nice slideshow. It works fine for the images but I would like to have it bring in the title, author, and location of the corresponding image. Can anyone please help me? I have attatched both the script and the xml file. I just edited the f...more >>

Changing reference name
Posted by Porsche_2004 at 3/24/2005 3:02:32 PM
Hi, Would you please let me know how can I change a reference that points to an object. For example: this.createEmptyMovieClip("grayButtonMovieClip", this.getNextHighestDepth()); grayButtons = grayButtonMovieClip; grayButtons._name = "grayButtons" + i; In this example the name of...more >>

Re: embedFonts problem
Posted by eklemen at 3/24/2005 2:19:31 PM
*bump2* hello? :)...more >>

Help w/ loadMovie
Posted by Willie5000 at 3/24/2005 2:17:54 PM
I have an empty movie clip (laptop_mc...btw, any help on the actions for this movie would be greatly appreciated), and what i want is this: whenever a user mouses over a button, that movie clip will go to and play the appropriate segment, and when a user clicks on a button, the movie clip will...more >>

which came first ?
Posted by a little ant at 3/24/2005 1:04:32 PM
Which came first. The chicken or the egg?...more >>

Which font to use?
Posted by CP55 at 3/24/2005 12:48:15 PM
Is there any textfield font that most closely resembles it's design look and size when viewed in the player? I've a couple of large-ish text fields where the text just fits neatly in to the field in the design stage, but when viewed in the player it expands and no longer fits its space ... I t...more >>

check if swf is loaded
Posted by Toon No.9 at 3/24/2005 10:51:44 AM
Hi I have split my flash program into sections and am loading in external swfs into a movie clip using basically the following code: stop(); myClip_mc.loadMovie('myMovie.swf'); this.onEnterFrame = function() { percent_loaded = Math.round((myClip_mc.getBytesLoaded()/myClip_mc.getBytesTota...more >>

Export linkage in other frames
Posted by saro_iran at 3/24/2005 10:49:03 AM
hi , I have a big MP3 file in my project , I put in library and linkage for Action Script but I don't put this item to time line , I want to export this item in frame 2 beacuse my proloader in frame 1. please help me ! sorry my english not good. ...more >>

ball
Posted by rolorolo at 3/24/2005 4:02:17 AM
Hi,I'm looking for a tutorial or action script that creates a bouncy ball that can be bounced around in the stage and also bounced off the mouse pointer. Could someone please help me with this? Thank-you:) ...more >>

loading variables and using with masks
Posted by Fall Time at 3/24/2005 2:45:25 AM
I am building the following site http://www.triotalentagency.com/mixx/ I am able to bring in variables, in this case a string, to put in a dynamic text field. If you look at that link and click on "Music" then you'll see what I'm talking about. I can get the variable from an external txt...more >>

No Action
Posted by emiel4566 at 3/24/2005 2:23:48 AM
I recently had a virus or two on my computer that drags my mouse to close my browser window. The problem occured when I was working on a flash project and my mouse draged the window out of focus. I can't even see the action panel at all now. has this happend to anyone else or any suggestions. ...more >>

createEmptyMovieClip and layers
Posted by Paulo C?sar Alvim at 3/24/2005 1:46:32 AM
I have a mother movie and it loads another movie. This movie (the daughter) has buttons that loads another movies above it. I used this code for the buttons. But when I load the daughter movie in the mother, it's appearing above of all the mother's layers and some of this layers can't be o...more >>

replay
Posted by Fishbrains at 3/24/2005 1:44:15 AM
how can i make it so that after a sceen ends it will start over not the whole thing just the sceen(sceen 7)...more >>

Hit Tests
Posted by ArcaneMX at 3/24/2005 1:39:40 AM
I have just dicovered the joys of hitTest ( I am still very new to Flash ). I was wondering if the hitTests only detects when the center of one mc collides with another mc. I would like to like to know how to tell it to detect a hit when even the tip of one mc collides with the tip of anothe...more >>

Combobox hindering buttons
Posted by domconlon at 3/24/2005 12:05:12 AM
i have a combobox and some buttons on a page. the buttons work fine until you change the category and then the button action becomes erratic and often doesn't respond. is there a bug in the combo box that once selected it messes up button presses? and if so - what's the fix? this is driving...more >>

Array and loop
Posted by brahill415 at 3/24/2005 12:00:00 AM
I have problem loading a series of ex. movies assciated with buttons using two arrays and for loop. Btn=[bt1, bt2, bt3, bt4]; // button array cMov=["pages/1.swf", "pages/2.swf", "pages/3.swf", "pages/4.swf"]; //movie array. for(icr=0; icr<6; icr++) { cMov[icr].nbrID = icr; ...more >>

How to open URL in new window
Posted by howren at 3/24/2005 12:00:00 AM
Does anyone know how to open a URL in new window? My problem is I cannot open a URL in new window using the action command getURL('myNext','_blank'). Each time I click the hyperlink, the page reloads into my original flash. That's not what I wanted. I want it to open into a new internet explo...more >>

How to to accelerate the speed of my flash?
Posted by hongrui at 3/24/2005 12:00:00 AM
Now I have builded a small web site use Flash MX Professional 2004. The type of Flash is "Flash Form Application",and the Form Application has about 30 froms. The '.swf' file that the Application published is 227KB. But when I access the flash use IE in the web the following alert always pop...more >>

php email form in flash
Posted by freakyapple at 3/24/2005 12:00:00 AM
i want to integrate a simple contact form in flash that uses php to send. i was testing it out in my web server but it doesn't send. it shows in the status bar of the browser that it is waiting (waiting for www.mydomain.com...) but it just waits forever. my web server runs php since i teste...more >>

Pros please for the love of........ *************
Posted by skoolyb at 3/24/2005 12:00:00 AM
Hey guys... please help... this is my first visit here after googlin' like no tomorrow searching for answers with no luck. I have my doc set to 800 x 600, when I publish to the projector all seems well. On my lcd monitor the projector file when maximized fits perfectly into my window, so I...more >>


DevelopmentNow Blog