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 > august 2007 > threads for tuesday august 14

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

constraining symbols to a line
Posted by sarahbarber at 8/14/2007 10:35:06 PM
Hi, Could someone please tell me how to constrain a symbol to a specific line, I have it so that the symbol is following the mouse around the page but I would like it to only follow it across a particular line. simaler to this website.... http://www.building-solutions.co.nz/BS2.html This...more >>


Flash Preloader and Vertical Scrolling
Posted by d-web_ja at 8/14/2007 10:29:18 PM
I have a swf file that I load using a preloader. My swf has vertical scrolling that doesn't work when it is loaded into the preloader. I use invisible buttons to control the scrolling, the buttons have this script: on (rollOver) { tellTarget ("control") { gotoAndPlay(2); } } o...more >>

Text input/output
Posted by swodiddy at 8/14/2007 9:50:52 PM
I have 4 text input boxes on my interface: 1) Base Salary Field (salary) 2) % Increase Field (increasepercent) 3) $ Increase Field (increasedollar) 4) New annual Salary Field (prosalary) The user inputs an employees current Base Salary in field 1. Then they can either input a % increas...more >>

Flash CS3 URLLoader / Caching
Posted by SymTsb at 8/14/2007 9:48:58 PM
I'm working on sending and receiving data from a PHP script. The task is pretty much just a matter of updating the code to bring it from AS2 to AS3 compliance. I've rewritten the code that sends and receives the data and it appears to be working just fine at this point. The problem I appear...more >>

mental block with ARRAYS
Posted by nik c at 8/14/2007 9:19:55 PM
Hi, I got to loop through one array and selectively transfer values from it into another array. contentItems[ i ].attributes.id != "x" --- looks at an id attribute in an XML sheet and if this is x the respective data is not transferred from one to the other array. As you can see ...more >>

FLVPlayback: AS 2 or AS 3?
Posted by masterkrang at 8/14/2007 8:53:45 PM
Flash documentation has seriously been driving me crazy at work... If I import a video (as progressive download), into an AS 3.0 document, how do I control the video? I just want to set up an event listener. I don't want to write code in files i work with with AS 2 anymore, especially since...more >>

Appending data to dynamic text boxes
Posted by shurleynova at 8/14/2007 8:32:46 PM
Ok so I got the dynamic text boxes to display the varibales on each loop but I would like it to append to the text rather than replace the text because I want to send it all at once to my asp page for processing. so each of my 6 text fileds are setup like so _root.object_txt=currentClip;...more >>

Help Needed with random numbers
Posted by zacly at 8/14/2007 8:00:14 PM
hey....im trying to make a basic spin the bottle game... what is supposed to happen...is that when you rollOut of the button....the movie clip is supposed to go to a random frame number. the problem is that every time i rollout, my random number is reset to 1 and it keeps playing the same ...more >>



localConnection not working in IE
Posted by D Cam at 8/14/2007 7:50:59 PM
The website I've made has one SWF of buttons that basically tells a second SWF which frame to display. I'm using the localConnection to do this and it work perfectly in Firefox, Safari, and Opera, but not in IE. I've seen this same question asked in the forums before, but never answered. ...more >>

input text
Posted by lammspillning at 8/14/2007 7:23:21 PM
I want to load a externel .txt file into the input text field, so the user can start modify the text that has been loaded. Is this possible? Anyone knows how to accomplish it? //thnx...more >>

CS3 AS3 HTML DYNAMIC TEXT , etc
Posted by tweaked_eye at 8/14/2007 6:42:13 PM
Ok...I see a bunch of older threads...I did not realize this such a problem with older versions but hopefully not so with CS3 and AS3. I bought the book Flash CS3 Pro by Russell Chun and on page 384 he give a step-by-step tut on how to link to a separate html file and call it this script: ...more >>

video trigger flash movie
Posted by janst at 8/14/2007 6:22:08 PM
Hi, I am creating a website where my client wants a Flash movie to start as soon as his video finishes playing. The video really needs to stream. It's too big to embed. So far I have tried a timer and also embedding the video just to see how many frames it would be and then placing the mov...more >>

Flash components
Posted by pwmiller at 8/14/2007 5:23:41 PM
I'm looking to create a component that I can drag on to a MC and change the behavior of that clip. I'm not looking to create a component that you drag to the stage and appears visually similar to the built in Flash components. In a nutshell, I want to be able to drag a component on to an...more >>

clearing text input fields
Posted by roadcrew at 8/14/2007 4:11:20 PM
I am working on a game in flash. at the end of the game you can enter your name, address etc. and your name will apeear in the high score list. Also an email will be sent with this info. Everything works fine with one exception: if you play the game and enter your data, then click on new g...more >>

Continuous Scroll, Continuous Drag (k)
Posted by W. Kirk Lutz at 8/14/2007 3:56:49 PM
I have a continuously scrolling movieClip. It scrolls continuously by looking at the _x coordinate. If it reaches a certain point it jumps the playhead back to the beginning to seamlessly scroll. It scrolls by subtracting a speed variable, currently set to 2, from the _x coordinate. I also ...more >>

removing dynamically created movieclips
Posted by mrsuperfineshag at 8/14/2007 3:06:09 PM
i'm adding a movieclip from the library to the stage, then moving it with the Tweener class and finally want to remove it when all is done. As you can see from the code i'm getting a trace when i get to the removeClip() function that i made, everything works up to here. I'm just not sure how t...more >>

Irregular Text fields
Posted by Tom F Parker at 8/14/2007 1:22:47 PM
Hi. Anyone know if there's a way to create text areas in non rectangular shapes and get the text within to flow round them? Alternatively is there a way to get text to wrap around a graphical element? Kinda looking for DTP text control within Flash - I don't believe it's possible, but...more >>

Flash Video Gallery Thumbnails Pulled from FLV Keyframe?
Posted by philaphan80 NO[at]SPAM yahoo.com at 8/14/2007 9:42:14 AM
Does anyone know of a way to programmatically load a thumbnail image of a particular keyframe or timecode from an FLV movie? (Tutorials are also welcome.) I'm building an XML-driven video gallery and I've seen several components and tutorials offering a way to load external JPG images as thu...more >>

XML in a custom [as 2.0] class?
Posted by wilburrrrrrrr at 8/14/2007 5:20:56 AM
why wouldn't this work as an AS2.0 class? the 'myXml' value always comes up undefined. i've established that it is loading the xml file and i've tried local and online xml files and i'm just stuck... i'm new to class building. thanks for your help. the as file... :confused; ...more >>

Movie clip
Posted by Muthunagai.A at 8/14/2007 4:26:44 AM
Hi all, I have created menu dynamically using movie clip. But I wnat the menu at the bottom corner of the screen. If the menu items are increased it is displayed beyond the screen limit. How to ctrl it? Give me any idea? Thanks in advance ...more >>

Reading a String as the name of an Array
Posted by Ryaninthewind at 8/14/2007 2:26:59 AM
well.. lets say ive got some code like this... (this is AS2 by the way) How would I get the the trace to output the data in the Array instead of just "map1"? map1 = new Array(); map1 = [ "wow", "super", "cool"]; map_number = 1; trace("map"+map_number); ...more >>

bold / itallic in dynamic text field
Posted by fire orchid at 8/14/2007 1:04:48 AM
I can't seem to get bold text to work in a dynamically loading text field - am trying both [B]bold[/B] and [B]strong[/B] formatting tags... Am using Flash 8.0 Font I want to use is Bradley Hand ITC, which I have embedded. Thanks ...more >>

Getting subStrings from String
Posted by breez11 at 8/14/2007 12:33:19 AM
I am going to receive a string like this http://localhost:99999/proxy/http://www.mysite.com/videos/myVideo.flv and I will need to pull out some info such as the port number "99999" and the flv url "http://www.mysite.com/videos/myVideo.flv" what are my option to get these values from a st...more >>

Why mouse press is not detected?
Posted by pavel128 at 8/14/2007 12:00:00 AM
Hi! Under simple conditions mouse-clicks are not detected by Flash. Do you know why? Consider a simple test program: http://www.actionscript.org/forums/attachment.php3?attachmentid=23649&d=11869921 36 There are 2 objects on the Stage: - a ComboBox (Component 2.0) - a simple MovieCli...more >>

AS3 - Accesing dynamic MC
Posted by H u g o H i r a m at 8/14/2007 12:00:00 AM
Hello, From a Thread in this forum, I learned to create dynamic MC like this: for (var i:int=0; i<5; i++) { var mc:MovieClip = new MovieClip(); mc.name = "thumb_"+i; mc.myNumber = i * i; this.addChild(mc); trace(mc.name+", "+mc.myNumber); } results: thumb_0, 0 thumb_1, 1 th...more >>

[AS3] EventDispatcher works locally but not remotely
Posted by bluevespa at 8/14/2007 12:00:00 AM
Hi, I am very new to Action Script and have the following problem. I hope someone can point me in the right direction. I have a small video player app. I have added the FLVPlayback component to the stage and set some properties via action script (AS 3) I then instantiate a class to go ...more >>

get width of text
Posted by Marco Mind at 8/14/2007 12:00:00 AM
Hi, I was trying to get the width of a textfield by setting it to autosize. The field is multiline and the Text is set by htmlText property. But the _width property gives me only the initial size of the field not the width of the text. Any ideas?...more >>


DevelopmentNow Blog