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 2005 > threads for tuesday june 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

passing a value between Scenes/loadMovie
Posted by scriptKid at 6/7/2005 11:35:54 PM
hey all, I have an interface where a user clicks titles of "chapters" to have the chapter play in the next scene. the problem is, i can't get Scene 2 to read the variables from Scene 1. I really don't want to have to hand code 19 simple functions....that's what loops are for! The loop work...more >>


Dynamic text
Posted by Ineedsleep at 6/7/2005 10:50:05 PM
I have a dynamic text field that loads in from another source this is the code I use: loadText = new LoadVars(); loadText.load("http://www.djnow.co.uk/~newsite/data.txt"); loadText.onLoad = function() { infoa.text = this.infoa; }; this works fine when its on the main time movie...more >>

getting the size of a textbox
Posted by bman979 at 6/7/2005 10:13:37 PM
First off I am fairly new to flash. My problem is getting the pixel width of a autosized textbox which is part of a button. This will be part of a navigation system which first reads the data from a xml file and then creates the navigation bar. I can get the length of the charaters in the t...more >>

new to action script and need help
Posted by swollenguy at 6/7/2005 10:10:19 PM
I am new to action script and need help. I have a flash web site with four menus each has twelve buttons the play twelve movieclips that display an image. Each button uses a gotoandPlay and gotoandStop to start the movie clip and turn off the others. My problem is they work fine until you go b...more >>

PHP is not receiving any data sent from Flash
Posted by ManinBlaq at 6/7/2005 9:33:44 PM
I've been attempting to send an xml file to a PHP script, for quite sometime ...all in vain. I've verified that my PHP script works, by submitting from a barebones web form. Effectively, all it does is step through each POST key and prints the value. When I attempt to send xml data to...more >>

Dynamic Textbox Resize
Posted by esaeo at 6/7/2005 9:28:24 PM
I'm trying to have a dynamic textbox resize to fit the number of lines of returned text that populates it such that there would be no need for a scrollbar AND there would be no excess space AND all of the text would be visible. How can you tell a dynamic textbox to size to the number of li...more >>

Navigating Multiple swfs
Posted by ni9e at 6/7/2005 9:10:30 PM
hi all...ive got a presentation that loads multiple swfs into a main player. for instance... Main.swf --Loading via loadMovie-- a.swf b.swf c.swf All of the sub sections have 5 frames a piece. I have a set of standard vcr controls (back, stop, play, and next). Im having trouble...more >>

XPathAPI - Predicate Failure
Posted by bobpf at 6/7/2005 8:19:56 PM
All, I have a problem that when I use multiple values in a predicate expression it causes the search to fail though the node is present. Here is an example: The xml in myXml: <ROUTE> <STOP STOPINSTANCEID="748605502613" ACTION="UNASSIGN_ROUTE_STOP" /> <STOP STOPINSTANCEID=...more >>



v2 components and export frame for classes
Posted by mikeshank at 6/7/2005 8:01:23 PM
What do i need to do to get v2 components to work when using Export Frame for Classes other than frame 1? I have a file that has Export Frame for Classes set to 10, a TextArea i am creating does not work. What i mean by not work is that it is not visible, but when i trace the TextArea it exi...more >>

video fast forward and fast rev controls
Posted by dream_beaver at 6/7/2005 8:01:23 PM
I have a quicktime file embedded into a movie clip. I need to make a rev, fast rev and fast forward button to control the movie clip. Any help would be greatly appreciated....more >>

if / else loop or other help
Posted by stymp at 6/7/2005 7:14:33 PM
in a movieclip timeline if have a loops that repeats over and over with gotoAndPlay(1); Later in that timeline I have a framelabel of a different piece of the clip i'd like to play after the first loop plays 3 times currently i have this on frame 1 and its not working var timesPlayed:...more >>

flash and html communication?
Posted by riverdog05 at 6/7/2005 6:55:44 PM
Hey guys...I am trying to have my flash navigation recognize which html page it is on, and highlight the corresponding button. I think the code in the html will look like this <param name="movie" value="header.swf?acbtn=advantaget"> where the active button is advantaget. But I'm not ...more >>

oop game
Posted by Sam at 6/7/2005 4:33:15 PM
what I'm looking for now is a dynamically created hitTest method for these created enemies. here's the method that creates the individual enemies: function fillUp(){ counter = complement; rows = counter/per_row; _root.createEmptyMovieClip("armada",29) for(i=1;i<rows+1;i++){//make a ro...more >>

classes missing when using as2.0
Posted by rms7design at 6/7/2005 1:34:28 PM
Hi guys, I am battling into finding a solution to my missing classes.... I cannot publish with as2.0 setup. I can publish with as1.0 but when doing so withh as2.0, my classes are missing.... I use Tiger10.4, PBG4, Flash MX Pro. Any ideas????? Thanks ...more >>

Batch processing with Flash MX 2004
Posted by ChuckyLeFrek at 6/7/2005 12:45:51 PM
I have a fairly laborious task ahead of me and wanted to see if there are any shortcuts possible. Basically I have 200 mp3 files and I need to import each one into a separate flash movie and then export each one as a separate swf file (Flash 4). Any suggestions as to a speedy solution or...more >>

printing from Action Script?
Posted by esguard at 6/7/2005 12:35:36 PM
I've made an appliction using Action Script language, it would be interesting for the program, to print out a sheet with some data and variables generated. I wonder if it is possible to do, it avoiding printing fotograms, that is because fotogram size is proportional to screen size, and I thin...more >>

javascript to detect flash plugin
Posted by Sudipto at 6/7/2005 12:31:32 PM
I want to have javascript file (.js) with a function to detect if flash plugin (for netscape ,mozilla etc) or flash activeX exists in that browser or not. Therefor display an alternate content (image ,text etc) if not found. I have done this to detect a flash player in IE using javascript havin...more >>

buttons in dynamic scrolling text
Posted by tallphil at 6/7/2005 11:47:01 AM
Hey, I've written a news window, that loads in the text from an external file. I'd like to have a line of text at the end which can be clicked to show all of the archived news, which can be kept in a seperate text file. I was wondering if there's a way to have this button at the end of the t...more >>

Tree Component Selected Index Question
Posted by eszulc at 6/7/2005 11:34:54 AM
Hello Everyone. Does anyone know how to find the selected index in relation to a specific node in the Tree component (as opposed to all that is visible). For Instance, given: aa -ba -bb -bc -ca -cb -cc (*) -bd I want to find the i...more >>

duplicate/clone [Object]
Posted by Sson at 6/7/2005 10:30:56 AM
code below will output "original" "modified" what me have to do is: clone the [myObj] which passing into [methodA] as [obj] but not set a pointer to it those code seem just set a pointer for [tmpObj] to [myObj] , because [myObj] also affected by modifying [tmpObj] function...more >>

Button hit areas overlapping layers with greater depth
Posted by fredhastur at 6/7/2005 9:17:14 AM
I'm having some problems with buttons. I have a bunch of different layers in my movie, some with buttons on. When the buttons are covered by a different layer, they can still be clicked even though the actual button isn't visible. It's like the depth of the "hit" areas are always above the dep...more >>

Disabling popups in swf on right click
Posted by grykasp at 6/7/2005 8:46:13 AM
Hi, I have a flash presentation where in at one point the user needs to right click on a field which will take him to another screen. The problem is when the user right clicks standard pop-up appears with the different options. Is there anyway I can disable this pop-up on right click. ...more >>

Flaming animation?
Posted by pandx at 6/7/2005 8:37:07 AM
Hi all, I'm trying to create a "Hot Deals" button with a "flaming" sort of animation behind, as if the button is on fire. I've tried painstakingly doing the graphics frame by frame, but it's still very unrealistic. Anyone with any ideas or examples on how to create the effect? Thanks! ...more >>

Loading and storing data externally
Posted by rahil23 at 6/7/2005 6:44:57 AM
Hello i have almost completed this small project which is something like this site http://www.broadvoice.com/areacodes.html But my client now wants the data to be Loaded and stored to the database ie My Sql i have very little idea about it Please help Rahil www.geocities.co...more >>

IMG in Text Field - Can it be inline?
Posted by gavinnosler at 6/7/2005 6:27:19 AM
How can I load an HTML image into a dynamic text field (it's a movie clip with a link ID) and have the image be displayed inline with the text? It seems like it can only be aligned left or right, and it automatically drops to the next line. Please, please tell me MM didn't go through the t...more >>

Problem with long numbers in variable
Posted by Shraka27 at 6/7/2005 1:23:46 AM
Okay I got a big problem right now. In my custom UI, I have some code to save the developers input to the XCH object. However, in my text box, if I enter a number that's 16 digits or longer (such as 2532523523523551) it is converted into some junk that isn't usefull to me at all (such as 2...more >>

How could I format this XML date?
Posted by JPigford at 6/7/2005 12:59:42 AM
I've got a bit of an XML that I'm pulling into flash that is: <date>2005-06-06</date> I'd like to be able to format to various things. ie 6/6/2005 June 6, 2005 etc etc is that possible?...more >>

How would I get this for loop into a text box?
Posted by JPigford at 6/7/2005 12:56:01 AM
I've got this bit of AS: mainContentXML = new XML(); mainContentXML.load("file.xml"); mainContentXML.onLoad = function(success) { if(success) { firstNode = mainContentXML.firstChild; newsNodes = firstNode.childNodes; for( i=0; i < newsNodes.length; i++){...more >>

Loading text doesn't stop
Posted by Brando 81 at 6/7/2005 12:46:21 AM
I've been trying to load a text file with a loadvariable, but when I go onto my web site it doesn't stop loading. It will find the file and keep loading. http://www.realfightingirish.com/root/rfi.html ...more >>

Path Issue
Posted by Newbie05 at 6/7/2005 12:21:56 AM
Thanks to everyone for taking the time to read my question. I have a movieClip -- lets call it parent_mc -- which loads a movie when a certain button is pushed -- lets call the movieClip that's loaded child.swf. Now inside child.swf I have a button and this code attached to it: on (rel...more >>

Scene 2 is Black
Posted by frosto at 6/7/2005 12:00:00 AM
when I navigate to Scene 2 from scene 1 (using labels, _root.gotoandplay("label")...etc.) and test the movie, scene 2 is nonexistent, black, unmovieness. Both scenes test well individually and I've never had this problems before. Also, scene 2 has little script, only a stop() and the end. ...more >>

xml.onLoad in as2
Posted by dkan24 at 6/7/2005 12:00:00 AM
I am calling a class to load XML and have it return the XML data. It is returning before it loads with nothing in it. Is there a way to have the function block until the XML loads? Here is my code: (calling class) private var loadXML:LoadXML; private var xmlReturned:XML; loadXML =...more >>

LoadVars and formmail
Posted by Doug Green at 6/7/2005 12:00:00 AM
I have a head scratcher - I'm using the following script to process a feedback form. The process works great when I test the movie from my computer - and the form works with a simple html file. It even works when I open the swf file from the site. But when I try to run the script online it ...more >>

Creating .as file -- ??
Posted by Chris Goodiel at 6/7/2005 12:00:00 AM
I am running threw a tutorial from a third party book which is not really of matter but to give a little history of why I am here. Here is the problem it says go to File Menu, select New file, select ActionScript file. I have no option for ActionScript file only New Flash File. I am ...more >>

Press anykey to continue?
Posted by ....hooligan at 6/7/2005 12:00:00 AM
Hey guys what would be thae best way to make a function that checks to see if any key has been pressed and if it has goto a certain frame. I tried this on the timeline but didnt seem to work. this.onKeyDown = function() { trace("key is down"); _root.gotoAndStop(23); } didnt seem to wor...more >>

FLV Progress Bar - Clickable/Draggable seek()ing -- Math problems..
Posted by ominous93 at 6/7/2005 12:00:00 AM
Hi all, Like the topic says, I'm trying to create a progress bar that is easy to use (for the end user). I wish to create a way to click and drag on the progress bar to send seek()'s to the proper position in the movie. I have downloaded this player: http://www.jeroenwijering.com/?ite...more >>

re-ordering _layers
Posted by TAGDigital at 6/7/2005 12:00:00 AM
1st of all I want to thank everyone on here for all the help they have given me. You guys have been great help. I have a problem that I can't find a way around. I am porting a director game over to flash. Being new to flash I setup my layers on the timeline thinking I could manipulate the l...more >>

write in distant text file
Posted by mambobob at 6/7/2005 12:00:00 AM
Hello, i want to write data in a distant text file (other domain) using loadvar and PHP script. Here is my actionscript in my swf (on my local computer). var LV:LoadVars = new LoadVars() LV.MyURL = _root._url; LV.send("http://www.mydomain.com/MyLogs/WriteImgceLog.php", "0", "PO...more >>

scroll bar not working when uploaded on web site
Posted by Brando 81 at 6/7/2005 12:00:00 AM
My scroll bar doesn't work when I upload it onto the internet. The events page is loaded ontop of the main.swf. If you look when the events.swf play's by itself it works fine, http://www.realfightingirish.com/root/flash/events.swf but when I put it on top of main.swf it doesn't work. Maybe i...more >>

Presentation Master
Posted by macrobob at 6/7/2005 12:00:00 AM
Currently I am reworking content from a companys presentation that are in Powerpoint and converting them to Flash. They have a number of presentations that are geared towards different audiences such as investors vs printers vs potential clients. What I would like to do is make a master p...more >>

Tree component labels
Posted by electricbluemonkey at 6/7/2005 12:00:00 AM
I would like to be able to edit the labels of the tree component at runtime. So when a user double-clicks a folder in the tree the label turns into an editable textfield. I know this is possible because Ghostwire has a tree component with an editable textfield (which I would use except that I ...more >>

loading scenes
Posted by acalle at 6/7/2005 12:00:00 AM
I did a web page with 15 scenes (more or less). I want to know which action do I have to use, in my loading, to load all the scenes....more >>

Textfield Frustration
Posted by johnvsc at 6/7/2005 12:00:00 AM
hey everyone... this is a little frustrating (and embrassing too) here's my problem. I m developing an app with many dynamic text fields. they all are contained in a MovieClip which has been attached to the stage and or duplicated... so there names are different. when a user imputs a...more >>

Actionscript Help
Posted by RPC190 at 6/7/2005 12:00:00 AM
Okay someone please tell what I'm doing wrong here.. Basically I'm trying to make a sound control movie and when you select a song it displays the title but the movie fades out when you mouse off, and I want the song title to still be there when you come back. Frame 1 Movie Clip; onClipE...more >>

Need Help on Duplicate menus
Posted by Rajula at 6/7/2005 12:00:00 AM
I had a problem facing in duplicating of menus, i duplicated "cont" movieClip with an array that suppose to 10 items in an array and the Code is : var items = ["About us", "Process", "Outsourcing", "Technology", "Client Login", "Request Quote", "Custom SW", "Free Evaluation", "Registrat...more >>


DevelopmentNow Blog