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 > may 2004 > threads for friday may 21

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

problems with dropdown menu
Posted by buck love at 5/21/2004 11:52:30 PM
i have made a dropdown menu that is contained in its own movie clip so that it doesn't take up frames on root timeline. I have buttons inside the menu so when the on(rollOver) happens the menu opens but then since the mouse goes over one of the buttons in the menu it thinks that the on(rollOut...more >>


animating alpha with actionscript
Posted by JFalk1 at 5/21/2004 10:31:09 PM
How can I animate an MC's alpha property with actionscript? I want to click a button and have an MC fade out without using a tween. Also, How can I add a delay in the script so that I could have a series of MCs fade out one after another when the button is clicked. Thanks ...more >>

Progress Bar
Posted by kevin_tx at 5/21/2004 9:14:06 PM
Is there a way to create a horizontal progress bar where, if I have a Flash-based course that is 20 frames long and requires the pressing of a "next' button to advance forward in said course, that the progress bar gradually fills up in color the further you move along in the course? As it...more >>

Static Previous and Next Buttons
Posted by kevin_tx at 5/21/2004 9:08:06 PM
I'm new to actionscripting, but I know this can be done.... I've got two simple graphics (no rollover effects or anything - just static left and right arrows) and I'm wanting to place actionscript whereby I convert the graphics to buttons and, upon release after pressing the button - it goe...more >>

displaying minutes and seconds
Posted by waveturtle at 5/21/2004 8:43:32 PM
I want to display the time a song has been playing in minutes and seconds, but I'm not quite sure how to go about it... Could someone either direct me to a tutorial or offer a few scripting ideas? I know it would involve Sound.position and setting an interval to update the dynamic text fie...more >>

Printing a large text field
Posted by Dinghus at 5/21/2004 8:29:50 PM
I have a form that asks for the user's comments. When they submit the form they can also print out a copy. The text box for printing their comments is currently sized to the full page. That sometimes isn't enough and sometimes that is way too much. So my questions are: 1 - Is there ...more >>

Shared Local Object location problem
Posted by Tomcdahl at 5/21/2004 8:24:13 PM
I am having one swf. set variables for my Shared Local Object. so that another swf. can reference those variables and then react to them. This is working exactly how I want it to on my desktop but is not working when I move this to a test server and test from the internet. So this must be...more >>

always me!
Posted by speedy d at 5/21/2004 8:10:57 PM
i always get the tricky ones. Problem solving time: I have a movie clip with an instance name. I want it to appear in another movieClip. Usually you would use attachMovie, only the linkage identifier is not known, so this is not an option. How would you go about copying/putting a mov...more >>



text formatting problem using createtextfield()
Posted by alx88 at 5/21/2004 8:10:08 PM
I am trying to set up a function that when called creates a pop-up window effect with a actionscript-created text box inside. The text within the text box types out like a typewriter. Everything works fine, except that the text in the text box is not being formatted as I want to have happen in...more >>

Syntax problem again Please Help!
Posted by milkhead at 5/21/2004 6:46:46 PM
Hi All Still having wicked problem with syntax. My code stop(); _root.setMask("mask_mc"); myData = new LoadVars(); myData.load("http://www.starladesign.com/hightest/exist.php"); myData.onLoad = function(){ var num = myData.NumItems; for(n =1; n<=num; n++){ pic = holder_...more >>

frustrated, please help
Posted by rythmikone at 5/21/2004 6:43:18 PM
my code below is producing an infinite loop for some reason. please someone tell me why. fyi: the variable being loading into xx is 37 from an external script. , and when i trace xx it returns 37, so my for loop should repeat 37 times, but it gets stuck in the loop and i have to shut down t...more >>

for symbol to center itself at all times
Posted by Jacko is Whacko at 5/21/2004 6:08:49 PM
I'm trying to get a movie clip simbol to automatically center itself on the stage reguardess of what size the swf movie is. Any one have any ideas? Thanks. ...more >>

scaling a mc in the scrollpane component
Posted by rwills at 5/21/2004 5:45:42 PM
Can I control the scale of a movieclip that is automatically pulled from the library into the scrollpane component? More specifically, once the scrollpane loads the movieclip to be displayed into the pane, can I have a set of buttons that allows you to scale the mc up or down? I have tried thi...more >>

Movie doesn't stop
Posted by eyezar at 5/21/2004 5:45:01 PM
Hello, I've put a stop() command in the last frame of a movie, but when the movie gets to this frame it'll stay there for 15 seconds or so then it will loop to the first frame and start over again. Is there a way to use the debugger to see where the command is coming from to move past th...more >>

How to send parameters when opening and SWF via web or locally...
Posted by Arturo Toledo at 5/21/2004 5:40:52 PM
Ok... Say I have an HTML page... I have two buttons. One links to "myDog.swf"... the other one also links to "myDog.swf"... With the first button I need to send a parameter to the myDog.swf movie... with the second button I need to send another parameter to the same myDog.swf movie... ...more >>

where is my textField?
Posted by cruise95 at 5/21/2004 5:06:49 PM
Hello all, In my flash program, I have a MovieCoip called display_mc that contains another movieClip called list_mc. List_mc contains several created movieClips called "thisMC0", "thisMC2", ... "thisMC9". Each of these movie clips contain a textField called "myTextField". i.e. _le...more >>

Preloaders. What's new?
Posted by TC5 at 5/21/2004 4:58:21 PM
I haven't built a preloader since Flash 3 and obviously things must have gotten better since then. I want to create a preloader with a progress bar and % loaded info. Any customizable ready-to-go scripts in MX pro 2004 I can use? I found no mention of preloaders in the meager PDF documentation...more >>

Using Percentages In Flash
Posted by rmiman at 5/21/2004 4:39:49 PM
Is there a way to create a script that uses a percentage? For example: if movie 5% of movie "a" is loaded then do this action?...more >>

setInverval Scope Issues
Posted by EnigmaticPhoenix at 5/21/2004 4:34:16 PM
So I'm trying to do setIntervals within a movieClip within this.onRollOver and this.onRollOut events, but I'm having issues with then clearing the respective intervals, which clearly have very small scope. My code looks like this: this.onRollOver = function () { clearInterval(myInterval)...more >>

exit program
Posted by Jazzie5 at 5/21/2004 4:24:01 PM
Hi all, I am a TOTAL beginniner in Flash and I am having to make a children's CD-ROM for an assignment. As it is very young children I have included a nice bright EXIT button. All if fine, except I am stuck with the action script for this. What do I need to write in the action script (exact ...more >>

Flash as a front end app
Posted by hr_phenom at 5/21/2004 4:01:05 PM
hey all, I'm new to flash programming. I have the following questions for u all, 1) I have an app in C++ for which i'm using flash to create a front end to inprove the apps look and feel. I wanted to know if this is possible? I can have the functionality of the app coded into DLLs and wan...more >>

Random minus number
Posted by yevri at 5/21/2004 3:55:42 PM
Hi, Is there a very simple way to get a random number but exclude one of the numbers? So if I want a random number betweeen 1 and 5, but I don't want it to be 4, how would I make the script below do that? This script loads a swf randomly to replace itself. So if this is movie q_4.swf, I wo...more >>

Wait for sound then gotoandplay
Posted by dev880 at 5/21/2004 3:47:29 PM
There has got to be a way to wait for the current sound to play or x amount of seconds then gotoAndPlay? Can anyony share this, my book is on order and I cant wait until I get my ActionScript book. Thanks much in Advance... ...more >>

full justify text using an external file?
Posted by gooskimo at 5/21/2004 3:35:23 PM
I've created dynamic text fields that pulls in text from external .txt files. I want this text to be full justified. I can alter adjustment from within flash and make it left, right, or center justified - but when I set it for full, it just shows up left justified. Why? Is there a way to set t...more >>

remembering text from input boxes for later use
Posted by gooskimo at 5/21/2004 3:27:15 PM
We are trying to develop a small education application where students are asked to type in answers into input text boxes. This occurs on 2-4 different frames. We want for the last frame to call up all of the students answers (onto the same frame) so they can review them before submitting them ...more >>

Saving flash quiz results to a floppy disk
Posted by Guardian_J at 5/21/2004 1:54:26 PM
So i was trying to build a quiz with flash. I thought it would be best to use the templates that they provide to understand the procedure a little better. I ran into a snag though. How do i save my quiz results to a floppy disk or A: drive? If anyone could help me with this that would be g...more >>

Passing variables into flash
Posted by Vimpact at 5/21/2004 1:40:29 PM
Ok... correct me if I'm wrong... If you rollover an image on an html page there is no way to pass a variable into a flash element on that page without reloading the page. Thanks, Bryan...more >>

attachmovie instance present on stage
Posted by xyz123 at 5/21/2004 1:39:26 PM
Hello, I am trying to attach a movie "sub_mc" to "main_mc". Both are present on the stage. Following the "rules" for attachement -- main_mc.attacheMovie("sub", "sub_mc", 2) -- I end up with a newly attached sub_mc whereas there is already one present on the stage(so there are two now). ...more >>

Looping through objects on stage
Posted by chrscote at 5/21/2004 1:37:52 PM
I have a flash file which contains about 20 or so movie clips. I'm pretty sure there is a way to be able to loop through all of these items, but I can't find anything in the Flash Help documents. What do I use in a for...in loop to get all of these objects? Chris ...more >>

calling a frame in a scene from a movie clip
Posted by Karen535 at 5/21/2004 1:32:16 PM
I have a pop up navigation bar in my main "Scene 1" that is a movie clip. When I go into the movie clip and click on a button and try to assign actionscript to make the button, when pressed, go to "Scene 1" frame 2 or the frame label "IM" it doesn't work. I am new to Flash Actionscripting, He...more >>

LoadVars Function
Posted by Dimak at 5/21/2004 1:19:59 PM
Hello i am trying mo make a code that would load same variable file from different servers and when it is loaded it woulf [PHP]myData = new LoadVars() myData.load("http://www.v6.cz/domain.com/kay.php"); myData.onLoad = function(succes){ if(succes){ gotoAndPlay(this.Adres); trac...more >>

Loaded movie disables double-click
Posted by DeanWLogan at 5/21/2004 1:05:40 PM
I am using Flash MX. I have a main movie that calls a few other movies. It is an application for retrieving reports and information for Internal users at my company. Report Trees The main movie uses Ftree from the Flash Component set 2. I created a defaultTree movie that gets passed a...more >>

Simple Preloader not working
Posted by Celeritas at 5/21/2004 12:57:46 PM
Flash MX - have a movie with several scenes. I created Scene 1 with a simple "Loading" animation. ActionScript in the first frame of this "preloader" is: if (_framesloaded>=_totalframes) { gotoAndPlay("Scene 2", 1); } ActionScript in the last frame of my preloader is: gotoAnd...more >>

domain restriction & hosting application
Posted by vlado[gb] at 5/21/2004 12:29:32 PM
hi. iahve to problems. 1.domain restriction- i want to protect my flash movies from includining in other sites. For example: if i have a movie www.mysite.com/flash.swf but someone wnat to include it in www.stolen.com/index.html then if url of the hosting application is not www.mysite.com tha...more >>

_global and ActionScript 2
Posted by spoon at 5/21/2004 12:19:42 PM
Hi, I'm having difficulties accessing global functions from within classes. If I define a function as _global.func = function () {... }, I cannot call it from within my class using func (). All I get is an error saying that the method cannot be found when I try to publish. I can call it using ...more >>

stopping loading
Posted by Giles_R_Roadnight at 5/21/2004 11:45:01 AM
once I have started a load with a loadVars or xml object can I stop it loading and free up the users internet connection for other loads? Thanks...more >>

input text field reset. URGENT!!!!
Posted by harm.3koppig.nl at 5/21/2004 11:19:27 AM
Hi, I want to reset the content of an input text field to a preset variable when another input text field is selected. Is this possible?? I am now using this naam_field.onSetFocus = function(){ if(naam == "uw naam"){ naam = ""; } } to set the variable naam to "" when the ...more >>

call a particular frame from an external Movie
Posted by Neel73 at 5/21/2004 10:33:05 AM
I Have 2 flash files "one.swf" "two.swf" "one.swf" has a red color box in frame number 1 and an yellow color box in frame number 10. And "two.swf" has a button when I click the button in "two.swf", "one.swf" should open that too directly in frame number 10. can you pls tell m...more >>

sound loads before preloader :-(
Posted by dr_ross at 5/21/2004 10:28:27 AM
hi all, i'm having a few issues with some sounds i've got in the library, used with actionscript, and linkage set as such, but at the start of the movie flash loads all the library before the first frame, before my preloader can kick in, any idea how i get flash to load the library after the f...more >>

loading dynamicaly images
Posted by Glawi at 5/21/2004 8:59:24 AM
Hello, I work on loading dynamicaly images (the path is provided by a SMIL file), and I have to restrict the images to JPS non-progressive. Is there a tip to able to use different kinds of file types (like GIF, PNG, BMP, ...) ? For information, I'm gonna try to make a SMIL player. than...more >>

Progresss bar not starting
Posted by gbhumphrey at 5/21/2004 8:48:59 AM
Hi, Ive got a progress bar problem. It seems my bar is not scaling to 0% when the frame loads in the scene when I test or publish the movie. (This scene is the 4th of 8 scenes, all set to play concurrently) However when I test only the scene, it works fine. Below is the code and Im using Flash...more >>

falling petals animation
Posted by sherwin at 5/21/2004 7:25:06 AM
hi guys, need help, is there anyone who knows how to make an falling petals animation with actionscript? i really need your help guys, i need the animation to include on the project im workin on, hope someone could help me thanks in advance!! ...more >>

SCORM
Posted by Venkatesh(USA) at 5/21/2004 6:22:52 AM
Hai, My company wish to implement SCORM in our online tutorial development. So i know nothing about SCORM. so pls guide to let me know about SCORM. send me details. i give calls to all who is willing to help me. Thank u very much. ...more >>

SCORM
Posted by Venkatesh(USA) at 5/21/2004 6:22:39 AM
Hai, My company wish to implemet SCORM in our online tutorial development. So i know nothing about SCORM. so pls guide to let me know about SCORM. send me details. i give calls to all who is willing to help me. Thank u very much. ...more >>

SCORM
Posted by Venkatesh(USA) at 5/21/2004 6:22:25 AM
Hai, My company wish to implemet SCORM in our online tutorial development. So i don't know nothing about SCORM. so pls guide to let me know about SCORM. send me details. i give calls to all who is willing to help me. Thank u very much. ...more >>

Syntax problem
Posted by milkhead at 5/21/2004 3:57:26 AM
Hi All Having a syntax problem here. My code: stop(); myData = new LoadVars(); myData.load("http://www.starladesign.com/hightest/exist.php"); myData.onLoad = function(){ var num = myData.NumItems; for(n =1; n<=num; n++){ pic = holder_mc.createEmptyMovieClip("suba"+n,+n); p...more >>

VCR Control with timer and click to next screen
Posted by doinka at 5/21/2004 3:34:03 AM
Hi, I'm having some dificulty compsing these few scripts to work together. I have a "Start" button, "VCR control" with a built in timer and a button that allows you to goto the next screen in the movie. I can't get the "Start" button to change the "Play" button from "Play" to "Pause" look...more >>

hitTest multiple things
Posted by AngerBeaver at 5/21/2004 2:56:37 AM
I manually dragged a library item on the stage (called wall1), and copy pasted it around my stage. Now in actionscript im creating what i call munchies. If the munchie touches any of the wall1 objects i want them to unload. This is my code so far: none of the munchies ever disappear though. Th...more >>

Trouble closing popup
Posted by ~Flash~ at 5/21/2004 1:44:28 AM
I have a popup window that has multiple frames. The index displays header and footer html pages and I want to close all three with a flash button on footer. Dose anyone know how I should go about doing this? I know I have posted this already but I'm working on a project and it needs to be comp...more >>

Slow in Browser
Posted by Sharkmenace at 5/21/2004 12:51:09 AM
I've noticed that a lot of my programs perform slowly. These programs (games) typically use trig for movement in 2 dimensions. I have a fast computer and the program I'm currently working on performs satisfactorily in the Flash Player but is much slower in the browser (on the same computer). H...more >>

>> debuging help <<
Posted by Mr. Geek at 5/21/2004 12:29:24 AM
No, I did not write all of the actionscript myself and don't understand all of it, and that's why I can't fix this problem. I will give the person credit for the script later on. The flash movie is supposed to display ripple-like thinks when the mouse is moved over it. It works, but they only...more >>

scrolling pictures with cursor position
Posted by JFalk1 at 5/21/2004 12:25:51 AM
I am designing a photo gallery. I would like to have a row of thumbnails which scrolls horizontally as the user moves the cursor across them. The speed of the sroll is related to the cursor's distance from the center of the row. (Here's an example: http://www.calpomatt.lavista.org/, click on p...more >>


DevelopmentNow Blog