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 2005 > threads for thursday 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

Combobox - targetting frames
Posted by pptdgc at 4/7/2005 10:52:33 PM
I have created a combobox with 5 different labels. How would I make each lable target a different frame within this same movie? Thanks...more >>

Volume control for a loaded movie in _level1
Posted by cconcannon at 4/7/2005 10:03:03 PM
I am trying to control the volume of an SWF file that I've loaded into _level1. I've tried using my_sound = new Sound(_level1); and then on the button script I use: mute_btn.onPress = function(){ my_sound.setVolue(0);//mute volume } but it isn't working. Am I missing something? The au...more >>

smooth preloader
Posted by g5604 at 4/7/2005 9:06:16 PM
Hi, my code is working nicely. However i want a to make the loader bar play smoothly, if possible add a bit of easing to it. any idea how to do this? many thanks, Gareth. _root.createEmptyMovieClip('holder_mc', 1); holder_mc._x = 100; holder_mc._y = 200; but1_btn.on...more >>

urgent problem: Unloading Movie using unloadmovie
Posted by ryan from KEMI at 4/7/2005 9:05:54 PM
I need some help quick! I'm working on a .fla file in MX2004 Pro - I have multiple layers in this fla file and have lots of "movies within movies" ... Here's what I can't figure out: On keyframe number 1 (called Testimonials), there's a link to keyframe 10 (called Overbrook). When the "O...more >>

Using duplicateMovieClip();
Posted by fasterthanlight at 4/7/2005 8:03:06 PM
Hey there, I'm using the duplicateMovieClip(); command to create a whole bunch (depending on a variable, in this case its called sum) of empty movieclips that will load pictures into them depending on which number they are. Here is the code I've come up with, and as usual, it doesn't work: ...more >>

Load Bar Help
Posted by tylerrooney89 at 4/7/2005 7:53:31 PM
Ok. Well, I have a load bar, and the code is this: LOADED = Math.round(getBytesLoaded()); TOTAL = Math.round(getBytesTotal()); PERCENT = LOADED/TOTAL; BAR._width = PERCENT*150; TEXT = Math.round(PERCENT*100)+'%'; if (LOADED == TOTAL) { gotoAndPlay(3); } Ok....more >>

targeting buttons in movie clips
Posted by w3designer at 4/7/2005 7:29:50 PM
im trying to target buttons in a movie clip, but it seems that the buttons dont work unless they are in the first frame of the movie clip im trying to target and/or the underlying movie clips.. maybe im doing someting wrong. im targeting them with this function _root.portfolio_mc.portfolio...more >>

Help w/ gotoAndPlay
Posted by Willie5000 at 4/7/2005 7:06:35 PM
I have three scenes in my movie, and i want them to play sequentially. On the last frame of the Actions layer in the first scene has a stop action and _root.gotoAndPlay('scene1_frame1'), because I've read here before the advice not to use Scene Names in the actual script. That seems to work,...more >>



Linking from an XML sourced menu to call an external swf
Posted by gungus at 4/7/2005 6:34:51 PM
Hi, I have an xml menu that when a user clicks a menu item, it loads an external swf into an empty clip. The only toots I've found link to an html page. Can anyone help with the code for loading an external swf from an xml menu? my xml: <Item name="Blue" url="http://www.blue.com/" ...more >>

A question about handling onRollOver of a movieclip
Posted by Porsche_2004 at 4/7/2005 5:21:06 PM
Hi, I wana handle the onRollOver event of a movie clip object. But when I override onRollOver function then it acts like a button. i.e. the mouse pointer converts to hand during roll over. So the children of the object are disabled to handle its own roll over function. Now I'd be thankful ...more >>

Rewind, reverse, play frames backward
Posted by IndieMonkey at 4/7/2005 5:20:59 PM
Hello! ...more >>

ActionScript Movement
Posted by Boldizar at 4/7/2005 5:16:46 PM
I am learning actionscript and I am having a hard time figuring this out. I am just trying to make a box move a different direction everytime I click on it. All I have is this: createEmptyMovieClip('box', 100); box._x = 175; box._y = 100; mover = 0; with (box) { beginFill(0x000000); moveTo(...more >>

Flash Paper Issues!
Posted by SmileyBlue at 4/7/2005 4:59:22 PM
hi everyone, i have a flash paper file that im trying to load inside another flash movie (projector),the path of the flashpaper file is sent as "http://myserver/files/document.swf" . i used the functions specified in http://www.macromedia.com/devnet/flashpaper/articles/import_flpaper2.htm...more >>

Need help wiht Button please
Posted by Chris Goodiel at 4/7/2005 4:31:30 PM
I have three buttons on my stage in scene one an animation plays and there is a script to stop the movie to continue on the scene 2,3 and 4. I can't seem to figure out how to correctly type the actionscript to allow the buttons to move the movie along to the next scenes. your help is gre...more >>

EventDispatcher class vs. Delegation Event Model
Posted by mikeshank at 4/7/2005 3:34:10 PM
Does the EventDispatcher object accomplish the same functionality as the 'Delegation Event Model' pattern described in 'Essential Actionscript 2.0' ? It seems to me it does, but I may be missing something. ...more >>

help quick
Posted by Liebs66 at 4/7/2005 2:59:13 PM
well im using dot syntax and i have a "badguy" movie clip and after a certain amount of time he attacks and when the attack happens i would like another movie clip that is the health move to the next frame were one health bar is down is there a way to make another movie clip do something fro...more >>

How to format my Input text???
Posted by Amcasperforu at 4/7/2005 2:53:51 PM
Hi all, I created an input text, how can I format this input text to accept only one decimal place such that 10.90 11.00 19000.00 ??? I use the _root.txt.restrict = 0-9.; However it accepts many decimal places. ???? Thanks. ...more >>

Error Handling - External Picture
Posted by designsbybob at 4/7/2005 2:52:47 PM
I have a group of external images....gold1.jpg through gold6.jpg in the folder "gold". Is there a way to catch a "Error opening URL" error when one of the pictures is not there and cause a script to run once the error has occured. I tried using the "try...catch...finally", but have had no...more >>

Doesn't anyone know how to make open browser window work?
Posted by Chris J at 4/7/2005 2:35:51 PM
I am frustrated trying to open a new browser window set to a certain size with only resize and scroll available. Someone suggested: http://www.moock.org/webdesign/flash/launchwindow/launchwindow-javascript.html I went there and tried to implement what they had but it is not working. can anyone ...more >>

PHP/Flash download Jpeg Problem
Posted by tralfaz at 4/7/2005 2:25:20 PM
Today I have been testing the code posted by urami_ that uses server side PHP with flash to provide download capability for files like MP3, PDF, JPG, etc. It works fine for MP3 files. Thanks for posting it urami_! Now I was making a JPEG version that would allow visitors to a website to ...more >>

Reorder Array
Posted by Keith Dodd at 4/7/2005 2:23:02 PM
I have a list box generated by looping through an array. (the array contains label and data). Want to have an Up/Down function that when a certain item is selected, it can be moved up or down in the sequence. For example, if item 5 were to move up one, it would become 4 and the one above wou...more >>

Picture viewer
Posted by Brian at 4/7/2005 1:58:00 PM
I am using this picture viewer wich uses the below AS. I would like to be able to go to a sprecific image, rather then only the first one, how would I be able to do that? Thanks for the help! Brian function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild; ...more >>

getURL("javascript:") doesn't work with special characters in arguments
Posted by Pippomusic at 4/7/2005 1:05:46 PM
Hello, this is a psychedelic bug in Flash... If I call a javascript: getURL('javascript:alert('aeiou')'); // WORKS FINE getURL('javascript:alert('?????')'); // DOESN'T WORK!!! Any clue? did someone find this bug before? namaste Pippo ...more >>

weird alpha calculation problem
Posted by madoggi at 4/7/2005 11:10:29 AM
I have a mocvieclip instance called : mcBG, and the following code. When the mcBG._alpha property is set to the strafeAlpha value, the onEnterFrame function still executes the fnDoStuff function. It seems that the alpha property is not exactly set to 80; Anyone seen this before ? stop(...more >>

Help Needed
Posted by renzz at 4/7/2005 10:37:42 AM
i really need help on my proj. I am able to insert the data from my flash form to Microsoft Access using ASP. After the data had been inserted into the database, another window explorer will open up and those form data that the user had input will show in it and the flash movie will go to my n...more >>

Controlling flash with JS in Mozilla
Posted by neondust at 4/7/2005 9:55:30 AM
Hi, WIN XP Mozilla 1.0 I would like to controlle flash from HTML in mozilla browser with gotoframe command. Problem is that it works in IE but not in Mozilla. Can you help me with that one. I allready posted this in flash general discussion. I hope I'll get answer here. thank y...more >>

AS and XML picture viewer
Posted by Brian at 4/7/2005 8:57:16 AM
I got this picture viewer from kirupa and it seems to work great for what I am trying to do. The only problem is that I would like to be able to go to a specific photo rather then the first one each time. And I would like to do this from an html page. So I would have to be able to send a var...more >>

skew transform from script?
Posted by danredman at 4/7/2005 8:31:48 AM
how do I make a skew transform from script?...more >>

Can someone explain positioning
Posted by ChuckyLeFrek at 4/7/2005 7:35:31 AM
Hi there I have been using Flash for over 3 years and still can't quite figure out how the positioning of movie clips works. My current problem is a jigsaw puzzle I am making. I have everything in a movie clip called 'game_mc' hence the path to a piece is _level0.game_mc.piece1_mc I have th...more >>

Understanding Custom Anything
Posted by Snow Raven at 4/7/2005 12:47:24 AM
Salut mes amis! I have some question regarding AS and the (I'm sorry to say) hard to understand lesson on Custom classes, creating classes, and creating Custom instances that is in Jen's book "Flash at Your Fingertips" . I did understand it for a while... unsure.gif ....but I would like...more >>

adding icons to list elements
Posted by shaggydagy at 4/7/2005 12:24:49 AM
Hi: I have a list component with several elements, each element is a company, when the user clicks on the element it opens a new window with the URL of the selected element, by now everything works just fine. The thing is that I'd like to add the logo of each company (element of the list). ...more >>

Collision Detection With A Wall
Posted by davidprovost at 4/7/2005 12:16:01 AM
How would I get it so that if a car hits a wall the car stops? Some kinda hitTest function Im just not exactly sure how....more >>

using strings as references to arrays
Posted by dspgh at 4/7/2005 12:15:03 AM
I am trying to access an array named sum05_bangles by putting two strings together which have returned from different fuctions. The following works: currentArray = sum05_bangles; currentArray[0]._visible = false; however, if I split it into two parts, it does not: currentArray = "sum...more >>

please help me !!!!!!!!!
Posted by Gackaca at 4/7/2005 12:12:03 AM
please give me the code:frown;...more >>

button code
Posted by Gackaca at 4/7/2005 12:05:27 AM
all i need is the basic actsion script fro button!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:confused; ...more >>

Movie Control
Posted by VijchtiDoodah at 4/7/2005 12:00:00 AM
I want to make a button that, when pressed, moves the movie back 5 frames. What code do I need to do this and, just for reference, what code could I use to make the movie clip jump (or hop, or skedaddle) forward 5 frames? ...more >>

Controlling a movieclip's speed? (speed up/slow down)
Posted by zedtech at 4/7/2005 12:00:00 AM
Hey all, been working on something all day but am truly stumped and hope you guys can lead me in the right path :) Is there a way to control a given movieclip's tween/timeline speed using Actionscript (I'mthinking setInterval but not sure how to do it)? What I'm attempting to do is the have a...more >>

Search Function
Posted by send2me at 4/7/2005 12:00:00 AM
I'm trying to us my works html search script in a flash format. How do I convert the following to actionscript? <div id="Layer1" style="position:absolute; width:194px; height:99px; z-index:1; left: 656px; top: 177px;"> <table width="100%" border="0"> <tr> ...more >>

loading .txt files
Posted by besatree at 4/7/2005 12:00:00 AM
here is my problem.... i have a main movie ("movie1"), and on "movie1" there is a button that loads a second movie ("movie2") into "movie1". in the first frame of "movie2" i have actionscript that loads a .txt file. when i go check "movie2" it works fine, loads the .txt file with no prob...more >>

css in flash mx 2004
Posted by steph at 4/7/2005 12:00:00 AM
I don't understand why my dynamic text isn't being formatted by my style sheet. http://staging.kangasoft.com/3h_group/index.cfm For example, the link colour should be red as per the style sheet. Also, I have an image that is supposed to show next to the "more" text. I have selected "re...more >>

Help: externally loaded SWF
Posted by Ryatsuix88 at 4/7/2005 12:00:00 AM
Hello all, I just made a flash site with buttons on top and I put a empty movie clip called "container" in the middlle of the site. All animation and buttons will animate and appear and "flash" around until frame 90. The site ends at frame 100. I then included the following code in frame ...more >>

HELP loadmovie outside the border visible...
Posted by tg-1 at 4/7/2005 12:00:00 AM
Hi all, I cant't belevie no one has this problem here... I have an external ..swf movie i load into a movieclip (or a loader component) that works butr it shows me the hidden areas around it as well when items suppose to go 'of screen' and the size of the mc does not effect the flash file i...more >>

loading .txt files
Posted by besatree at 4/7/2005 12:00:00 AM
here is my problem.... i have a main movie ("movie1"), and on "movie1" there is a button that loads a second movie ("movie2") into "movie1". in the first frame of "movie2" i have actionscript that loads a .txt file. when i go check "movie2" it works fine, loads the .txt file with no prob...more >>

Advanced quiz?
Posted by twistedpancreas at 4/7/2005 12:00:00 AM
I need something a little more complicated than Flash's Quiz to set up. The user has to type in a word that begins with a certain letter and ends in a certain letter, regardless of what the rest of the letters of the word are. I need Flash to reconised the correct first and last letters, t...more >>

How do I hide scrollbar in ListBox Component?
Posted by napx at 4/7/2005 12:00:00 AM
I'd like to write my own "scrollbar" that has an arrow at the top and an arrow at the bottom over the main column for scrolling up and down. Obviously that's going to take a little R&D but in the meantime how do I get rid of the scrollbar space that is allocated on the rhs? It's there even whe...more >>

finish playing movie before playing the next
Posted by w3designer at 4/7/2005 12:00:00 AM
currently im trying to write a function for my sites navigation system. when a user presses one of the navigation buttons it plays a movie script that contains content depeding upon what they clicked on, ie "portfolio" loads the portfolio section. the problem lies with the fact that when i c...more >>


DevelopmentNow Blog