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 > july 2007 > threads for thursday july 26

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

increment a value already in a for loop?
Posted by NickTheNameless at 7/26/2007 11:41:46 PM
in the attached code i would like to increment the value of the data by 1 for each entry into the combo box. how do i do this? for (var x in myXML.idMap) { myComboBox.addItem({data:0, label:x}); } ...more >>

LocalConnection in multiple identical instances
Posted by jkristos at 7/26/2007 11:26:14 PM
I have a swf that plays mp3s I am dynamically loading multiple instances of the swf into a page. Each swf grabs an mp3 based on the product that it is associated with. The problem is trying to stop any player that's currently playing when you click play on another swf. It seems I can only ...more >>

html file embeds swf from another server
Posted by sinsore at 7/26/2007 11:15:11 PM
I am having a big problem. I have two servers Server A (does not have Php) and server B (with Php). Server B hosts the swf and the php files it calls for. Server A only hosts the HTML file that embeds the swf. The HTML has all the allowscriptaccess='always'. When testing Server B all works wel...more >>

constructing path from _levelx. ... .main_btn
Posted by nik c at 7/26/2007 10:41:19 PM
Hi, How would I construct a path to then use it e.g. to asign filters to the movie clip I am pointing to? I have tried to construct it as a string as in e.g. tVideoInfo = "_level2.menu_mc.item" + whichUnit + ".main_btn"; (leading to something like: _level2.menu_mc.item1.main_btn) ...more >>

Screen size to determine Stage scale mode
Posted by dzedward at 7/26/2007 10:36:41 PM
right now I'm using the resolution settings to change the scale mode, but it's not really what i want.. basically, if the scroll bars have to come up, I want the movie to scale to fit, otherwise, it shouldn't scale to fit... have any ideas? Attached is what I'm using now if(System.capab...more >>

Passing variables with loadMovie
Posted by RJW at 7/26/2007 10:24:01 PM
I'm new to ActionScripting. I want to pass the value of a variable from one swf file to another. I have a tutorial book that states I can do this with the loadMovie action when I load the second movie; however, it doesn't give me any guidance in how to use loadMovie to pass the variable value....more >>

A bit of advice for a flash dev wanting to code a game
Posted by archont at 7/26/2007 6:41:36 PM
Hello. I've been using flash for quite some time now - though I would hardly call myself a highly skilled coder, especially now that AS3 came out and I have a hard time adapting to some of it's aspects, the switch from an apparent scripting language to a full-fledged, strict, precise and F...more >>

when user browses away from my html
Posted by nehcdet at 7/26/2007 6:35:53 PM
Like most of the use of swf, my swf is embedded in an html. I'm wondering if I can catch the event in my swf when user browses away from the html. Is swf gets unloaded at the time? Can I do certain things in actionscript when it happens? Help is appreciated. thanks, Ted ...more >>



working with xml nodes, create var for each
Posted by NickTheNameless at 7/26/2007 6:10:57 PM
i have an multiple xml documents each with different number of nodes. each of those nodes will always have 4 child nodes. each of those child nodes may have a different amount of child nodes themselves. i am trying to cycle through the loaded xml document and give a variable name to each, b...more >>

Very simple MovieClip question
Posted by Lucy4 at 7/26/2007 6:04:06 PM
My brain has stopped working for the moment and I can't for the life of me remember how to go to a frame of a particular MovieClip. I've got a button that has a MovieClip with ten frames in it, when somebody rolls over they play up to frame five, I want them the play frames 6-10 when somebody ...more >>

Alarm
Posted by OscarSSS at 7/26/2007 6:00:26 PM
Can somebody help me with a script that I can put in a alarm application that I am trying to developt in flash, I need kind of like an alarm set it to buzz or make a sound every hour. Thanks in advance!!!! ...more >>

unloadMovie to a specific frame
Posted by jlucchesi at 7/26/2007 5:12:28 PM
Hi - I have a master.swf with a btn that uses loadMovie to bring in INSTR.swf which completely fills the screen. Then theres a button on INSTR.swf that unloads itself and then brings back the master.swf into the same level. ( It works but if theres a better, cleaner, safer way - please ...more >>

Preloader interruption problem
Posted by saunz at 7/26/2007 4:30:49 PM
I am using the following script to preload external .swf's in my sites. The problem is that when it is interrupted (another link is clicked). It makes the parent .swf freak out (it plays continuously through the entire file without paying attention to stop commands or anything else). Anyone ha...more >>

use 2 different fonts in a dynamic text field with tf.htmlText?
Posted by nudoru at 7/26/2007 4:25:07 PM
i've got a dynamic text field on the screen and all of my fonts embedded. is it possible to use 2 different fonts when dynamically setting the fields text with the htmlText property? i've tried the <font> and the <textformat> tags and neither work. I can set it once via a texformat object, but...more >>

call a function on the main timeline
Posted by lvbao at 7/26/2007 4:21:08 PM
I load an XML file on the main timeline and have a function return the values in an array /***************************************************************/ function getStates(st) { for (i in arr_st) { if(arr_st[i] == st) { arr_rlt = [ arr_msg[i], arr_url[i] ]; ...more >>

Problem getting XML nodeValue
Posted by ++ Barry ++ at 7/26/2007 3:16:19 PM
Hi. For some reason i cant get the nodeName or NodeValue for the <link> nodes in my xml file. It would be great if anyone has any suggestions on what im doing wrong. Thanks Barry. actionScript: ---------------------------------------------------------- // Import an XML file...more >>

Key press for number
Posted by ScuffyScouty at 7/26/2007 2:36:38 PM
Hi, If I want the value 1 to += into input.text when i hit the keyboard button '1', how can I do it with key press? Thanks...more >>

Embed a font in one SWF use in another?
Posted by nudoru at 7/26/2007 1:33:04 PM
Long version: I've got a "player" app that I've built that shows content from various XML files. I have certain common fonts embedded in it (Verdana, Arial, Times, etc.) that it uses to display text. Now, I've got a client with a special symbol font that I'll need to pull characters from to ...more >>

variable as url
Posted by JoshuaR at 7/26/2007 1:29:09 PM
Hi guys, I've got a problem and could really use some help :sad; . I'm trying to use loadMovie, but instead of entering a static URL I'm trying to get a variable I created to be used as the URL. The variable is a relative reference, eg. picture.gif (I can provide more code if thi...more >>

Help!! when i upload files by using actionscript functions,i get the message "Sorry,Select fewer files"
Posted by flash_fans at 7/26/2007 5:04:37 AM
Hey, When I call the function FileReferenceList.browse() of actionscript2.0 and select a large amount of files to upload,for example 2500 files,I get the message "Sorry,Select fewer files". Could anyone here tell me if the flash player send this message and how can i avoid this message. ...more >>

dynamic insertion
Posted by _name at 7/26/2007 4:24:51 AM
hello all, am new and thankful to be a part of this forum. does any one here know if it is possible to retrieve a list of jpeg images from a folder onLoad and push them into an array? my goal is to allow my client to insert as many or little jpegs as wished into an external folder and ...more >>

"unMovieClip"?
Posted by SlowX at 7/26/2007 3:37:29 AM
How is something like this done: http://lab.andre-michelle.com/color-traces I'd GUESS that it's a bunch of attachMovieclips that are then unattached, or somehow otherwise released so that they they're not objects that Flash is tracking. Any thoughts, guesses or decoders of "wow"? ...more >>

AS 3.0 Class question...
Posted by C-Rock at 7/26/2007 2:27:00 AM
I've created a class in flash. I don't want to make the document class this class because then I need to import the other classes into this class that I'm using in my movie. I use a dummy clip to bring the class into my movie. On a button's function located in the fla, how do I call a funct...more >>

playing a movieclip in reverse
Posted by vrish88 at 7/26/2007 2:05:07 AM
Hello, I have a movie clip that unfurls text when the user does a mouse over and I would like to cover it back up when the mouse leaves. How would I go about doing this? Thanks...more >>

AS 3.0 -> communicating between classes
Posted by Marsoups at 7/26/2007 12:00:00 AM
Hi all, Here's a good question, that nobody seems to have any answers for... I've searched the net and there really isn't that much info at all, so I'm assuming that us AS 3.0 folks are doing a bit of 'trail blazing' , so to speak. Here's my problem : I would like to have a partic...more >>

External Text Marquee
Posted by shahgillani at 7/26/2007 12:00:00 AM
Hi, This is the simplest way of loading external text into a Dynamic Text Field: [b]loadVariablesNum("YourFile.txt", 0);[/b] Right ... Could anyone please tell me what is the simplest way of animating it ? I need a marquee effect for external text loaded into a dynamic text field ... ...more >>

Type mismatch with Array?
Posted by luciewong at 7/26/2007 12:00:00 AM
Hi, please can someone help. I want to change the value of an Array using "splice", but get always a "Type mismatch" error. I have an Array> var sub1val_array:Array = Array(); sub1val_array = myDH.myData_array; sub1val_array looks now like > [Yes,Yes,Yes,Yes,Yes] With a chec...more >>

Dynamic colour preview?
Posted by Phatsniper at 7/26/2007 12:00:00 AM
Hey guys, I'm trying to create a small app that allows you to change the colour of several movie clips. So far I've got several swatches that change each movie clip using the setRGB() function and that works fine. My client has asked for a preview of the colour change though. The idea is...more >>


DevelopmentNow Blog