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 > may 2007 > threads for thursday may 10

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

what's wrong with this code?
Posted by chopTheWood at 5/10/2007 10:56:15 PM
No matter what I do, the text size is always the same (about 10 pt) when I load it into "main_txt" from a .txt file. I have to have an input field and non-html. //create a text field and specify parameters _root.createTextField("main_txt", 10, 0, 0, 417, 464); main_txt.type = "input...more >>


Tween doesn't stop
Posted by rickard-w at 5/10/2007 10:23:06 PM
Hello My problem is that I have a movieclip that initiates a function when clicked. This function contains if-statements to find out if the movieclip has been pressed before. I then uses w.stop(); to stop a tween started before, but i doesn't work! I want to stop the tween because othe...more >>

Parsing an XML file
Posted by NorthB31 at 5/10/2007 9:09:32 PM
I am trying to parse an XML file and thanks to others comments I think I am closing in on a solution. Is there some way to identify the last sibling in an XML file?...more >>

Send message to a TCP/IP server
Posted by Web Maven at 5/10/2007 8:53:24 PM
I am trying to communicate with Zoom Player (its a video player http://www.inmatrix.com/) via TCP the Zoom Player has a built-in TCP server. I can get Flash to connect via TCP but I can't seem to send the command. the command I am trying to send is "5100 fnPlay" I am use the XML Socket ...more >>

Importing XML
Posted by malachidj at 5/10/2007 8:41:34 PM
I'm stuck and I'm thinking the answer to this is easy?? I can send variables to my coldfusion program and get a value pair string back, so if I use the xml.load why does my cfm does not appear to read any of my POST variables? How do you send a server script POST variables when you want to loa...more >>

SCORM Compliance
Posted by HoopsDoD at 5/10/2007 8:25:36 PM
I'm a developer of Web-based training programs, and often have a requirement that they be SCORM compliant. At the last company I worked for, we used Saba Publisher to "wrap up" all the flash content and generate the manifest, metadata and communication scripts for the LMS. Is there anything ...more >>

Event Handler works with button, but not movie Clip...why?
Posted by workingonasite at 5/10/2007 8:11:07 PM
So I am trying to get my head around event Listeners. When I use this example on a button it works fine: but when I add the same listener to a movie Clip on the stage with an instance name of "box", it does not work. Is there something basic I am missing? var buttonListener:Object = ...more >>

Loading on-top of exisiting swf (then unloading previous swf)??
Posted by kingmonkey at 5/10/2007 7:25:22 PM
Hi I'm currently building a site with 1 main file, and 4 swfs loading into a Empty Movie container within the main file. An example of the code I'm using (on buttons) to do this is on (release) { loadMovie("Reels.swf", "_root.container"); This works fine, but instead of just repla...more >>



Creating product list & login
Posted by Frostedberry at 5/10/2007 7:22:52 PM
I want to design a list of wanted presents for a party in flash so that if guests tick/select a present then it must become greyed out or unavailable for the next guest so that they know it has already been selected/bought. Also, I would like to know how to possibly make it a log-in site so e...more >>

"gotoandplay" function
Posted by liveonnoevil at 5/10/2007 6:36:57 PM
im setting up a flash webpage and i want one of my movieclips to play after another has finished. i placed a "gotoandplay" method at the end of the movieclip that plays first. is this the correct process? any suggestions? :confused; ...more >>

Setting up FAQ questions and answers
Posted by zyxi at 5/10/2007 6:28:25 PM
I want to show all the questions and when someone clicks on a question show that answer, moving the questions below it down to make room. I'd like the previous answer to disappear (and the other questions move up to fill the space) when a different question is clicked. I'm using Flash 8 a...more >>

External SWF controlling main timeline
Posted by ndisdabest at 5/10/2007 6:02:38 PM
Hi all -- I have a main SWF file that I am loading a smaller, external SWF file into (with loadMovie, if you care to know). Within that smaller file, I have a button -- ideally, this button should trigger an action within the main SWF file. My problem is that I cannot get the extern...more >>

How to Swap a MC for another MC
Posted by cre8ive1974 at 5/10/2007 5:59:20 PM
Is it possible to swap a MC with a MC in my library? It seems logical that you could, but I'm not sure how. For example I have a red ball on the stage that is a movie clip with an instance name of of "redBall" (clever huh?) In my library I have a movie clip of a greenball. On ...more >>

Looping through XML
Posted by NorthB31 at 5/10/2007 5:44:53 PM
I am new at working with XML in flash (or XML with anything for that matter) I want to loop through the following schema and have a list of all employees and attached specifics can anyone point me in the right direction? <Employees> <worker1> <age years="23" / ...more >>

What is AS for playing external video ?
Posted by Janek Mohavlec at 5/10/2007 5:34:01 PM
Hello, This is probably very basic question, but that just proves the fact that I struggle with AS. I would like to place a thumbnail picture on my web page, which would take the viewer ( when he clicks on it ) to the external video file, which is located on the same server where my websi...more >>

flash varible
Posted by samuels2921 at 5/10/2007 4:43:52 PM
flashvars Hello im trying to build an mp3 player that reads the playlist from the flashvars code in the html. I've got the player to load the playlist with this code loadSongList("playlist.xml"; My varible name is "var1" . I tried this code but it dosent work. loadsonglist = v...more >>

script not working
Posted by dzedward at 5/10/2007 4:34:51 PM
on (release, keyPress "<Enter>") the release is working, but hitting 'Enter' doesnt work.. is this the correct way to do this....more >>

FLV will not play across UNC path
Posted by James Cannings at 5/10/2007 4:15:17 PM
I am writing a large piece of education software for schools. It is mostly written in Flash but uses Director to handle the FileIO. After 9 months of development one of the final problems that I have is that the FLV files will not run when the application (which is an EXE) is run over a UNC pa...more >>

Combobox select will not send to PHP
Posted by maith at 5/10/2007 4:07:23 PM
Hi, I am trying to send an element of a combobox from Flash to PHP. The code I have is: It all works fine except when I select an item from the combobox, I do not get the item sent to PHP (and then emailed to me). What am I doing wrong ? Thanks, Paul //FLASH CODE: county_cb.add...more >>

Navigating to New Scene from Within a Movieclip
Posted by rizien at 5/10/2007 4:06:29 PM
I've got Scene1 ("Main Menu"), under one of Main Menu's sub-menus I've got a product list, that menu is all in a Movieclip to navigate around the various submenu's. Within the movieclip I have product buttons that should go to a Product Specs page, in Scene2 ("Products") each frame is a d...more >>

Simple Flash Video Cue Point Problem (I assume)
Posted by Social Psyence at 5/10/2007 4:04:41 PM
Hello everyone. Quick question. After I have added a cue point to an end of a video, how can I have the cue point trigger an action such as "gotoAndPlay" or "fscommand("quit");" etc.? I thought this would be an easy thing to find by checking on the various websties for other posts or tutor...more >>

Controllo winsock vsXMLSocket
Posted by MaKuMo at 5/10/2007 3:49:13 PM
Salve a tutti!il mio problema ? il seguente: Ho realizzato un server in visual basic 5 che utilizza il protocollo TCP/IP del metodo winsock. Il client ( in flash ) si collega a questo server utilizzando la classe XMLSocket. La connessione viene stabilita,riesco ad inviare i dati dal flash ...more >>

Problems with XML + LoadVars + PHP
Posted by jfbaro_uk at 5/10/2007 3:04:13 PM
Hi, We are using a php script to load and save a XML file, we have the load.php script working properly, but the save.script is adding some ESCAPE code into the XML making it useless. The PHP script is that one: <? function writeToFile($fileName, $str){ // function to write $str to...more >>

relational XML
Posted by bossche001 at 5/10/2007 1:55:49 PM
Hi My client has a realtional DB setup with 6 tables. For ease of use in flash, I want to convert those tables to 6 XML files. Is there a easy way in flash to setup the relation on those 6 xml files? I know how to work with 1 XML file, but with relational XML files.... :-S tx ...more >>

movie control question...
Posted by Rick Gerard at 5/10/2007 4:54:11 AM
Ok, I'm pretty good with After Effects expressions, but action script is still a bit of a mystery to me. Here's what I want to do. I've got these 7 movies that activate when you roll over their hit spot. Each of the movies has an open that's about 10 frames, then a looping section created...more >>

GOTO statement
Posted by MurMeeKeer at 5/10/2007 4:51:31 AM
I've seen in programming languages like Visual Basic, there is a command.... GoTo label: Then, the control will be shifted to the label referred and will start executing from that position. I wonder why Actionscript doesn't have this feature? Ex: (like this) function grea...more >>

Class and destructor
Posted by OmniFlash at 5/10/2007 4:09:16 AM
How do I make a destructor function on a class? I can't use the onClipEvent(unload) in a CLASS so I thought why not make a destructor.... Why can't I find a way to make one?...more >>

I want to load an external SWF
Posted by domerdel at 5/10/2007 3:35:43 AM
i'm building a site, one of the buttons is "portfolio". When the user hovers over "portfolio" it has a dropdown of 5 sub items. Each subitems will be linked. Basically I want to have two SWFs total. 1. Main.swf 2. Portfolio.swf (5 items: editorial, weddings, adventure, fly fishing, port...more >>

XML onLoad execution context
Posted by The Almighty Egg at 5/10/2007 1:46:35 AM
i am loading data from an XML file using the XML object. the XML handling is being done in a class i have defined. the basic class definition is below (with extraneous code removed). the issue is that when that "trace" fires, it displays the contents of the XML object. in other words,...more >>

Load External Text into Flash MX
Posted by want-mac at 5/10/2007 12:00:00 AM
Hi, I know we can load text files into flash externaly, but here i want that to appear once we mouse over, ie i want the external text file to appear once we rollover a text or a object. Thanks....more >>

event handler method definitions - whats the difference
Posted by avonova at 5/10/2007 12:00:00 AM
hi folks, i'm a newbie and have just started trying to get my head around flash 8 actionscript. is anyone able to advise me what is the distinction/difference/subtlety between defining an event handler method ON a keyframe as compared to defining an event handler method WITHIN a keyfra...more >>

Learning AS3
Posted by Wally Kolcz at 5/10/2007 12:00:00 AM
Anyone know a good place to learn AS3? I have the Flex MXML language down, but can't quite grasp the AS langauage. I am coming from Coldfusion. Anyone know a good source to learn the AS langauage either starting with AS2 and working up to AS3? ...more >>

Flash
Posted by Muthunagai.A at 5/10/2007 12:00:00 AM
Hi all, I created the symbol and text box . And I converted these two as Button ctrl. I want the text to be changed at the button click event. how to do that Thanks in Advance...more >>

Arranging MovieClips in layer order
Posted by neilb1969 at 5/10/2007 12:00:00 AM
Morning Actionscripters! I have four overlapping photo frames which grow when rolled over. I need to have the 'active' frame come to the front and sit on top of the other frames and return to its original position when rolled out. Does anyone have any ideas of how I can achieve this? ...more >>

Game sounds in MX 2004?
Posted by gooberachi at 5/10/2007 12:00:00 AM
Hi all, looking for some pointers to implement sounds in my space invaders game. I've got 4 in the library. I want on to play when I fire, one when I hit an alien, one when the aliens bomb, and one when the player is hit. Should I be entering the code in the same place where the mouse ...more >>


DevelopmentNow Blog