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 > april 2004 > threads for monday april 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

Importing XML into a TextField
Posted by Dave Merwin at 4/26/2004 11:54:53 PM
A lot of tutorials want me to load XML into a TextArea. I do not want to do that. I can not get this to work. Any ideas? Here is my code: //init TextArea component //_root.createTextField('myText', 1, 0, 0, 200, 300) myText.html=true; myText.wordWrap=true; myText.multiline=true; ...more >>


how to pass value from jsfl to actionscript?
Posted by flashin at 4/26/2004 11:44:12 PM
I have a function written in java script which returns an integer value. say, fl.myobj.myfunc() should return an integer value. How should I pass the return to action script? I tried the following, but it doesn't work. In jsfl, var v = myObj.func(); fl.trace("value:" + v); ...more >>

fun with arrays, how do I do this???
Posted by xxx at 4/26/2004 11:32:31 PM
I am using flash 5 (Can't get the money approved for MX sux to be me) I have a loadvariablenum call thru php that sends flash info like so: line=thomas,smith Then I am trying to assign the first string in the array to a variable. The array comes in fine and I can even use the array in whole...more >>

stop(); won't always stop?
Posted by sitebyMIKE at 4/26/2004 11:13:26 PM
Has anyone ever had the stop(); command not work consistently? I'm building a large Flash presentation and there are certain pages that don't stop even though they have stop(); as the first line of actionscript in the first layer of the first frame. The only other bits of code are button ...more >>

strict data typing
Posted by michael nieuwenhuizen at 4/26/2004 11:10:34 PM
to test strict data typing and the scope of variables i wrote a little script: function F1 () { // some code } function F2 () { trace (x); } F1 (); F2 (); now, if replace "// some code", and run the movie i get: x = 10; // output: 10 var x = 20; // output...more >>

NEED HELP W/ SOUND.START()
Posted by NSurveyor at 4/26/2004 10:20:06 PM
I am making a program, where the user inputs text, then each letter is spoken. So, lets say first I make a bunch of sound objects, each corressponding with a character, like the sound object X would play x. Then I used the following action script to find the first character: let=text2.char...more >>

Button inside a Movie Clip
Posted by gavilan at 4/26/2004 10:17:46 PM
Hello, Can somebody help me please? I have this button inside a Movie Clip and I want to click it a take me to Scene 2 of the same flash movie. Thanks, Gavilan...more >>

Turn off WIN2000 with Flash
Posted by mkdn at 4/26/2004 9:48:00 PM
Hello I had a problem, I want to know if Flash can shut down Windows2000? I don?t know if flash can use the FScommand or an instruction with Javascript to do that because I need that for a demo in a single computer. Thanks for your help MiKe ...more >>



access frame labels from actionscript
Posted by dachyon at 4/26/2004 9:22:33 PM
Hi All, Can anyone tell me if frame labels can be resolved in an expression ? Eg. trace(_currentframe.label); //catch my drift ?...more >>

play certain frames confusion
Posted by jdudan at 4/26/2004 8:52:42 PM
Howdy. Is it possible to play only certain frames? For instance... I have multiple buttons on level 2 and the main swf on level1. I would like each button, when released, to play frames 100-130 on level1 and then load another movie into level1 after it is done playing the frames. The...more >>

Sending a unique variable from a clip
Posted by laszlo at 4/26/2004 8:47:30 PM
Hey all! I am creating duplicated Movie Clip boxes to act as Hit Areas for the different buttons. How would I send a unique variable back to the main timeline actions if each of the Hit Areas is created from the same button? Is that possible? Here is the code as it stands: ON THE B...more >>

positioning cursor of input text field
Posted by Peteyboy at 4/26/2004 8:31:40 PM
I'm trying to create a listener to automatically adjust the contents of an input text field as the user enters characters. I want to insert a '?' after the user enters the first number. My listener does the following: theFields.text = '?'+ theFields.text; which works except the cursor...more >>

A scroll question
Posted by Pluda at 4/26/2004 6:59:19 PM
Hello all :-) I'm trying to make one thing that i dont even know if thats possible... I'm loading data from a database and creating text fields dinamically, but I just have space to display 15, so i nned a scrollbar. The question his, how do i add one? I'm trying whith a scrollpane, bu...more >>

getURL issue
Posted by shaggydagy at 4/26/2004 6:58:03 PM
I have this problem I created a menu in flash (1frame movie, 5 buttons) and stored it in "wwwroot / swf /" the menu has 5 links, all five linked element are stored in "wwwroot /", my code looks like this: stop(); this.home_btn.onRelease=function(){ getURL("../index.htm"); } this...more >>

Preloader not working right?
Posted by mentalyptic at 4/26/2004 6:38:49 PM
I've made a preloader for a site I'm doing. I tried it on the main scene and in it's own scene. It waits till all frames are loaded fine, however, it jumps to %65 then starts movie, showing no #'s before or after 65%. Also, no the site won't show external files that usually load fine. One exte...more >>

Can't see data
Posted by rubbersoul69 at 4/26/2004 6:20:36 PM
Why is it that when I view my flash movie on my webserver (which is my own machine at home) I can't see my data? It goes like this.....I have a flash movie and in it I have a dynamic text box with some action script which tells it to go to "http://localhost/data.php" to get the data which wi...more >>

customize mediaController
Posted by rkever at 4/26/2004 6:03:23 PM
Is there a way to customize the colors or other aspects of the mediaController aside from adjusting the size of the overall component? I'm simply trying to change the color from green to another color. Thanks, ~~~Rob ...more >>

LoadMovie Error?
Posted by Simon Thulbourn at 4/26/2004 6:00:33 PM
Why isnt this loading the movie clip? The is two Movie clips on is inside the other College has a rectange inside Map is empty. _root.College.Map.loadMovie("test.swf"); The code does nothing that I can tell Please help Thanks Simon Thulbourn ...more >>

streaming mp3's in mx 2004 pro
Posted by tommyk104 at 4/26/2004 5:49:57 PM
is there anyway to stop a stream once a new one is started? i'm having a problem with mp3's streaming in my movie.if i skip through the songs, by the time i get to the 4 one, i'm bottlenecked cause the first 3 tracks also streaming. ANY help would be greatly appreciated. ...more >>

bug with buttons
Posted by amzd at 4/26/2004 5:21:45 PM
Hi, I programmed the second version of the quiz from colin moock's book in chapter 9. (code and .fla attached). It works ok; However, there seems a strange bug with buttons: I added an additional layer and put just one button on it giving it the instance name wahl4_btn. Then on frame ...more >>

asfunction won't call MC class "setter"
Posted by jasonLampitt at 4/26/2004 5:01:08 PM
Here's something interesting I ran into today and I thought I'd see if anyone had any thoughts. I'm using asfunction extensivly in this latest project (all text content is loaded from an external HTML doc.) I have a very simple MC class... class iLinkAsset extends MC{ //class c...more >>

reffering to movie clips in actionscript
Posted by Ackbaar at 4/26/2004 4:45:02 PM
ok, this one will take a bit of explanation. so far i have worked out how to refer to movie clips dynamicly like so; for ( x = 0 ; x < = 4 ; x++ ) { _root [ "movieclip_" + x] . whateverTest; } which wil go through movieclip_0 to movieclip _4. but i want to do the same for moviecli...more >>

mx2004 menubar faliled to load
Posted by Wing at 4/26/2004 3:36:07 PM
Hi, I try to load an external movie into my main movie, the external movie has used a menubar components and and it works fine when stand alone. In the main movie, I also incluced the menubar componenent in its library. but after the external movie is loaded and its sub-menu cannot be show...more >>

deactivating all buttons 'cept one(s) in use
Posted by jim harris at 4/26/2004 3:34:59 PM
imagine an application, various movieclips representing areas of functionality, any of which might include buttons in their structure, then oops! there's an error, so we pop-up an alert, a dialog box if you will (within flash, i don't mean browser/javascript or anything), that itself has a butto...more >>

load a variable in a dynamic text field
Posted by d.schulz81 NO[at]SPAM gmx.net at 4/26/2004 3:18:49 PM
hi, the following is not working: (get variable track1 from tracks.txt and store its content in text): loadVariablesNum("tracks.txt", 0); _global.tracknumber=1; _global.text=eval("track"+tracknumber); this["track"+tracknumber] also not working but it is possible to load track1 in a dy...more >>

E-mail page from Flash movie
Posted by jsmgvs at 4/26/2004 3:12:08 PM
I have an application which creates a series of graphs using XML. I can display the series of graphs and have the user select to print the entire series or just one. The user would like to be able to send a particular graph to someone as an e-mail attachment. Is there a way that I can...more >>

Movie Clip......Need Help
Posted by helmsj at 4/26/2004 3:01:31 PM
I have a movie(.swf) loaded with a button to load another movie in its place. I can get this to work......the only thing I need help with is when I load the movie I need to tell it to go to a certain frame of the movie. Is this possible with some simple script or can someone just help. Tha...more >>

How to submit without opening email program?
Posted by t-veiga at 4/26/2004 2:50:41 PM
hi all, I am trying to create a mailing list form to submit name and email. so far so good, the sending of variables is not a problem. the problem is that if i don't use .ASP with it, it's opening the mail program. Is there a way to make it send to the target email without opening mail, o...more >>

auslesen von variablen aus textfiles
Posted by d.schulz81 NO[at]SPAM gmx.net at 4/26/2004 2:31:29 PM
hi, bei mir funktioniert das leider nicht (variable track1 aus tracks.txt holen und inhalt in lauftext ablegen): loadVariablesNum("tracks.txt", 0); _global.tracknumber=1; _global.lauftext=eval("track"+tracknumber); this["track"+tracknumber] geht auch nicht aber komischerweise kann ich...more >>

Flash Banners cover my menus
Posted by dlagj at 4/26/2004 1:47:21 PM
I am new to this, so if you can help I will be very thankful...Our website uses menus along the top. We are going to "house" Flash banners on the content pages just beneath the menu area on the header. When I publish them to that area, they become the foreground so when anyone hovers over the ...more >>

Script Storage (k)
Posted by W. Kirk Lutz at 4/26/2004 1:13:26 PM
This is probably a basic question, but I don't know the answer. I have a very complex ActionScript that moves letters about the screen randomly. This ActionScript is currently applied to a MovieClip of the letter within a MovieClip. The ActionScript is the same for each letter with only...more >>

Flash and PHP ---- mail form ----
Posted by Brian at 4/26/2004 1:12:28 PM
I am trying to have a mail form in Flash that uses php. I am using the following code: I have a MC with the instance name of "from" which has the following AS attached to it: onClipEvent(data){ // show welcome screen _root.nextFrame(); } The button to submit the form has the foll...more >>

Desperately seeking Action Script help !!!
Posted by Demag at 4/26/2004 12:33:07 PM
First off, I am a newbie to Action scrip. Ok here it is... I have 5 buttons, each with its own "MovieClip" assigned to it. When my page loads, I want MC_1 to play automatically (I got this to work, by placing script on frame one, see code below) I'm not sure if this is where I sho...more >>

textField.watch
Posted by Mario Diogo at 4/26/2004 12:32:11 PM
I´m having some trouble with textField.watch. What i want is to call a function named "run" when a dynamic textField change it´s value. The textField has a var name of "txt_teste" and a instance name of "inst_text". I´ve seen the documentation on: myObject.watch( prop, callback [, userData...more >>

XML Text Box Link within Flash MX
Posted by rikkyboy at 4/26/2004 12:16:50 PM
XML TEXT PROBLEM!! Does anyone know why when I'm using an XML text box the text does not appear ? When my movie starts it runs to frame 30 where the first XML text box is, then stops. The text works fine in this box. When i now click a button i have a 'gotoAndPlay' action to tell it...more >>

Possible? Adding the same event listener to multiple movieclips
Posted by Mark Redman at 4/26/2004 11:59:56 AM
Hi All, Is is possible to add the same event listener to multiple dynamically created movie clips of the same type? I have tried it but it doesnt seem to work. Any comments welcome Thanks Mark Redman ...more >>

How do i detect when mouse leaves SWF?
Posted by geut at 4/26/2004 11:42:07 AM
Yeap, that's it! How do i do that? How do i detect when mouse leaves SWF? Or this can't be done?...more >>

PrintJob() - Avoid Print dialog window
Posted by Maglez at 4/26/2004 11:27:57 AM
Hello. How can I send to print a page without display the Print dialog window, that's it, send a page directly to the printer without waiting for the user response. Thanks for any idea. ...more >>

Creating a 'Preload Manager'
Posted by Husain at 4/26/2004 10:49:42 AM
Hi All, I was reading the book, Foundation Actionscript, from Friends of ED...and came across the term 'preload manager'...mentioning advanced preloading techniques of loading several movies, one by one in the backgroung, while the rest of the site loads seamlessly. Sadly, not enough inform...more >>

contrast transition effect
Posted by cheggers at 4/26/2004 10:08:36 AM
http://www.spin.co.uk/ Does anyone know how to achive the contrast effect used on the site above ? thanks for any help...more >>

publishing to nothing / blank testing bug
Posted by EdMX at 4/26/2004 9:51:37 AM
Now and then when I publish or 'test-movie' a Flash movie with MX all I get is a completely blank player window (white, with nothing happening at all) once this has started the file in question normally stops displaying a published version altogether. I can still edit everything fine in the au...more >>

Easy one - subject line and mailto ?????????
Posted by Brian at 4/26/2004 9:38:32 AM
I want to have an e-mail button in my movie that uses mailto and getURL. I want this to have a subject line, that I give it, that is the same for all mail sent from this location. Can I do that in Flash? ...more >>

choosing a scene with tell target??
Posted by ncartlidge80 at 4/26/2004 9:30:10 AM
I have 2 scenes in my flash file: The first is the preloader (entitled preloader) The second is the main site (entitled main) In the main scene I have a movie clip containing a menu. When you click the buttons in this movve clip, I want to be able to jump to a certain frame of the main...more >>

problem movieClip.clear() and components
Posted by DuoFreak at 4/26/2004 9:09:07 AM
Hi, I have strange problem. I use movieClip.clear() to clean up all I have drawn. This works perfectly. But when I add a component to my flashmovie. He does'nt clean anymore. It seems that the movieClip.clear doesn't respond anymore. Also .removeMovieClip(); doesn't work. He doesn't remo...more >>

Class not allowed to refer to itself?
Posted by eric76 at 4/26/2004 8:56:45 AM
Hi, I posted a simmilar question earlier with another title, but I got no answer. I would like to have this observation verified: That it is not possible to use statical typing in self-refering classes in the old actionscript (pre 2.0) ? More concretely, when I try to implement a functi...more >>

how to set _quality for just 1 object in a flash?
Posted by Shashwat.com at 4/26/2004 6:46:30 AM
Hi! I want to set quality to medium for just one object in flash movie... is it possible to do it? ...more >>

Problem with For Loop
Posted by Ashish123 at 4/26/2004 6:25:22 AM
Hi, I want to create text fields in tabular format.(in rows and columns). Follwing is the script which should create 3 columns and 5 rows but its just displays one row only ???? Where am I making the mistake exactly. Can anyone HELP me ?? xp=20; yp=10; twidth=250; theight=120; ...more >>

get the value for dragable angle of a triangle
Posted by zeenu at 4/26/2004 6:22:19 AM
Hi, Here triangle is created using actionscript, how to drag the angle of the triangle and get the value of corresponding angle and the size of corresponding side, Pls help me to get the solution for it. Thanking u ...more >>

Dynamically play .mov, .avi etc.?
Posted by kinetic758 at 4/26/2004 4:33:16 AM
I am currently using the loadMovie method to dynamically play .jpg and .swf's. Is there a similar method to dynamically play different movie file types, such as .avi, .mpeg, etc.? Thanks....more >>

Skinning a Button component dynamically
Posted by guericke.detmold NO[at]SPAM t-online.de at 4/26/2004 2:39:56 AM
Hello i create a button component with actionscript dynamically: btn=mx.controls.Button(m_Context.createClassObject(mx.controls.Button,"btnpruefen",m_Context.getNextHighestDepth())); btn.visible=false; btn.move(190,448); btn.label = "prüfen"; btn.addEventListener("click", clickHandler); ...more >>

Building a maze in flash
Posted by bman86 at 4/26/2004 2:22:48 AM
I just need to know how to build a maze like the sample file one in flash. I only need to know how to make the walls solid....more >>

Collision Detection & Duplicate mc
Posted by Charmaine99 at 4/26/2004 2:02:52 AM
Hello, Could someone please help me out a little with getting this. Please take a quick look at the file. Thankyou. I can't seem to get the duplicated mc's to also be detected when hitting the specified mc. The original does but not the duplicates... it must be in the scipting and an...more >>

Need Help !!! Action Script
Posted by Demag at 4/26/2004 1:35:16 AM
Ok here it is... I have 5 buttons, each with its own MC assigned to it. When my page loads, I want MC_1 to play automatically (I got this to work) Now here is where Im having my problem. When the mouse is rolled over anyone of the remaining 4 buttons, I need MC_1 to go away and the next MC to ...more >>

Button and TextInput component in MC not working
Posted by 3dmacguy at 4/26/2004 1:24:06 AM
I am developing my new website and I am having trouble using the button and text input components that come standard with MX2004. I have a movieclip on the main timeline, and within this another movieclip which has a button and a text input component in it. These components, when published, ar...more >>

PHP, mySQL, Flash
Posted by runelore at 4/26/2004 12:55:50 AM
I have built a webpage in php using mySQL databasing and I would like to know if I can format it all into flash. I don't know if it is possible to completly make my page in flash using php and mysql. If it is possible I would like to know where I can get all of the information I would need t...more >>

PHP + MYSQL + Newbie + flash = Hell!! LOL
Posted by rubbersoul69 at 4/26/2004 12:46:32 AM
OK....here's what I'm trying to do. I want to basically click a button and it populates on dynamic text field showing all the fiels in my one table called players (it's for a hockey league). So I have a database called 'stats' a table in there called 'players' and a bunch of fields (i.e. name,...more >>


DevelopmentNow Blog