Groups | Blog | Home


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 > january 2006 > threads for monday january 16

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

XML.onData returning with unparsable XML
Posted by sampurtill at 1/16/2006 11:08:01 PM
Hey, I'm using the Flickr API and I have everything working perfectly. I've run into a problem though; I send away to get an XML formatted return of a number of links to different sizes of images of the same picture. The only problem is when the data gets returned, it is all in perfect XML...more >>


multiply getURL with as.
Posted by RnV at 1/16/2006 10:21:04 PM
I use this actionscript for multiply buttons. Now i want that de getURL use the same array as the button names. But when i use this as, i cant get it done? Can somebody help ? Thanks var clip = undefined; name_array = new Array("www.google.nl", "www.ilse.nl", "www.search.com"); ...more >>

help with very simple easing script
Posted by shambo at 1/16/2006 9:46:02 PM
trying to make a very simple google map type ui. can anyone help me add motion easing to this script? on (release) { map._y += -10; } thanks so much!...more >>

Simple Problem!
Posted by michael novia at 1/16/2006 9:23:01 PM
Im having trouble controlling a movie clip. Current my stage is set up with 2 movie clips, one of wich is masked, the other is not. The opposite movie clip contains a button inside, that should control the masked movie clip, however its not doing as its told! in the button i currently have: (t...more >>

Directional fire
Posted by Briancapo at 1/16/2006 9:11:10 PM
Can anyone help me with this little problem im having? As my guy changes direction, the bullets dont follow. If anyone can help me have the bullets fire in the direction the guy is pointing i would be very appreciative. (and i need to keep the code as simple as possible. Basically, i have a m...more >>

Variable to mod Instance not working
Posted by Zylozeer at 1/16/2006 8:57:45 PM
Greetings, I'll try to keep this simple as I'm willing to bet my solution will be to reduce my shame. Lets say I have 4 textAreas on the stage with instance names of text_1, text_2, text_3, text_4. I wrote code to pull data from a database and put them in the appropriate box which ...more >>

Change registration point with AS?
Posted by thejokerman05 at 1/16/2006 8:37:14 PM
Is it possible to change the registration point of a movieclip by AS. Centered or top left?...more >>

Problem Creating New Class
Posted by SJB01 at 1/16/2006 8:16:18 PM
Hello, I seem to be having a problem creating a new class whether it is extending an existing class or simply new altoghther. I am on a computer and network that is new to me and i have done projects involving classes sucessfully before. The error message i receive is (error msg example ...more >>



Tree Component!
Posted by redl3tt3r at 1/16/2006 8:15:47 PM
Greetings all, I am trying to setup an application using a tree component and XML to (a) load an external SWF into a holder; and (b) provide a description of the SWF in a textbox. First I tried running an array to set the label and data properties of the tree component. This was quite ...more >>

Hot to set linespacing on a TextArea
Posted by Cetrez at 1/16/2006 8:10:39 PM
Hi, need some help with the TextArea component... I know how to set the font, color, etc using styleSheet.setStyle. But I haven't found a way to set the linespacing Is it possible so set the linespacing on a TextArea using styleSheet.setStyle or can this be achieved any other way. Wou...more >>

GotoAndPlay for when a FLV Playback clip ends?
Posted by EBagg at 1/16/2006 7:38:12 PM
I've been looking around and I get rather vague answers to this question, what would the actionscript be for when you have a video clip running in an FLV playback component, when the video clip ends, I want to goto a different frame in the scene? ...more >>

Any significant changes in Actionscript between MX2004 and 8.0 versions?
Posted by wizardmatt at 1/16/2006 6:35:57 PM
I am currently using Flash MX 2004 Professional. I am wanting to upgrade to Flash 8 Pro. I have an extensive library for Actionscript as its based in Flash MX 2004. When I upgrade would I need to get all new books etc for the actionscript side of Flash or is most of the action script the same,...more >>

Flash 8 - Global Styles Don't Work When Using Imported Classes & Strict Datatyping
Posted by DougStudioUK at 1/16/2006 6:29:47 PM
I have a v2 ComboBox component on my stage if i run this code the HaloBlue Theme is not applied (Notice the first 2 lines): import mx.controls.ComboBox; var myCombo_cb:ComboBox; _global.style.setStyle("themeColor", "haloBlue"); _global.style.setStyle("openDuration", 1000); _global.st...more >>

Flash opening exe files
Posted by indepth at 1/16/2006 5:59:48 PM
Hello, I'm working on a project were I need to develop an actionscript that opens an exe file at a certain point or scene in the presentation. The exe file is for a software program that would open during the presentation. The exe file would reside in the same folder as the swf file. ...more >>

Real Time Logic
Posted by rooster_asu at 1/16/2006 5:49:04 PM
I'm currently creating a draggable clip that if it extends beyond the edges of a set boundary stays at that boundary. The logic works but the conditional statements seem to only be checked at the Flash frame rate, 12fps. I tried an updateAfterEvent statetment after performing the required ac...more >>

using variable in splice function
Posted by timdiacon at 1/16/2006 5:40:49 PM
I have a listbox which is filled using variables from an array. I am trying to use the splice function to remove items from the listbox by removing items from the array and then refilling the list boxes. Here is my code... on (release) { selected_image = selected_images_box.selectedIt...more >>

[XML] How do I set the x,y coords of a MC via XML?
Posted by kidokay at 1/16/2006 5:31:25 PM
I'm working on a simple XML Image Gallery in Flash MX 2004 Pro, only I want to be able to set the x,y coordinates for each image individually. Can anyone explain how I do this via the XML and what the AS would look like? I'm not having much luck finding info on this or else it's all a bit ov...more >>

Loop on a list
Posted by RBC at 1/16/2006 5:27:43 PM
Is there are a quick way to loop over the values of a list and then use those values to set up dynamic variable names?...more >>

Web Browser
Posted by hollywoodbb at 1/16/2006 4:49:50 PM
Is there some type of flash script that is written, that will hide your folder directories when you visit your site through the web browser. When i click on one of my links, which retrives data from a certain location. It displays the path of where i'm gathering my data. (example: http://www...more >>

Can't use dynamic variables?
Posted by Jeff Impact at 1/16/2006 4:49:33 PM
Hello, can someone tell me why I can't use dynamic variable names to hide something. For example, I have a movieclip called temp1 on the stage that I would like to hide. The following code works: temp1._visible = false; However, this code does not work: newArray[0] = temp1; newAr...more >>

Using a variable string value to input an instance target
Posted by GBBinaural at 1/16/2006 4:24:24 PM
I am curious about something. I have written a fairly long set of ELSE IF statements to achieve a solid navigational system for a website. I always want to know what is CURRENTLY active on the page so that the NEXT ACTIVE button can first wipe the stage clean of the button you WERE on before g...more >>

creating a persistent variable
Posted by RBC at 1/16/2006 4:18:40 PM
I am wondering how I go about creating a persistent variable in flash. In other words, for example, on frame 1 my actionscript might create a variable called "_global.testText" which would contain a string. On frame 2, I want to always display the value that was last set to that variable, on...more >>

Which is the best server side script language?
Posted by wizardmatt at 1/16/2006 4:05:19 PM
My company wants me to build a flash form to gather a wide variety of information. I will be collecting text, strings, compound strings (combined in the flash actionscript) numeric values with expressions etc. I know the standard database scripts all cover the abilities to do this. I am wonder...more >>

Script Security Access Problem
Posted by Nixy at 1/16/2006 3:52:18 PM
I have a swf on the root of my web site. That swf use the loadVars object to send and load variables from an ASP page. All works great if you type http://www.november7.ca (note that is just an example, not the real web site adress). The problem is when you omit the www and you type http://nove...more >>

Create a drop shadow with AS
Posted by milhouz at 1/16/2006 3:40:24 PM
Hi, How can i create a dropshadow filter on-the-fly with AS? thanks....more >>

Components mess up preloader
Posted by drumfunk_moire at 1/16/2006 3:35:12 PM
I have observed an anoying bug in Maromedia Flash 8. I am working on a Flash movie & everything is fine -my preloader works great. (Preloader code and tutorial--> http://www.kirupa.com/developer/mx/percentagepreloader.htm ) When I add flash scrollbar component, movie does not play (an...more >>

var names generated programatically?
Posted by BlueD at 1/16/2006 3:29:23 PM
How can I generate variables with random names in flash? the normal declaration should be var NAME but I want to write a function that writes the name for me... var (generate NAME) How can I do that?...more >>

Calc
Posted by FlashIsTheCoolest123 at 1/16/2006 2:50:43 PM
I still need help with this for my BASIC calculator: I have addition and subtraction ActionScript for my + and - buttons. Here's the ActionScript (there's a question that follows): //For Plus: on(press){ _root.Display = _root.NumberWorking + _root.Number; _root.NumberWorking = _root....more >>

Problem with getURL
Posted by dizailleneur at 1/16/2006 2:30:47 PM
Hi all, sorry for my english but i'm french... I use Flash Professionnal 8 and Dreamweaver MX 2004. I've got a problem to create a website. I've got a HTML page with a Flash Animation. In the HTML page, I have : <script language="javascript"> function affiche() { document.getElemen...more >>

Problem with getURL
Posted by dizailleneur at 1/16/2006 2:29:08 PM
Hi all, sorry for my english but i'm french... I use Flash Professionnal 8 and Dreamweaver MX 2004. I've got a problem to create a website. I've got a HTML page with a Flash Animation. In the HTML page, I have : <script language="javascript"> function affiche() { document.getElemen...more >>

record sound from mic to file
Posted by NandoPipo at 1/16/2006 1:39:06 PM
anybody knows how to save from microphone to file in a stand-alone aplication? ...more >>

Issues with scope (I think) and Sound() object
Posted by BlueD at 1/16/2006 12:41:15 PM
Hi people, someone can tell me why this code var mcSoundLib:MovieClip = this.createEmptyMovieClip("mcSoundLib", this.getNextHighestDepth()); mcSoundLib.createEmptyMovieClip("mcSound1", 1); mcSoundLib.createEmptyMovieClip("mcSound2", 2); var vSnd1:Sound = new Sound(mcSoundLib.mcSound1); do...more >>

embeding images inside text field
Posted by Feery at 1/16/2006 11:01:13 AM
I try to embed images inside text field and i know how to embed images, movie clip and swf throgh <img > tag but this tag will preview the image just in the begining of the line not where i want to preview for example I write this code to preview inside TextArea (history_txt) [COLOR="Na...more >>

DataGrid Componet cause Problem to all Textfields !
Posted by ivanckt at 1/16/2006 10:20:26 AM
Try this: 1. draw an input text field 2. drag a Data Grid Component into the Library Publish it and you will find that once you give a focus to the text field, you wont be able to kill it no matter where you click ! Remove the Data Grid component and everything will be ok http://sweb...more >>

Call a URL from a text document
Posted by DigitalKicker at 1/16/2006 8:43:33 AM
Hi, I'm stumped with this at the moment: :confused; I have a simple animated banner that pulls in dynamic HTML text from a .txt document. Because I have Rollover states on the movieclip, I cant change the links with the dynamic text. My question is... does anyone know a simple way t...more >>

downloading a file from my flash website
Posted by batgirl_Sa at 1/16/2006 7:31:57 AM
I want to have a list of documents wher the user will be able to click and download the document... i know how to do it in HTML basically something like this <% date %> test <HTML> <header> download document</header> <body> <a href="tasks.doc" target="_blank">Text Anchor</a> ...more >>

calling a javascript function
Posted by klintonray at 1/16/2006 5:21:37 AM
Ok, i have a javascript function I would like to call from flash. My flash movie is very simple as it is just for testing. It has a button with an on release event of: button_mc.onRelease = function(){ fscommand("goWin","Hello World"); } the html code the swf is embedded in look...more >>

is there a way to...
Posted by kdittyr at 1/16/2006 4:42:46 AM
Alright, I have an flv player that is accessing a playlist for it's clips. What I would like to know is this: Is there a way to start to preload the next clip in my playlist say ten seconds before the current flv ends (without Flash Media Server 2)? I would like to have continuous play wit...more >>

getURL + javascript bugs
Posted by Nixy at 1/16/2006 4:22:24 AM
Ok that's weird. I use Flash 8 for one week. I don't know if that is the problem, but I'd never had this problem before. I try to call a javascript function, a simple alert(). There is 2 way I tried, but no ones works. The first one is right in the Flash Action script like that getURL("JavaS...more >>

How many times played Counter
Posted by starguy2 at 1/16/2006 3:42:50 AM
Anyone know of a way to make a counter that would increase each time a movie was played ?...more >>

Flash and Div Tags
Posted by Dinghus at 1/16/2006 3:21:25 AM
Is it possible to hide a SWF behind a DIV on a page? I've tried putting the SWF in a DIV and setting the Z-INDEX to 1 and then another DIV with a graphic with a Z-INDEX to 2 but the SWF always ends up on top. Anybody know how to solve this one? ...more >>

fricken text syntax errors
Posted by Syndicate5 at 1/16/2006 2:50:18 AM
i get a syntax error on this : textField_txt.text ="What Did The Democrats Say About Iraq's WMD? JANUARY 30, 2004 Without question, we need to disarm Saddam Hussein. He is a brutal, murderous dictator, leading an oppressive regime ... He presents a particularly grievous threat becaus...more >>

can som1 figure out a better action script then this
Posted by rbr1234 at 1/16/2006 2:05:01 AM
????...more >>


DevelopmentNow Blog