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 > september 2004 > threads for tuesday september 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

Please help with variables
Posted by AltisFortuna at 9/7/2004 11:34:16 PM
I'm making a game where I need variables to kepp track of life points, so that when life_points = 0 gotoAndPlay *Losing Screen* I dont know how to do any of this though so any hep would be appreciated! ...more >>


Easy Horizontal slider?
Posted by ....James Smith at 9/7/2004 10:43:03 PM
I was just wondering how i would go about making a horizontal scroll bar that can only move lets say a maximum of 20 pixels to the right of the orgin. Thanks in Advance ...more >>

finding the current location of a movie clip
Posted by Mrs. Nottingham at 9/7/2004 10:42:30 PM
Does anyone know how to detect the current location of a movie clip? I have several different ways a movieClip can animate depending on where it came to rest at the end of the last motion. My problem is that the motion keeps starting at the x,y location of where it is in the beginning of the m...more >>

moving text similating a sphere...
Posted by bso_71 at 9/7/2004 10:35:11 PM
How can I make some text members move in a circular way going farther (smaller) and closer(bigger) like they were moving around a sphere. I've seen this in some web sites. Does anyone know how to do this depending on the users movement of the mouse? Thanks, Brenda S. ...more >>

action scripts, transitions and components
Posted by bso_71 at 9/7/2004 10:14:51 PM
Where can I find good transitions, action scripts and components ready to use. Thanks, brenda,...more >>

array assignment and linkage
Posted by x-crow at 9/7/2004 9:32:45 PM
Hello, I'm having a problem with an array Linkage issue, the best way to explain it is to show you the code and tell you after you've copy and pasted and seen the results: -------------------Code---------------------- var my_car:Array = new Array({make:"none"}); trace("...> Assigning Do...more >>

Problem _root.gotoAndPlay(); in Component
Posted by nrowe at 9/7/2004 9:27:04 PM
Have a simple scrollPane component that pulls a simple .swf file with a button. I want the button to go to the root movie and play a frame/label. Have tried many variations of code and doesnt' seem to work. files; main.swf - root movie aComponent.swf - movie with component a....more >>

ComboBox Issues!!!!
Posted by milkhead at 9/7/2004 8:09:31 PM
I have a movieClip instance on the stage. Inside this is 2 input text boxes and 2 comboBoxes. I am sending all the inputted info (variables) to PHP. I can get the variables out of the text boxes but not from the comboBoxes. Eack combobox is a movieClip with this: onClipEvent(enterFrame){...more >>



change text i streaming MediaPlayBack component
Posted by dennis604 at 9/7/2004 8:04:31 PM
Hi, If you have worked with the MediaPlayBack, you have noticed that in the progress bar the text says STREAMING or PAUSED......is it possible to change that text?? And how? I have tried to change the "build in as" StreamingMediaConstants.as....but I havent quite understood how they w...more >>

GetURL cuts off first letter of file name
Posted by RBC at 9/7/2004 7:30:34 PM
I am assigning the following actionscript to a button: on (release) { getURL("assets\promo\Anchor_PSA30.avi", "_blank"); } When the flash is published and the button is pressed, I get a file not found. The file is there, but for some reason flash is changing the name of the file to...more >>

Achieving this effect
Posted by Keffcop at 9/7/2004 7:26:50 PM
Hi. I have already posted this subject in the General Discussions forum but was told to move it here. I am trying to achieve a transition effect when changing content on my webpage. I have found this sample web page that has the exact right effect that I am after (the grey box that slides ...more >>

getting xml file list from folder
Posted by barryjoe at 9/7/2004 6:50:01 PM
I need to pull a list of xml file names from the same folder where my swf is located. Once I have the file list I want to be able to choose the file I want to parse. Any Ideas?...more >>

Formatting dynamic text.. UTF-8
Posted by Tim Robertson at 9/7/2004 6:49:40 PM
I posted this before with no luck so I thought I'd try again. Is it possible to have a TextArea read and display HTML coding if it is linked to a txt file using UTF-8 coding and the System.useCodepage = true; ? Or is there any way of specifying what font should be used for the text being d...more >>

Interactive line chart
Posted by D-bo at 9/7/2004 6:38:18 PM
Hello All, I am using the line chart component for drawing a line chart. But, I require that chart to be editable with user interaction. Meaning, that the user should be able to click the points and move them around and update the chart. The point moves but the lines do not update. An...more >>

Randomly select movie
Posted by mheddle at 9/7/2004 6:36:35 PM
I have code that takes a randomly generated number and based on that number will load a certain swf. The problem is that it always loads the same movie. There are no errors on my output and I don't what I am doing wrong: on (release) { x = Number(random(5)) if (x=0) { testLoader....more >>

preloader for dynamically loaded swf files
Posted by blind-man at 9/7/2004 6:15:33 PM
Hello. I am trying to preload dynamic swf files from an asset folder into a blank movie clip within my main swf file. Some of the files are 2+ mb and need to preload. Let me tell you what I have done so far, and hopefully someone can put me on the right path. I am dynamically importing the...more >>

SWF playing vs Loading speed
Posted by Nixy at 9/7/2004 6:11:02 PM
I need to create a preloader that start the animation when there's enough of the flash loaded. ie. When you watch a Movie Trailer on the web, the movie is not completly loaded when it start to play. It continue loading and playing in sametime. It's important that the animation does not...more >>

?IF? question
Posted by StevenRAN at 9/7/2004 6:06:26 PM
I have a graphic placed on the main stage. I have two buttons (button 1 and button 2). When you click on button 1 first a movie plays and the GRAPHIC changes position (to position B). and then? When you click on button 2 it will play a different movie and the GRAPHIC will stay in positio...more >>

Detecting a mouse Click - Need help
Posted by stacyp at 9/7/2004 5:29:04 PM
Hi Any help appreciated on this one I have a flash navigation bar with a number of buttons with rollover and an action attached to them - I also need to be able to detect if a button has been already been clicked on (thus the person using the site has already been to that area). I want t...more >>

problem with embedding timer in new movie
Posted by scriptKid at 9/7/2004 5:24:17 PM
hello all, jensen helped me last week to come up with a timer that counts down every 10 minutes to coordinate with a refresh of external data. however, when i put this timer code into my file, it doesn't work. i've tried commenting out all the non-timer code but the timer is stuck at 10:0...more >>

Sniffing for Broadband or Narrowband Connection
Posted by fermp at 9/7/2004 5:04:18 PM
Hi all. Wondering if anybody out there has used some kind of script to determine whether the user has a broadband or narrowband connection and then re-direct them to a page containing either a broadband .swf or a narrowband ..swf. Any help would be appreciated Thanks! ...more >>

Different preloader
Posted by Kashi* at 9/7/2004 4:55:08 PM
Hi. I'm new to actionscripting and am trying to make a differnt type of preloader. Currently on my homepage, here is an example: http://www.aprilkinnelly.com/index3.html When you look there is a grey box with a diagonal line. I would like to have the box (without the diagonal line) be...more >>

Multiple Movie Clips Share Same ActionScript
Posted by luvxf at 9/7/2004 4:49:48 PM
Hi everybody, I need to use some same script on tons of different movie clips (also with different names) in a Flash movie. Is there any easy way to do that? I know in Macromedia Director you can easily choose multiple sprites and write one script for all of them at the same time. I reall...more >>

Background Loading
Posted by [AtomiK] at 9/7/2004 4:38:37 PM
Hi, I have a certain flash setup that I have worked on, and I need to know if something is possible in flash (what better place to go than macromedia). I am creating a presentation for a networking service, and this presentation has multiple "stories" which the user sees randomly each time...more >>

Dynamic Text inside a MovieClip(Symbol)
Posted by Usman Munir at 9/7/2004 4:31:57 PM
I need some hep with the actionscript... i am trying to make a Flash Movie with dynamically loaded text(from a .txt file). I have successfully achived this by adding the cod " loadText = new loadVars(); loadText.load("dyText.txt"); //creating the loadVarsText function loadText.on...more >>

loadMovie position
Posted by StevenRAN at 9/7/2004 4:29:38 PM
on (release) { loadMovie("m.swf", "moviehere"); } I am trying to replace a movie clip with a separate swf file. My main movie is 500x400px and my movie clip that is on the main page is 300x300px. The movie clip on my main page is placed in a certain position. When I loadMovie...more >>

Me and XML
Posted by thoand at 9/7/2004 4:22:55 PM
Hi I have a question about XML If I load an XML file into my movie, and the structure is something like this: <stores> <store> <name>Foo 1</name> <city>Paris</city> </store> <store> <name>Foo 2</name> <city>Berlin</city> </store> <store> <name>Foo 3</name> <city>...more >>

SWF Files protection
Posted by paquituz at 9/7/2004 3:49:00 PM
Hi, in JavaScript is possible to make an HTML page expiring after checking the date on the machine where the files are running and, if the result is higher then a certain value, to not open the page. Is it possible to do the same to protect swf files from been opened dragging them dire...more >>

Please help. ContextMenu not onSelect.
Posted by ooba at 9/7/2004 3:40:16 PM
I am trying to create a menu list in the context menu (not an issue) and when the user moves the mouse off of the contextmenu I would like to have the contextMenu close such as when you click on some other part of the screen. Any suggestions on how to do this? If you don't know then post tha...more >>

Input Boxes
Posted by Toe Bunger at 9/7/2004 3:31:55 PM
I have two input text boxes. If I set properties to one box it automatically sets the same properties to the second. Can I stop this? Can I have two Input boxes that are independent of each other?...more >>

buttons inside a mc aaarrrgh!
Posted by rikgadsby at 9/7/2004 2:45:57 PM
i just want to create a universal control panel that will link to any scene inside my flash movie. it has five buttons each of which needs to link to a different scene. i just can't seem to get the buttons inside the mc to link to anything on the main timeline. does anyone out there have any i...more >>

function "sum" problem
Posted by duckvader at 9/7/2004 1:17:37 PM
how do i access array of parameters used in a function say am building this sum function sum = function(para1,para2.....paran){ .. ... <-i add the loop addition } how do i access the array of parameters .. ...more >>

Looking for an array expert.
Posted by eSpeed at 9/7/2004 1:02:13 PM
Does anyone know how to remove a specific item from an associative array as I am unable to use any of the array() interative methods due to the associative array not having numerically addressable members. Thanks SMc ...more >>

update array using variables from a .txt file
Posted by direct-ed at 9/7/2004 12:45:29 PM
Hiya, Im inside a movie clip called 'apple'. On the first frame of this mc i have the following actions text.push([this._name]) 'text' is the name of a global array. I also have an external 'text' file holding the the value of the variable 'apple'. When this MC is entered I am ho...more >>

can i put horizontal line in a dynamic text area
Posted by e_jogendra at 9/7/2004 12:41:25 PM
Hi every body! Could i put a horizontal line in a dynamic text area. I have already render the text box as HTML but still it is not supporting. Any idea? Thanks JNS...more >>

Working with DateField ::: PLEASE!!
Posted by On Line at 9/7/2004 12:07:00 PM
Hi everybody: I have two Datefield one for "DayIN" and the other one for "DayOut", in the form the visitor select in each Datefield the DayIn and the DayOut of your hotel reservation. The complete form work fine, but I need to know "How can I catch de diference between DayIn and DayOut ????...more >>

Draggable mc to stay still for external .swf
Posted by a little ant at 9/7/2004 12:01:15 PM
Hi, The following code - when the user presses the mouse - plays `effect.swf' in an MC that follows the mouse. When i press the mouse however the `effect.swf' is still draggable while it completes it's timeline (28 frames) instead of completing it's timeline at that mouse press x, y co...more >>

loading a web page when MC is complete
Posted by Pat Jones at 9/7/2004 11:54:17 AM
Hi; I'm drawing a blank on what's probably a simple transition. I want to insert a small flash movie in a web page. When the movie is done, I want (1) the web page to close and (2) another one to open. How do I get the movie to do these 2 things ? Thanks; Pat ...more >>

Creating a button with ActionScript
Posted by Erika123 at 9/7/2004 11:51:06 AM
Hi, This is probably really easy but I am trying to create a set of buttons on the fly. My screen has 4 buttons on it and if you press one 3 new ones need to be created and displayed, if you press the second 4 new buttons need to be created and displayed etc. I can do it by going to differ...more >>

Loading in an MC into another MC - not.
Posted by a little ant at 9/7/2004 10:49:25 AM
Hi, btnOne.onRollOver = function(){ loadMovie("text.swf", "holder_mc"); } btnOne.onRollOut = function(){ unloadMovie("holder_mc"); } This works fine for a SWF being loaded into holder_mc. Now instead of SWF's - i want to use MC's from my sharedLibrary which are set for expo...more >>

Strange Drop Down Menu
Posted by jasonwsaz at 9/7/2004 9:18:47 AM
Hey I started revising a site and came accross a problem... The menu on the left hand side of the site ( www.mcsaia.com) after the intro page... (its the one that have an orangish background) The way it is set up right now is ver confusing...There are motion tweens before and after each pa...more >>

Correct position of movie clip
Posted by gofer at 9/7/2004 8:03:25 AM
Hi, I have a movie that has a button menu and when you click on one of these buttons a movie clip loads quite successfully into the main movie stage, that part is working just fine but I can't work out how to position this mc in the correct spot on the stage. I've gone through the help files...more >>

List component not updating properly
Posted by whoeiee::ean? at 9/7/2004 7:32:29 AM
Here's the situation: I'm using a List component with a custom cellRenderer. Everything works fine, just one major problem: the List doesn't draw its item until I roll the mouse over it once. Must be some oversight of mine I suppose, but I can't seem to find where. Any help would be much a...more >>

Dynamically create textfield in a Movieclip subcl
Posted by NicholasCrosby at 9/7/2004 5:28:41 AM
I am trying to programmatically create a textfield in a movieclip subclass. It will not let me compile the following: class Bouncer extends MovieClip { //constructor public function Bouncer() { this.createTextField("text_txt", this.getNextHighestDepth(), 0, 0, 60, 20); ...more >>

Open swf in separate window
Posted by rjh at 9/7/2004 4:14:16 AM
I am currently using getUrl from within a flash movie in respons to a button to open a separate window and play a second flash (swf) movie. This opens a complete new browser window. Is there a way to easily just open a window without any of the browser toolbar "stuff." I would like th...more >>

Movie Clip inside a Button???
Posted by _map at 9/7/2004 3:16:49 AM
Hi all, I thought that Flash MX allowed you to name button instances, and I believed this feature would allow you to state the target path of a movie clip within a button that's within a movie clip (or something similar). That's what I'm trying to do, but, when I go to test the movie, I g...more >>

destroy an object
Posted by NicholasCrosby at 9/7/2004 2:59:12 AM
I would like to destroy an object from within the object itself. How can I do this? I would appreciate any pointers. Thanks in advance. Nicholas Crosby...more >>

Rotation Dynamic or Input Text!?!
Posted by LWR Australia at 9/7/2004 2:20:15 AM
Maybe I am missing the obvious and I do know that for most instances this may be useless but I need to be able to rotate dynamic or input text fields. I have created an order form that needs to print in landscape mode, I do not want the user to have to manually select landscape mode in the p...more >>

Right Click Menu???
Posted by Lime_Shmoo at 9/7/2004 1:06:43 AM
Is it possible to construct your own menu which will appear when you "Right Click" on a button??? I know I can disable the Right Click menu, but I want my own menu to appear which will look nothing like the default Macromedia menu. My menu will contain text and buttons which will link to other...more >>


DevelopmentNow Blog