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 > june 2004 > threads for wednesday june 2

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

Help with variables
Posted by Craigus86 at 6/2/2004 11:26:05 PM
hi i am defining a variable with the value of 1 and it increases by 0.25 i have used var Move = 1 if (Key.isDown(Key.UP)){Move += 0.25} when i run in debug mode i see numbers like 5.99999999994 and other numbers like that, it starts off alright going 1.25, 1.5,1.75 etc but then start...more >>

DepthManager and Components.
Posted by Icenine at 6/2/2004 11:07:39 PM
How do I get components to show above a movieclip? Looking into the DepthManager documentation: movieClipInstance.setDepthTo(depth) just doesn't seem to work. Is there anyway to render components over other movieclips ? Any help appreciated. ...more >>

movieClip/ Button?
Posted by -] at 6/2/2004 11:00:17 PM
i've made a movie clip. its a circle and when u move your mouse over it, the circle with do kinda a small 5 seconds dance, with a funny sound. How do i make this movie clip when you click on it go to the next scene.? (i cannot make it a button because the dance wont "flow") and these codes ...more >>

incrementation?
Posted by TJMonster51 at 6/2/2004 10:28:51 PM
ok i have figured out how to get a movie clip to move side to side in a loop. but it moves so fast you cant see it. how do you slow it down so its visable?...more >>

Creating Instance of Clip from Library with Action
Posted by Drauka36s at 6/2/2004 10:17:31 PM
I'm using Macromedia's Flash 5 (I'm a little behind the times), and I'm trying to create a Flash game. To do this, I need to be able to create instances of objects, and I'm trying to do it without duplicating already existing objects. Anyone have any ideas? Thanks in advance, Drauka~ ...more >>

2 windows being opened with getURL()
Posted by bordelais7 at 6/2/2004 9:46:38 PM
Hi- I'm a novice actionscripter, so bear with me if I don't provide enough detail here. I have a flash movie with several buttons which all have the following (or similar) AS attached: on (release) { getURL("pdf/datasheet.pdf"); } which in theory, should open a browser an...more >>

using a <li> tag in htmlText
Posted by flash/gordon at 6/2/2004 9:20:28 PM
i'm trying to create a list in an htmlText field using the <li /> tag. i have two questions. 1. first of all whenever i do this sets the whole text field as a list (not that big of a deal) 2. but whenever i do use that tag, whenever i change the contents of the textField (within flash or ...more >>

QuickTime and Flash FSCommand
Posted by bibback at 6/2/2004 9:07:29 PM
The FSCommand (as well as commands such as LoadMovie action) in Flash works well with Flash .swf docs. Is there any way to make this command work with QuickTime movies?...more >>



Basic Question Stumping me
Posted by shiruken at 6/2/2004 8:35:50 PM
I am new to actionscript. I use MX 2004 Pro and this is my problem - I am trying to get a sequence of frame to replay after a random amount of time. I managed to create a variable with a random value ok and I was trying to get it to loop through some empty frames random times and then repla...more >>

getURL _Parent from an IFRAME
Posted by 58Urkel at 6/2/2004 8:06:33 PM
I'm using getURL "URL", _Parent in a flash movie that is in an IFRAME... the problem is that instead of opening the URL in the parent window it instead opens a new browser window. Is there a way to open the URL into the main window that contains the IFRAME? Any help is greatly appreicate...more >>

Problem with preloader
Posted by silverjag at 6/2/2004 7:51:10 PM
Hi, I'm having a problem with my preloader. I know all the variables are loading properly, and that it is reaching the IF statement, however, it seems to be failing to execute the GOTO command. Here is my actionscript... onClipEvent(enterFrame){ loaded = _root.getBytesLoaded(); total = _...more >>

Flash Movie Across Multiple Plasma Screens??
Posted by axisdrama at 6/2/2004 7:43:43 PM
I have to create a Flash movie to be displayed across 6 plasma screens at a trade show. The hope is that I can do this and have the various info shown on the monitors to be synched so that I could display a word on each screen to make a phrase, etc. Is it possible to have a Flash movie dis...more >>

setting leading with CSS?
Posted by _tippedOver at 6/2/2004 7:38:47 PM
Can you set the leading (or linespacing) using an external CSS. Also, I'd like to leave extra space after a paragraph without using extra <br> tags. Can this be done with CSS using something like: margin-bottom:20; ...more >>

Let me stump the experts again - Printing
Posted by Dinghus at 6/2/2004 7:30:39 PM
Okay, nobody knows how to print really big text fields so how about printing only selected frames? I'm wondering if there is someway of selecting which frames to print in Flash. Like if I put a dynamic text box on a page and then check to see if anything is in it before printing. If noth...more >>

links within PARAM or OBJECT tags
Posted by Screenweasel at 6/2/2004 7:12:51 PM
Hello everyone. I have a movie embedded in an HTML page. Fairly simple. Within this movie I have a graphical element that, when clicked on, forwards you to another URL within the site. Is there a way that I can apply that same link ability to the movie as a whole by manipulating the OB...more >>

Slide Down Menu
Posted by something4ken at 6/2/2004 7:06:56 PM
I never created a slide down menu (on mouse over) on flash before, and I can't find a book to show me how to do that. I am wondring if there is anybody who can help me please. ken...more >>

bullets in dynamic textfields
Posted by soulslip at 6/2/2004 6:53:00 PM
I upgraded from flash 5 to MX 2004 Pro. In Flash 5 I could use "&#149;" to create a bullet in a dynamic textfield. Now that doesn't work. I thought I had gotten &#8226; to work (another option), but that doesn't either. Anybody have an answer to this? I really don't want to have to use Fl...more >>

Problem with non-English characters
Posted by Roxer at 6/2/2004 6:52:12 PM
menuForm = new TextFormat(); with (menuForm) { color = 0x000000; font = "MyFont"; size = 8; underline = false; } _root.createTextField("t", 1, 400, 200, 1, 1); with (t) { selectable = false; border = false; autoSize = true; embedFonts = true; text = "??????A" se...more >>

Buttons on various clips - Simple but annoying
Posted by Anth2003 at 6/2/2004 6:28:38 PM
I have a number of buttons in my little game. None of them work :-/ I think the problem is that all the buttons are instances sitting within other instances on the main stage. ie... I have a button called play_again which sits in a movie clip called Final_Lose when I have buttons enabl...more >>

Work in test fail on the WEB?
Posted by chrism59 at 6/2/2004 6:25:21 PM
I have designed an application using falsh that sends data to a .cfm page. The ..cfm page runs a query and returns data. My Problem: I run the app in test mode and it works like a champ...I change the URL for the .cfm pages and run from test and the web database updates correctly. I tran...more >>

Auto format text field
Posted by Buff Dogg at 6/2/2004 6:08:51 PM
Version: MX 2004 pro I'm looking to auto format phone numbers while the user is typing the number in. In other words, once they type the area code parenthesis automatically surround the number, then after the next 3 numbers are entered a hyphen is inserted, etc. My problem is the cu...more >>

dynamic jpeg loading?
Posted by rwills at 6/2/2004 5:51:17 PM
I am using FlashMX, can I use the loadMovie() command to load jpegs dynamically? I tried the following: pictureLoader.loadMovie("categories/category1/category1_photo.jpg"); but the jpg did not load. any help is appreciated. Thanks. ...more >>

syntax question
Posted by designdog at 6/2/2004 5:09:35 PM
OK so I know that you end a line with a semicolon, and that you use curly braces to separate actions. But recently I have seen code that has an ending curly brace followed by a semicolon, on the same line. What does this signify? Thanks, -ddog ...more >>

Newbie question
Posted by drjcrane at 6/2/2004 5:09:34 PM
I want to create a tutorial for my students where they will view short flash videos and then choose between five different values (the actionscript). Their choice will determine the next video clip to be viewed which will be followed by another set of choices. There will be a few loops involve...more >>

Please help with Stop and Play button Issue.
Posted by YWL1971 at 6/2/2004 4:55:11 PM
A movie clip has been created with 2 keyframes, for stop and play. For Stop the script is below stop(); _root.playing = false; _root.clip.stop(); For the Stop symbol the script is below on ( press ) { play(); } For Play the script is below : _root.playing = true...more >>

How do call application in .swf (in .html page) ?
Posted by accsdesigner at 6/2/2004 4:52:09 PM
i want do call a application in .swf (in .html). is possible ?...more >>

Variable insists on rendering as a string
Posted by Anth2003 at 6/2/2004 4:50:05 PM
I have set up a scoring system and use two global variables as the set score: p1set & compset: _global.p1set=0; _global.compset=0; however no matter what I do compset keeps rendering as " 1" so that when I add 1 to it using: compset+=1; it shows up as 11, which obviously comple...more >>

focusmanager
Posted by ctvrtlik at 6/2/2004 4:49:28 PM
is there any definitive and useful information about the focusmanager? the help documentation is not enough - are there any tutorials?...more >>

Joining two swf files
Posted by tarky at 6/2/2004 4:48:30 PM
What is the easiest way to join two seperate files. I made an intro movie and then another file with a user interface so the user can select different menus. How can I join the two files without dropping all of the seperate timelines into the other, because that crashes the program. I ...more >>

Var scrolling thumnails
Posted by kfur at 6/2/2004 4:32:52 PM
Okay I have a doosy for you. SO, I want to make a scrolling thumbnail viewer similar to this one: http://www.kirupa.com/developer/mx/infinite.htm But I would like it to create the thumbnails dynamically from a folder. I know you can do it with xml parsing as long as you give it the size and ...more >>

HELP: cool map with checkboxes
Posted by eco_woman at 6/2/2004 2:54:10 PM
hi, the client wants an interactive map similar to this one. It looks like it's based just on switching cursors and dealing with checkboxes. Can any of you gurus offer any of your wisdom about it? I'd appreciate it. http://www.citationshares.com/our_fleet/cj1/range.aspx ...more >>

Powerbar sizing is spazzing out
Posted by Anth2003 at 6/2/2004 2:21:40 PM
I have an instance called powerbar_i that I want to grow to the left when the space bar is pressed down or grow in relation to a variable called extra_power I have tried to write this a number of ways but no matter how I set it up powerbar_i's _height and _x change at the same rate. I can't ...more >>

sendAndLoad to ColdFusion ?
Posted by chrism59 at 6/2/2004 2:20:49 PM
I have designed an application using falsh that sends data to a .cfm page. The ..cfm page runs a query and returns data. My Problem: I run the app in test mode and it works like a champ...I change the URL for the .cfm pages and run from test and the web database updates correctly. I tran...more >>

Import MovieClip with ActionScript
Posted by bcolson at 6/2/2004 2:12:36 PM
Hi everybody, Sure it is a stupid question but I become crazy about that. I have create a MovieClip and uncheck the 'Export in first frame'. If I want to used it on frame 10 for exemple, I put it on the stage in the frame 10 and everything work fine. But how to do that (put on the stage ...more >>

Strange Button Behavior
Posted by taojones23 at 6/2/2004 2:10:45 PM
Hi, I have just experienced some strange behavior from web pages that I created with Flash 4 (I know, that's like ancient now but it's fine for me). Anyway, these pages, both online and in their local folder, only allow all their buttons to work the FIRST time you access them. Upon returning t...more >>

copy file from server to user
Posted by Branching at 6/2/2004 2:04:25 PM
I have a button and I need that when the user clicks it, it downloads a font file into the font folder in the users system straight away, without opening a download dialog or anything else. Thanks. ...more >>

POPUP from Flash using only 1 line of code
Posted by misscox at 6/2/2004 1:56:43 PM
Hi, I have used the following code for a button within my flash movie: on (release) { getURL("javascript:NewWindow=window.open('http://www.nameofsite.com','aileen','w idth=300,height=300,left=100,top=100,toolbar=No,location=No,scrollbars=No,status =No,resizable=No,fullscreen=No'); NewW...more >>

I'm stumped
Posted by Paulrus at 6/2/2004 1:52:34 PM
Can someone explain what my problem is here - I'm trying to turn a small arrow on and off on a navigation system as you click on the movie clips: SDSE.onRelease = SFP.onRelease = SM.onRelease = STP.onRelease = function(){ trace("old arrow = "+oldarrow); // ok here I'm just checking wha...more >>

Flash MX "forms" and Section 508
Posted by bjcustoms at 6/2/2004 1:23:43 PM
Anyone have much experience with creating forms in Flash MX and making them 508 compliant? I am creating a simple form with several text fields (simple navigation and validation but no server-side activity; it's really just a simulation of an application . . .) and am having alot of trouble ...more >>

bold text from external file
Posted by Branching at 6/2/2004 12:36:26 PM
I am using this method to get text from an external file. In the text file I use &textBox= in the begining of the file. textData_lv = new LoadVars(); textData_lv.o = this; textData_lv.onLoad = function() { this.o.textBox.htmlText = this.textBox; }; textData_lv.load("../project01/imp...more >>

como precargo una pelicula externa que contiene un scrollpane?
Posted by Africa at 6/2/2004 11:19:25 AM
tengo un problemilla, haber... necesito cargar una pelicula swf desde mi peli principal, esta pelicula contiene un componente scrollpane de flash mx y esto hace que no me funcione bien la precarga. Gracias por la ayuda ...more >>

Can F2004 write to xml or .txt files?
Posted by DazFaz at 6/2/2004 10:48:21 AM
Just a simple question, can F2004 write to xml or .txt files as either a projector or swf? Thanks DazFaz...more >>

Linking in a datagrid
Posted by Kruel at 6/2/2004 10:01:56 AM
Hi, I have read a similar thread not so long ago but I think my problem is slightly different. My data comes in from an external source and gets put into an array. Then the datagrid is told to use this array as the data source.... My problem is this. How can I make the cell click...more >>

Please help ................ :(
Posted by [BT]sub0 at 6/2/2004 9:56:55 AM
Hi, i ve got a problem i can't get through, I've got a movieClip called mainGui_MC and an external .swf called mediaPlayer.swf, both movies have a movieClip inside them called controler that reacts when a key is pressed, my problem is : i need to load the mediaPlayer.swf inside the mainGui_M...more >>

accessing variables and functions in external swf
Posted by CyberFred at 6/2/2004 8:52:16 AM
Hi, Is it possible to access variables and functions in an external swf loaded from the same domain? For example: external swf: var testVar:Number = 20; main movie: loadMovieNum("external.swf", 2); trace(_level2.testVar); and I get undefined. Any ideas? ...more >>

I need to read a PHP variable inside Flash animat
Posted by Ducu25 at 6/2/2004 8:36:51 AM
Hi I have a project to do consisting of some Flash animation combined with PHP. The PHP part is done by a colleague of mine (I don't know PHP). The idea is like this. there is a HTML file with some textboxes, managed in PHP. When the user writes something in that textbox, PHP gets it ...more >>

draw a triangle
Posted by kikibug at 6/2/2004 8:20:23 AM
Hi I have a problem with creating something that seems to me should be comparatively easy. But this is my first experience with Flash and I am probably not sure what to do. My goal is to draw a triangle with endpoints entered by the user. I get the inputs (correctly) and I know the for...more >>

Loop to check for multiple drop zones
Posted by Drapple at 6/2/2004 6:47:45 AM
I am trying to write a script to check if one of 6 movie clips is dropped on one of 6 right or 6 wrong drop zones. The drop zones are labeled right1,2,3,4,5,6 and same for wrong1,2,3,4,5,6. I'm just trying to get the right part to work first. I think my problem is just syntax for appending...more >>

ID3 Tag "Undefined"
Posted by extravaganza_ at 6/2/2004 5:46:31 AM
I made a music player that plays MP3s randomly off of my server. (Just in case the music police is reading this I can honestly say that I am only using songs that are Public Domain.) I have named each mp3 file with a number, ie 1.mp3, 2.mp3. I made a little array and I do a sort shuffle. ...more >>

Color Object
Posted by Ashish123 at 6/2/2004 5:43:07 AM
Hi, I want to create multiple copies of MC in diiferent color shades at runtime. Can anyone help me out with this. Say you a have samll rectangle in MC and I want ot genrate 100 more on the stage with diiferent color values. The number of symols will be dynamic but will be less than 200....more >>

How to avoid dos command window popup?
Posted by flashin at 6/2/2004 3:34:13 AM
When I use fscommand(exec), DOS command window pops up and then disapears when the command is complete. It is so annoying to see DOS command window flashing out when you run a Flash movie. Is there way to avoid seeing the dos command window? ...more >>

exposing variables inside a movie ?
Posted by Dzoker at 6/2/2004 3:32:32 AM
Hi. I have a 5 buttons. On frame 1 of the movie, I declared 5 variables like: var one:number = 0; var two:number = 0; var three:number = 0; var four:number = 0; var five:number = 0; When klicking on the buttons, every variable adds +1, so, clicking on button one, makes variable one...more >>

count files in a directory
Posted by IvanRaditz at 6/2/2004 1:32:04 AM
I have looked all over and cannot find a function in actionscript that will count the number of files in a directory. I would like to count files in given directory, then load that number into a variable. Thank You for any help, Ivan ...more >>

Help using duplicateMovieClip for task list.
Posted by charleuts at 6/2/2004 1:10:04 AM
I am attempting to create a to-do list that will use duplicateMovieClip to add tasks in an Outlook-style task list. A checkbox will be part of the mc. When the check is selected, I would like it to strikethrough the text field to indicate that it is flagged for deletion. I started a concept,...more >>

irritating unknown bug
Posted by thetrueeddie at 6/2/2004 12:38:37 AM
http://dev.flame3.com/peerieplaces click on the about section. I'm using flash mx. The plan was to have each piece of information expand as you rollover... which is controlled by a movieclip within each screen that constantly runs to check mouse position. It seems to work but for some ...more >>


DevelopmentNow Blog