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 > july 2004 > threads for wednesday july 28

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

Duplicate and drag promblems! - goldencream.fla (0/1)
Posted by Sunil at 7/28/2004 10:14:39 PM
Hello, I have got a MC (called "a") that consists of a button and a picture. The button's actions are: on (press) { if (this._name == "a") { newname = "a"+_root.name; duplicateMovieClip (_root.a, newname, _root.name); startDrag (newname); _root.name++; } else { startDrag ...more >>


putting SCORES in games
Posted by Leao16 at 7/28/2004 9:28:40 PM
Hi I'm making a very simple educational game at the mo, with a series of multiple choice questions about health issues in Nigeria Please can you tell me how to add a simple scoring system to it? i.e. a player gets 10 points for getting a question right 1st time and 5 if he makes a mistake + ...more >>

HELP! Can Flash change desktop properties?
Posted by Sappo555 at 7/28/2004 9:22:23 PM
Does anybody know if it is posible to change desktop properties from a local swf? I have found an xtra for Director that does it (Desktop Xtra) but it costs too much, can Flash do the same?...more >>

Play multiple movies on HTML page
Posted by Johnny B Rotten at 7/28/2004 8:48:25 PM
We're creating a Web site where the home page needs to play two different Flash movies, in different locations, at different times. Here's what we're trying to do: When someone views the HTML page we want only the first frame of the "bottom" movie to be displayed, and want the "top" movie to s...more >>

Getting Errors for mistyped paths/functions
Posted by loki_mdog at 7/28/2004 8:44:53 PM
Hey Flash Gurus -- How do you get flash to throw an error (or warning) in the output box when you misspell the name of function or path to an object? The only clue that I have that something is wrong is that the flash movie isn't acting the way that I want. So if I have a function th...more >>

Initialize and load sound object from child MC
Posted by Dir2Flash at 7/28/2004 8:36:06 PM
I currently have a child movie clip that is embedded inside another movie clip ("mc_MainMovie"). The purpose of the child clip is to initialize several sound objects in the parent movie, load external MP3 files for each object, and track download progress. Unfortunately I can't even initi...more >>

Variable from text file is inconsistent
Posted by Langdon at 7/28/2004 8:33:03 PM
I am trying to load a movie at level 10 based on the value of a variable in a local text file. I know the variable is being acquired by the Flash movie because I have a dynamic text field set to display the value of the variable. However, my if statement only seems to work sometimes. Here ...more >>

Email forms in Flash
Posted by BorderBob at 7/28/2004 8:16:04 PM
I have created some components on stage, name, address date and such. I would like to be able to have customers on my site fill in the fields and press submit. When they press submit it sends the form to my email showing me what they entered in the fields. Is this possible, i simply want to be...more >>



randomize dynamically loaded images
Posted by maxdido at 7/28/2004 7:31:09 PM
i saw this great tutorial about randomizing movieclips : http://www.kirupa.com/developer/act...andom_movie.htm this is the code that's being used : filename = ["circular.swf", "vibration.swf", "random_movement.swf"]; path = "images/"; i = filename.length; k = Math.floor(Math.rando...more >>

Add numbers incrementally
Posted by Josh Knight at 7/28/2004 7:17:48 PM
I know this would be easy enough to do using key frame animation, but I'm determined to use actionScript. All I really want to do is create a dynamic text box which counts upward from, say 0.00 to 15.45. It's going to a digital scale eventually. I'm still pretty new to actionScript, but i...more >>

Swap Image/Component Behaviour in MX
Posted by cuttie at 7/28/2004 6:04:01 PM
Hi there I am hoping someone can help with this. I have a website whereby I need to apply a 'swap' function in Flash, in much the same way as Dreamweaver's 'Swap image' behaviour works. Let me briefly explain: I have a series of icons. When you roll over the icon I want a window to appear ...more >>

defining path from CD drive
Posted by Narven at 7/28/2004 5:33:19 PM
hi there people im having a problem. Ive got a projector file that its suposed to open a a pdf file in a CD. but i cant find a way to define a drive letter for the path to open the pdf in "all" the cdroms that the projector is going to run. i've got all the files in the root. h...more >>

duplicating
Posted by Flu Films at 7/28/2004 5:23:11 PM
Would anyone be kind enough to help me with this please, I have worked out how to make a button-image draggable using Startdrag... What I would like to achive is to have a selection of button-images, and when you drag one of them out of the group onto the main stage the original is repla...more >>

Component UI "knob"
Posted by dannielrolfe NO[at]SPAM mac.com at 7/28/2004 5:04:25 PM
I am trying to build a MP3 player, I have done every thing exept the volume. I am trying to use the knob from the UI components. I am using a a new array to load my music. Please help I am stuck. What kind of action scripting do I need in order for the Knob to work? ...more >>

How to know is a button is being pressed?
Posted by davepla at 7/28/2004 4:04:37 PM
Hi: Is there anyway to know if a button is being pressed to keep executing some actions until it's released? Something like this in Lingo (Director): on mouseDown repeat while the mouseDown ... end repeat end TIA, Dave ...more >>

Flash and Quicktime
Posted by meeesta at 7/28/2004 2:53:17 PM
Hello and thanks for taking the time to read this. I've a small video clip I'd like to present online, I was going to embed it in a flash movie... However, I saw this and was blown away. How on earth did they do it? http://www.emichrysalis.co.uk/mailers/robbie/Knebworth/ I assume it'...more >>

URL property of a textfield
Posted by Finty at 7/28/2004 2:38:24 PM
is it possible to set the url property of a text field created using createTextField() to something other than a standard url? for example: aTextField._url = _root.aFunction( ); this function is invoked immediately and the textfield isn't clickable ...more >>

input text
Posted by willx at 7/28/2004 2:19:56 PM
i'm just trying to get text typed into a input text box to appear in a dynamic text box - should be easy but i seem to be doiining sometihng wrong submitBtn.onRelease = function(){ var text1:string; text1= inputBox.text; dyn...more >>

Interaction between different levels
Posted by dolores fuertes at 7/28/2004 1:49:58 PM
Hello, Does someone know the way to avoid interaction between different charged levels ? I have a form charged on back level and some buttons on top level. Some of them are 'fisically' over the form, so I risk to interact with, against my will. Thanks a lot Lola PS. I adopted the syste...more >>

Creating a Book in Flash
Posted by Husain at 7/28/2004 1:34:37 PM
Hello Folks, I came across this site: http://www.badlystitched.co.uk/03book/book/book.html ...and have been wondering how would you do this in Flash MX? I have a project in hand at the moment, that requires something like this. I really need some insights on this one. Can someone provid...more >>

pre-loader for external movie help!
Posted by designgirlnorway at 7/28/2004 1:04:31 PM
Hi, I am working with a number of swf's which I have been loading in to one another using "loadMovie" in taget as well as in level. I have pre-loaders for two of these swf's. In one movie the preloader is working fine when loaded into another movie. But the same pre-loader is not working w...more >>

MovieClip Event Functions: A question
Posted by rduncan10 at 7/28/2004 12:55:57 PM
I am learning Flash and one of the things that has given me the most problem is handling MovieClip events, especially for MovieClip buttons, in ActionScript. I had a hard time getting my head round this for some reason, but I think I finally have it. My problem is that while I do know how ...more >>

Control of the lOOK of Script Lables , Buttn ro
Posted by zimbot at 7/28/2004 12:49:30 PM
I am making a lable on buttons w script. as here: // the label // --------- _root.createEmptyMovieClip('label', 1002); _root.label.createTextField("insidelabel",1003,-30,-30,50,18); _root.label.insidelabel.background = false; _root.label.insidelabel.selectable = false; ...more >>

listner for time elapsed ?
Posted by AshwiniD at 7/28/2004 12:46:11 PM
Hi All I want my timer bar to progress after particular duration of time. I want to go to next frame every 15 seconds exactly. how to accomplish that. how do I get to know it, as soon as the 15th second passes. Thanks. ...more >>

Array class()
Posted by eSpeed at 7/28/2004 12:37:30 PM
does anyone know where I can find the Array class. I have found one in Macromedia/Flash/en/First Run/Classes but it looks more like a reference file and whilst it has methods, they are empty of code. I wanted to add a new method to it. Thanks ...more >>

Creating dynamic textfields
Posted by Manoj vn at 7/28/2004 12:28:53 PM
sir, I want to create dynamic textfields with in a for loop. My code looks like: for(i=1;i<11;i++) { _root.createTextField ( ["xtemp" + i + "_txt"] , 0 , 200 , 200 ,50 , 20); } But as the instance name should be in double quotes, i am not getting the result i needed. Is there is a...more >>

Actionscript doesn't run when uploaded
Posted by bbbad at 7/28/2004 12:19:58 PM
HI I just completed my first menu that is built and implimented 'on the fly' it works fime in the Flash player, but doent' run when I up load it to a server. Any ideas why?...more >>

Deleting object from itself
Posted by manciuccio at 7/28/2004 11:32:38 AM
Hi, I am trying to delete an object from within itself with the line: delete this; but when I debug it the object is still there. I would be grateful if someone can give me a tip on how to do it REgards ...more >>

Buton in Movie CLip
Posted by ALEX_Fl at 7/28/2004 11:24:26 AM
I have a problem with a buton that is included in a movie clip. For exmaple: The movie clip is on Scene 1, and is containing more butons that when the mouse moves, the butons moves. Now, when a user picks Buton 1 for example that buton must get the user to frame 19 in Scene 1. Why is n...more >>

Hit test within a movieclip
Posted by Harroy2k4 at 7/28/2004 11:11:42 AM
hi, im trying to use a hittest with two movie clips, but both of them are inside other movieclips, i though this script would work... //Hit test if(_root.scope.box, hittest(_root.plane.centre)){ trace("Hit"); But instead of doin the hittest with 'box' and 'centre' it uses 'scope' and ...more >>

Help with duplicateMovieClip
Posted by loop360 at 7/28/2004 10:48:33 AM
I am dynamically generating movieClips in a scrolling list format from items in an XML file. What I want to do is when an item clicked on its name is added to an (initially) blank list. This new scrolling list needs to work in the same as the XML driven list by using duplicateMovieClip, but I ...more >>

getting all xml nodes
Posted by Kev P at 7/28/2004 10:10:05 AM
i am having a problem with getting all the data from my xml file. <?xml version="1.0" ?> - <geographic ver="1.0.0"> - <country> <name long="Afghanistan" short="AF" capital="Kabul" /> <images flag="flags/afghan.jpg" map="maps/afghan.jpg" /> <economy currency="Afghan Pound" />...more >>

No Trace Output
Posted by rion49 NO[at]SPAM hotmail.com at 7/28/2004 9:58:46 AM
For some reason or another, I cannot get any trace commands to work. Even a simple command in the first frame like: trace("HELLO"); in the first frame does not work. Trace used to work fine at one time, but for whatever reason, it does not now. It could have began when did a previous up...more >>

Play Sound
Posted by Kamdy at 7/28/2004 7:24:18 AM
Pls help. I have 2 radio buttons, one is ON, another one is OFF. I put the script for ON button is: on (release) { if (_root.playing != true) { _root.mySound.start(0, 999); _root.playing = true; } } My OFF button is: on (release) { _root.mySound.stop(); _root.play...more >>

use ENTER key insted of TAB focus order
Posted by hiro33 at 7/28/2004 7:01:11 AM
Hi! is there a way that i can user Enter key instead of the TAB key to control the tab order? probaby, extending the focusmanager class?? thanks in advance HIRO...more >>

Bargraph with 3-D effect
Posted by ShrM at 7/28/2004 6:39:47 AM
Hi all, I need to develop a bar graph with 3-D effect. I need suggestions on how to go about it. I am planning to draw each bar with the help of a movie clip. Is there a '_z' property for a movie clip? Thanks in advance. ...more >>

Flash and Adobe PDF Interaction
Posted by Danny S at 7/28/2004 6:39:46 AM
I am keen to know if anyone has managed to do any integration work with Flash and Adobe Acrobat. I am using the E-Learning quiz template in Flash and have now come up with the problem of recording data from the quiz without using a server. I originally thought of using mailto: but this seemed ...more >>

Restricting to put a number
Posted by Manoj vn at 7/28/2004 6:35:46 AM
Hi forum, In my fla file a next btn and an input text is there. User must have to enter a number in the text box, else the next btn should not work. Ny problem is i am getting a Nan value in the final added nbr with the existing code. Thanking u, MVN ...more >>

TextField Restriction
Posted by Manoj vn at 7/28/2004 5:52:05 AM
Can i restrict my input text field to number 0 to 40 only? Thanks in advance MVN...more >>

rollOver..Again?
Posted by -] at 7/28/2004 5:04:05 AM
is there and action.. where ...say theres 2 images...when u roll over it switches 2 the next image..and when u roll out it stays...but when u rollover it again it switches back thx...more >>

Movie clip names
Posted by Manoj vn at 7/28/2004 4:51:01 AM
I have 3 mc's on the stage named name1_mc,name2_mc and name3_mc. Using a for loop i have to make the visibility of these 3 mc's false. Any help in this regard will be appretiated. MVN...more >>

Components Problem?
Posted by nickgs at 7/28/2004 2:55:29 AM
I am having a strange problem with using MX 2004 components within my applications. When I have more than one ComboBox component within a movieclip I can only access one ComboBoxx and once you try to interact with the 2nd ComboBox the flash movie becomes nonresponsive? This also happens to ...more >>

global Volume MC?
Posted by ShckByte at 7/28/2004 2:50:33 AM
Hi again, I have a volume MC that looks like such: onClipEvent (load) { _parent.volSlider.drag._x += 50; } onClipEvent (load) { setProperty("/volSlider", _alpha, "0"); } onClipEvent (enterFrame) { vol = _parent.volSlider.drag._x+50; _parent.mySound.setVolume(vol); _par...more >>

Create an Email Link
Posted by snurg at 7/28/2004 1:52:33 AM
Hi, I am wondering how to make a clicked Button automatically open a window that preaddresses an email to my email address for the User to send I tried getURL with my email address, but this didn't work thank you ...more >>

Dynamic Flash GUI ref XML
Posted by PodTV at 7/28/2004 12:40:54 AM
Hey Guys, I need to create a dynamic Flash GUI using XML to determine the formatting. I have an XML price list project where there are a few different categories. The graphics for each category need to follow on one after another; eg Category Title-1 ____________ Price-1 ______...more >>


DevelopmentNow Blog