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 > january 2004 > threads for tuesday january 13

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

Saving files through Flash SWF
Posted by impetigo at 1/13/2004 11:25:27 PM
Hi, I have written a Flash UI that allows a user to browser through a list of graphics (.jpgs), select which one they are interested in, select a size of that file, and then download it to their computer. Well... I've almost written this. I have everything except the download functionality. ...more >>


loadmovie
Posted by centerville at 1/13/2004 10:42:57 PM
Hi: Does anyone have a simple sample using "loadmovie" which links to a .swf file? I have used the "Sorenson Spark" feature to import mpegs and then export gif sequences, then importing back as a series of gifs. The quality of the video looks bad. I am not a programmer and don't understand...more >>

NEED HELP with scripting...
Posted by 2s at 1/13/2004 10:36:30 PM
I have two draggable movies on a single line: marked with yellow and blue. They can be freely moved back and forth but should not overlap, but rather push each other when one is dragged next to another. I attach the file here. Please, feel free to modify the file if you know how to resolve this i...more >>

Help!!! I need to get this done
Posted by sq2adam at 1/13/2004 9:35:29 PM
Hello all, Just wondering if any one can help me here......I'm finally able to view php data in flash make it scrollable(all thanks to you guys). But now when i load the swf that contains the text fields into the main stage. I GEt NOTHING..... i get the swf i see the movie and the text fields b...more >>

it doesn't add up
Posted by hec_TX at 1/13/2004 8:27:51 PM
O.K., here's the deal: I have a variable that I set up to "capture" the names of the duplicate movies that I am generating using an array; this part works, no prob. Next I have this set up to specifically return the x coordinated of one of the duplicated movies, again through the use of an arr...more >>

Undefined Variable
Posted by gnevius at 1/13/2004 7:49:09 PM
Hello friends! I am getting the following output in my Flash movie. You can see my Actionscript below. Can anyone please tell me what I am doing wrong? Thank you very much for your time and consideration! Kind regards, Greg Debugging Output: Level #0: Variable _level0.$version = "WIN 6,0,...more >>

Having a loaded movie talk back to main timeline/movie?
Posted by djsplash01 at 1/13/2004 7:00:39 PM
Ok, here?s the situation: I have a main movie named ?scheduled_reports.swf?. It is made up of 12 frames. Each frame has an action to load a swf into an emptyMovieClip named loadHere: So frame 1's action is: stop(); loadHere.loadMovie(?movie1.swf?); So ?movie1.swf? loads nicely into the ?l...more >>

some Component method not available
Posted by daniele at 1/13/2004 6:24:41 PM
Hello everybody Did you have this problem? I created 2 different components using myOwn Class files included in the first frame of each movieClip, registered each class for the relative movieClip and linking them with the appropriate linkageID. If I attach one of this component [movie1] w...more >>



Send variable from Flash to HTML
Posted by AndrewTexas at 1/13/2004 6:07:22 PM
I have a quiz in Flash. I want to take the quiz results (testscore) and send it to an HTML page to be assigned to a variable. How do I send variables from a .swf to HTML? Here is my Flash script to get the testscore variable: correctText = correctQuestion; numberQuestionText = questionsPerQ...more >>

Roll on dynamic text portion
Posted by cocosama at 1/13/2004 6:00:28 PM
Hi, I would like to generate a rollover effect on a dynamic text (some word on the text). The text would come from XML data, parsed by flash. Let me explain: Here is the XML <myxml> <mytext> <p>Hi i'm here</p> <p>Helooo i'm still <myroll text="yeah">there</myroll>...more >>

font type in actionscript
Posted by kindley at 1/13/2004 5:44:48 PM
I am trying to learn action script and am having trouble determing how to get a particular font face to show. For example, in the code below, I would like to get a typewriter font to be used instead of the default Times Roman. This is the code I have; what do I need to do? text = "This text is be...more >>

Launching a popup window via dynamic text?
Posted by walkskiprunglide at 1/13/2004 5:35:27 PM
Hey all, Looking for a solution to launch a popup window from a link in a dynamic text box. I'm sure this is fairly easy to do - I just can't seem to make it work. Thanks! ...more >>

LoadVars not working with SSL and IE
Posted by kevy kev at 1/13/2004 5:02:42 PM
I have a flash application that's sending variables to a PHP script over a secure connection (https) .. and the LoadVars() is not working in IE ... it only works with Netscape ... But if I remove the https.. then it works perfectly.. // does not work.. save_data.sendAndLoad("https://www.XXXXXX...more >>

How to Extend the properties and methods of a MX 2004 Component (eg - ScrollPane)?
Posted by James Fee at 1/13/2004 4:24:18 PM
Does anyone have an example of how to add properties and extend functions of the version 2.0 Components that come with Flash MX 2004? Specifically, I want to add a string property to a ScrollPane and add some functionality to the startDragLoop. This is an attempt to tie a ScrollPane which wil...more >>

Image with border
Posted by Wacky999 at 1/13/2004 3:19:50 PM
If I select and load an image at runtime, is it possible to place a border around the image? If so, how? ...more >>

[FMX]Problem with caling function in linked object
Posted by AlexCr at 1/13/2004 3:12:50 PM
I'm trying to achief the following: In my flash movie I load some MC during runtime. Everything is fine, the MC show themselves on the flashmovie. In this MC I have declared a function, during creation I want to call this function. But unfortunatly this doesn't work how I thought it would wor...more >>

Actionscript newbie: simple stop issue
Posted by Screenweasel at 1/13/2004 3:03:50 PM
Hello everyone. I'm trying to get a nested movie to stop playing when a 'stop' button is clicked. This movie is nested within two other movies, and I have the current actions assigned to the 'stop' movie clip (as opposed to the frame): on (release) { stop(); } There is likely something e...more >>

Bookmarking in Aicc course developed in Flash
Posted by Saurabh at 1/13/2004 3:02:07 PM
Hi I am creating an AICC course in Flash. I am using the Learning Extensions provided by F-MX. As far as I know, the quiz template in the extensions doesn't read any data from the LMS. Please let me know if anyone has come across anything like this. I need to add bookmarking functionality in...more >>

loading variables from a text file...
Posted by Zerox Millienium at 1/13/2004 2:23:26 PM
A problem with loading variables using LoadVars object... here's the code... data01 = new LoadVars(); data01.onLoad = function(success) { if ( success ) { test = this.username; } } data01.load("data.txt"); trace(test); and the output... of the trace is undefined... however......more >>

Changing an external text file....
Posted by rump888 at 1/13/2004 2:06:38 PM
Hello - I was wondering if the following was possible, and if so then how it would be accomplished.... Let's say I have a text file called "textfile.txt". The contents of the text file are the following: array1=a|b|c &array2=d|e|f Now, what I want to do is make a Flash file in the same di...more >>

disable _level0 movie
Posted by skratchdesign at 1/13/2004 12:34:47 PM
When (onClick) loading a movie into a higher level is there a way to disable buttons/pause movie in _level0 while keeping _level0 visible? ...more >>

cd drive
Posted by manju143 at 1/13/2004 12:13:24 PM
how can i make a flash exe work only on cd-rom but not on any hard disk.plz help me regarding this action script.hope i will get one. hi...more >>

Can i remove the "flash Player", close,Mimimize button from flash exe file
Posted by mkindia at 1/13/2004 11:16:27 AM
Hi, Is it possible to remove from .exe file, "flash player, and the close - button, i mean the menu from the flash exe? I have used, fscommand("showmenu",false) to disable the menu. Is there any way to remove the menu without using third party tools? I also want to make the exe borderles...more >>

getURL question?
Posted by J Denton at 1/13/2004 10:44:30 AM
I have a small problem that I am hoping to find a resolution to: I am using getURL to retrieve an htm that is outside the original file folder & it is not coming up as it should. My original files are located in one folder, while the other file that I need to go to is found in another file folder....more >>

Japanese Unicode Font
Posted by npatris at 1/13/2004 10:29:50 AM
Hello, once again a problem of displaying japanese text in Flash MX... - Where I'm at : Thanks to this forum I've understood that I had to set my window locale to japanese when I export the fla, to be sure to embed japanese chars of my unicode font in my swf. I can now see japanese & english t...more >>

variable undefined
Posted by bina. r at 1/13/2004 10:27:26 AM
we have this variable from the internet, val(0), in a dynamic text field we can see a digit from this variable. but when we use this variable in actionscript and test it with trace, the variable shows as undefined. how can we make this work without it coming up as undefined?? ...more >>

Inheritence
Posted by MyMaxMx at 1/13/2004 10:04:05 AM
Hi everyone, How can I extend (inherit) multiple classes ??? like eg: class A extends C,D {} Actually, I need to extend both mx.core.UIComponent and mx.data.binding classes. Please Help me Thanks in Advance..... Dileep ...more >>

Pressing button by AS
Posted by Dee2 at 1/13/2004 9:58:06 AM
How can I make button state "Down" with Actionscript only. I need to change button state by pressing keyboard key. Thanx))) ...more >>

How to quit flash app
Posted by Oliwav at 1/13/2004 9:50:30 AM
Hi all, I've build a small flash game for kids. Now I want to add a button to quit the application. Is there a way, and if yes, how to quit a apllication from a button? I can't seem to find any ActionScript commands to do so. Please help. Kind Regards Werner van Mook ...more >>

button.onPress= and on(rollover) not working together.
Posted by sfiresfire at 1/13/2004 8:19:12 AM
i'm using a function to move a movieclip (a). the function is executed when a movieclip (buttonClip) is pressed. a friend showed me how to do it this way: buttonClip.onPress = function() { moveBackground(3); } but i had an invisable button over that movieclip (bottonClip) that on(rollOver...more >>

URGENT PLEASE HELP
Posted by Hunble at 1/13/2004 8:16:10 AM
Hi all. I am using Flash MX. The thing is I have created a File in which a certain animation plays and at the end of the movie I call another flash movie by LOADMOVIE method. So the viewer gets the feel that after one movie is done playing the other loads. I have used small buttons in the movi...more >>

Preloader Code Error
Posted by meanindya at 1/13/2004 7:45:44 AM
hello, I am not being able to ceate preloader using Flash MX 2004. I have created as it as usual but it's showing error while executing the actionscript. It's a simple bar preloader. Can anyone help me with that. It's quite urgent and I wont be able to convert that to MX as it uses lots of M...more >>

loadVariablesNum IE vs. Netscape?
Posted by Daniel C. Di Vita at 1/13/2004 7:41:48 AM
I ma having an issue with the loadVariablesNum in IE 5.5 & 6. It works great in Netscape 6 & 7. Here is how the code works... (this is just an example of how the actionscript works. It does not reflect the entire flash animation) Frame 1: loadVariablesNum("http://www.sunsalute.net/Locations...more >>

bizzare attachMovie issue
Posted by ChristopherRider at 1/13/2004 6:50:34 AM
I've been banging my head against this one for about 4 hours and I'm truly stumped. I have a movie clip registered to a class with an onEnterFrame handler. The handler looks at a couple variables in the root timeline, and fades the clip into view if it matches it's key. Works fairly well. Ex...more >>

Altering the Width of an Object on Runtime
Posted by equinox007 at 1/13/2004 6:44:14 AM
I have an array of an object called Combo I want to change the width of comboX during runtime to a user specified amount. I have set up a text box which stores the combo objects name, for instance Name="Combo2" and another text box which stores the width value of the object Width="100" ...more >>

Sound
Posted by imaginethis at 1/13/2004 6:11:14 AM
I was wondering if there is anyway to play a sound using action script, but then stop it at a specifc frame. ...more >>

attachMovie question
Posted by Knight Miniatures at 1/13/2004 5:43:01 AM
Having trouble finding documentation or an example to accomplish this desired task. An external .swf movie is loaded into a movie clip (we'll call it mcA) on the stage through loadMovie. This movie contains a library asset (we'll call this mcA2) who's Linkage is set for Export for Action Script an...more >>

actionscripting rotation speed?
Posted by johnnysuper at 1/13/2004 4:52:19 AM
I'm not sure whether or not this is possible with actionscript, but here goes: I'm trying to have a symbol rotate with a speed according to the mouse pointer's distance from it... ie the closer you move your mouse to the symbol, the slower it spins. Is this possible, and if so, what kinds of ...more >>

preloader problem with external .swf
Posted by mcnamara14 at 1/13/2004 4:24:24 AM
Hello all, I am working on a project where i have a main, initial swf called - chop.swf within chop.swf i have a movieclip called port_mc which is placed on the main timeline. In port_mc i have a button that loads an external swf called books.swf . Everything works great and the movie loa...more >>

ProgressBar component
Posted by Kat999 at 1/13/2004 4:23:46 AM
I've been exploring the new components included with Flash MX 2004 Pro. I followed word-by-word built-in tutorial on how to integrate the ProgressBar component, but it just does not work! (help topic: "Preloading SWF and JPEG files") Has anyone else run into this? This is my code (attached to...more >>

What is this objects name in the array?!
Posted by equinox007 at 1/13/2004 3:39:05 AM
I have this code sniplet.. function dragalong() { this.startDrag(); } function dropper() { this.stopDrag(); } combo.onRollOver = function() { myCombo = attachMovie("Circle", "Circle"+i, i); trace ("Name = " + combo.name(1)); addArray(); myCombo._x = this._x; myCombo._y = thi...more >>

push
Posted by Sh4n3 at 1/13/2004 3:35:30 AM
hey all, i know a little about flash, but my problem is that, i want to make a counter-strike cartoon, but I want to press a little button in the beginning that says Play. When I press PLay, i want the movie to play, what is the actionscript for that? and also, how do i make something keep going for...more >>

Eval()
Posted by oper at 1/13/2004 2:51:43 AM
I know i could use EVAL to evaluate VARs but what about if i want to evaluate a Var that have a funtion onit? like A="math.Cos(65)" B=Eval(A); what is the be way to acomplish something like this? ...more >>

Visible on MouseOver
Posted by gmitchell5 at 1/13/2004 2:05:56 AM
I would like for some text to become visible with mouseover on a button or symbol. This means two objects, one that supports the mouseover and another that becomes visible and returns to invisibility as the user mousesover the first object. I can do this with mouseover and DIV tags in DHTML, ...more >>

Slide Show
Posted by mimpoz123 at 1/13/2004 1:28:11 AM
Hi All, I'm trying to create a Slide show that brings up one jpg at a time from my Library, waits 5 seconds, fades out and then goes on to the next jpg. Where do I start? I started already and I know there has to be a better way: I put each jpg on the timeline and faded out into the next...more >>

loadMovie URL problem.
Posted by this_name_is_taken at 1/13/2004 12:49:35 AM
Hi. In the project I'm working on, I use the loadMovie command to replace one of my MCs with a .swf. When I test this however, the Output window tells me that there was an error opening the URL. Error opening URL "file:///C|/WINDOWS/Desktop/Flash/shooter%5Ffiles/explode.swf" The code for ope...more >>

conflicting scripts
Posted by Richard Garrison at 1/13/2004 12:49:03 AM
Hello, I'm still learning the basics, so bear with me. Is there another command I could use in this script instead of "with" ? Partial script: // call function xpos x_pos = xpos(700,.30); with (menu) { _x += (x_pos - _x)*.4; } } I get an error message: Error: A 'with' a...more >>

Complex XML help with Data Binding
Posted by SilicoNblOOd at 1/13/2004 12:14:37 AM
Ok. I load an external XML file from a remote server to my movie. I use a dummy XML to define the structure for the XML connector. I checked the Output window and saw that the movie loads the vars from the web. What I cannot do is to bind the XML (through or not i don't know either) to say....a labe...more >>


DevelopmentNow Blog