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

using loadMovie with levels
Posted by ~J at 3/16/2004 11:55:02 PM
how do I control the position of an external file when I load it into the main movie on a certain level? for example, If I use: loadMovie("video.swf", 1); it will always appear top/left of the screen but i'd like to be able control where it appears. ...more >>

Back Button
Posted by Tarmaq at 3/16/2004 11:20:50 PM
[b]I have a problem!![/b] please help me someone! how to do an action like this example, but compatible with IE 6 too. [i] on (press) { getURL("javascript:history.back()"); } [/i] ? I have to click twice at IE 6 and in Mozilla Firefox it's simple.. no problem in Mozilla, but I ca...more >>

Sound troubles... please help ASAP
Posted by prog2design at 3/16/2004 10:05:31 PM
Ok... So I have a sound file inside of the first frame and I also have a different sound file inside the second frame. When I click on the button to move from the first frame to the second the first audio file continues to play while the second one is starting to play. How can I stop the firs...more >>

Multidimensional array
Posted by Uzuul at 3/16/2004 10:02:11 PM
Let's say I have the following multidimensional array PeopleArray = new Array(); PeopleArray[0] = {fname:"Steve", sname:"Jones", gender:"male", Age:"28"} PeopleArray[1] = {fname:"Marc", sname:"Simpson", gender:"male", Age:"25"} PeopleArray[2] = {fname:"Jane", sname:"Baer", gender:"female",...more >>

pop-up confirmation window & exit button
Posted by Greg_123 at 3/16/2004 9:37:39 PM
Can anyone help with the actionscript required to get a button to exit the movie (i.e. close the movie altogether) when it is clicked? Stuck on this one! Also, i need a "confirmation-style" window to pop-up when a user clicks the exit button from the movie (standard yes/no type thing). is t...more >>

loadmovie
Posted by sdlafhspiufb at 3/16/2004 8:00:05 PM
I'm trying to split up a movie that was deemed to large for web deployment, I love how these specs come up after the project is finished (even though I warned them many times that this movie was swelling up...). Anyway, I've got navigation buttons and sound objects on the timeline, etc... ...more >>

geturl on another window
Posted by bundas1000 at 3/16/2004 7:41:50 PM
I have a (empty) movie clip that loads external txt file, and the txt is being treated as html and everything works great but I have not been able to open another browser window just redirect to the same ( the one that has the MC) any idea why? PS: I need to add a link to the txt (html) fi...more >>

xml requres special character font
Posted by lemonsqueeze at 3/16/2004 7:21:09 PM
I'm trying to add special character to my data.xml file I've used special character ? no problem but character ? will not display e.g. <?xml version="1.0"?> <card>cr?pe</card>...more >>



Editable text wraping around the image/element?
Posted by Raptor at 3/16/2004 7:09:45 PM
I would like to have an editable box with an image thumbnail in the middle. So users would be able to write/enter text in that box, but the position of the image would remain fixed and text would flow around it. Is it possible - any ideas? ...more >>

Can a MovieClip be created in a class file?
Posted by julesguise at 3/16/2004 6:21:07 PM
Is it possible to use createEmptyMovieClip in an actionscript class (.as) file. If so what is required and please give examples....more >>

Interactive CD-ROM with Flash Only...
Posted by JimNayzium at 3/16/2004 6:17:20 PM
I want to create an app that runs automatically whent he cd is placed in the cddrive. I use a MAC osx flash 2004 mx. I want the cd to work on Windows machines and or both. But if not on mac that is ok. I have all the design elements in mind, what do I do to make the cd autorun, and not req...more >>

BUG! setMask doesn't work in IE! Works in Opera!
Posted by Gerrard at 3/16/2004 5:25:39 PM
Posted this before and no one had an explanation and I'm still confused... inside a dynamically create MC (imgCon) I load some images. In the layer above this is a MC with a single graphic that's going to be a mask (maskMC). I use AS and setMask to mask the images. This works fine when I test ...more >>

getting server ip address
Posted by allGoodNamesTaken at 3/16/2004 5:11:46 PM
Hello, Does anyone know of a way to get the ip address of the server that is hosting a flash movie from within the movie? Thanks, -Jim...more >>

Load External text
Posted by lardlad at 3/16/2004 5:10:41 PM
I am having trouble here. I am using the "loadVariablesNum("tem.txt", 1);" command in the first frame of the root. Everything seems to be ok but when I preview my flash file I get "_level0.text" in the text box instead of the actual text file. Any thoughts? FlashMX2004 published as...more >>

for next loop and events
Posted by qwerty10001 at 3/16/2004 5:05:04 PM
hi there I'm writing a code that can drag one ore more objects and then drop them in a specified point. The code below is only to start dragging though. I'm trying to simplify the code by using a for next loop but it gives me the wrong output. when I rem out the loop and insert i=0 just afte...more >>

AS 2.0 class and XML object
Posted by benmaldonado at 3/16/2004 4:43:49 PM
Why can't I create an XML object within a class file. It seems to load the XML data but when I try and acess the XML object after the onLoad function has been fired i get an undefined. with the _myXML.status. When I do this same code as a frame script it works fine. Can any one please help me...more >>

Fast forward and rewind audio buttons.
Posted by Wrinkly Man at 3/16/2004 4:40:23 PM
I have been building a site for my WW2 friends and i want an audio player that will play an audio file of in interview of one of my friends. The file has been imported into the library and is "jack_interview.mp3" . I have two buttons on the stage for the rewind/forward. Can someone please...more >>

what?s wrong with this code
Posted by cromelek at 3/16/2004 4:34:01 PM
Something is wrong with this code i can?t figure out... anyone is welcome to help.. // Assume AAA is the username and BBB is the password. // Create AAA.txt in the same directory with the source file. // Write password=BBB in AAA.txt and save it. // Create two textFields and name them ...more >>

Loading+playing MP3
Posted by amtransam at 3/16/2004 4:25:02 PM
Hello, i want to play a sound file once someone gets on the page. I have a very large mp3 file And I would like to create as mall movie that would stream the mp3 file. No bells and whistles just to play it. There is a code in the dictionary i've tried it and it doesn't work: loadSound( ...more >>

I'am new at flash and i want to make a form witho
Posted by Wrinkly Man at 3/16/2004 4:20:28 PM
I'am 80 years old and i have been trying to keep up-to-date on new technology such as the internet and the design of it. Iam making a site for my WW2 buddies and i would like to know how to make a contact form in flash [B]without[/B] using php, i think what i want to do is called a client-si...more >>

XML question. Hopefully Easy.
Posted by elliott M. at 3/16/2004 4:16:49 PM
I have this code that loads XML into my Flash Movie. When its finished loading it gets sent to a frame named "load" in the movie. Very Simple. The issue I'm having is that this code works like a charm when compliled in Actionscript 1.0 for Flash Player 7. But if I try to compile it in Actionsc...more >>

Attachmovie big problem - please help
Posted by Benie04+ at 3/16/2004 4:00:42 PM
Hi I am attaching a movie clip from the library . This movieclip has buttons inside calling some actions (actions doesn't matter). My problem begins when I call another movie from the library to replace this first one. The buttons inside this last one don't work. This works _root.ca...more >>

Autoscale swf's, is it possible?
Posted by nellytheelephant at 3/16/2004 3:39:06 PM
Hi, i'm trying to publish a stand alone movie that uses autoscale and fullscreen. I can get these commands to work on the main movie, however when I load a new movie the autoscale and fullscreen actionscript command disappears. Should it be possible to put these commands on each swf movie or...more >>

actionscript equalivant to a javascript
Posted by jrlysinger at 3/16/2004 3:38:35 PM
does anybody know the actionscript equalivant to this javascript? function Launch() { window.open ("timberPics1.htm", "_blank", config=" toolbar=no,menubar=no,resizable=yes,width=640,heig ht=400"); } what the script does is launch a html document at set width and height with the ...more >>

socket.onData
Posted by Bartolinus at 3/16/2004 3:31:18 PM
Hi, I need to fit in a global variable the string returned from an XMLSocket.onData event. Any idea? Thanks and best regards...more >>

please help with cd link question
Posted by eaglegreen05 at 3/16/2004 2:57:41 PM
I burnt my projecter file and the files i am linking to a cd. My goal is to have the user click on a button and have a prompt that says download this file to yoru hardrive. It is a hi res image of the low res thumbnail. I have tried everything. I tried the get url command and then just ty...more >>

Comma and Period Keys
Posted by m.el at 3/16/2004 2:42:14 PM
What are the ActionsScript assignments for getting comma and period key inputs (without having to utilize the shift key, etc.)?...more >>

execute JavaScript with flash button?
Posted by jrlysinger at 3/16/2004 1:49:36 PM
does anybody know how it execute a javascript with a flash button. I would like to execute it from the button itself. The script I am looking for it to load would be: function Launch() { window.open ("timberPics1.htm", "_blank", config="toolbar=no,menubar=no,resizable=yes,width...more >>

refer to a TextField in a class
Posted by InsAnimal at 3/16/2004 1:45:52 PM
How can I refer to a textfield from inside a class? putting it on the stage inside the Movieclip the class is for and referring by the instance name doesn't work, and neither does using the movieclip's createTextField method - referring by the instance name set by the method doesn't work...more >>

Collision detection Percent
Posted by kufu22 at 3/16/2004 1:44:01 PM
I have a movieclip called fader_mc. I have two other movieclips called object1_mc and object2_mc. I want to know how i can change the alpha percent of fader_mc depending on the collision overlap percent of object1 and object2. Eg if the collision overlap of object1 and object2 is 53% then th...more >>

checking if textfile loaded
Posted by danny__t at 3/16/2004 1:40:22 PM
I'm using the following to load a textfile into a dynamic textfield. This works fine locally but when I upload none of the text is loaded, I think this is because the data doesnt have time to load, how can I check if the file has fully loaded or not? (if this is the case) Cheers Dan ...more >>

Search feature...!
Posted by Joy_kittu at 3/16/2004 12:59:59 PM
Hello members...! How to pass the parameters to browser directely..! with out any intermediate language (like java etc etc..) I have a Input text box and search button. How to search the entered string from google. Means the results to be displayed in google. How it will be possible ...more >>

OT: javascript windowclose in a frame
Posted by James at 3/16/2004 12:25:21 PM
Hi I know this is completely off topic but I have an exit button in flash which calls a javascript function on the html page to close the browser window. ie window.close(); however the flash file is in a frame which now prevents the window.close(); from working (the function is still being c...more >>

MX2004 CSS and pixel fonts!
Posted by fozzie at 3/16/2004 12:07:10 PM
Hi all, Simple question: is it possible to use pixel fonts when using a CSS? and if yes, how do i do this? I want to use different styles in one textfield ( bold = FFFstarboldcondenced en normal = FFFstarcondenced). With the normal "<b>" bold tag that is impossible with pixelfots. Now...more >>

Access text variable.
Posted by Ram at 3/16/2004 11:34:26 AM
Hi, How do I access a "Dynamic text" variable of an external swf loaded into an empty movieClip of my Main movie. Eg: Supposing I load an external swf file into an empty movie clip of my Main movie. I have a dynamic text field in the external swf. I would like to access the contents of thi...more >>

DateField component
Posted by sschofield123 at 3/16/2004 10:50:55 AM
Can anyone point me to some more detailed help on the DateField? The number of methods in help is limited. How do I e.g. get the dd? I've got my selectedDate but it gives a great long string, except I couldn't pull out the dd, and have had to use DisplayedMonth and DisplayedYear methods for th...more >>

Curly Bracket Problem
Posted by andyulrika at 3/16/2004 10:48:42 AM
I'm having difficulty in getting the curly bracket into the action window - very strange! Even copying it from the character map in Windows 98 or copying from another text file - Still seems impossible. The only way I can input it is to test the movie and copy it from the errors window. An...more >>

using js with an external htm into textarea
Posted by Atomo2003 at 3/16/2004 10:33:55 AM
Hi, is possibile to use javascript in a external file? the htm file is loaded into a textarea component . I try with this: ________________________________________________________________________ <p>curriculum 1</p> <p><a href="javascript:windows.open('curriculum2.htm')">visualizza...more >>

special effect
Posted by geut at 3/16/2004 10:07:53 AM
Hi, I've been trying for a week now to figure out how they did this menu-mousechasing-effect. If someone can give me a hint, i'd really appreciate it. [L=interesting effect]http://www.asylum-studios.com/flash.html[/L] ...more >>

setProperty visible
Posted by ineke.s at 3/16/2004 9:59:55 AM
I've made a Flash movie in which there should appear pop-up text when you roll-over a hotspot. I gave the text boxes in the first frame the following script: setProperty("Uambu", _visible, "0"); setProperty("Usigma", _visible, "0"); setProperty("Ummt", _visible, "0"); setProperty("Umel...more >>

XMLSocket code sample wanted
Posted by andersboth NO[at]SPAM hotmail.com at 3/16/2004 9:59:35 AM
Hello Group. Does someone know of a good simple code sample with a XMLSocket speaking with a java server. All links are welcome. I found this page : http://www.michael-thomas.com/tech/flash/Flash5Socket/ But all the links are unfortunatly out of date. Best Regards, Anders Both, Denm...more >>

Creating a template for presentations
Posted by knewbry NO[at]SPAM yahoo.com at 3/16/2004 9:57:10 AM
I need to create a template for building presentations. There will be a number of levels for on the the stage for various text, graphics, and movies along with navigation buttons that will control the loading and unloading of movie clips in the levels. Clicking a Next button will unload curren...more >>

Flash x Palm
Posted by Matheus at 3/16/2004 9:55:45 AM
Does anybody alrealdy developed Flash applications (.exe) for PalmTops? Does it works fine? * Sorry by my bad English... Matheus. ...more >>

loading .swf into projector
Posted by dartanyanyan at 3/16/2004 8:08:20 AM
my movie is working fine when it is .swf why can't I load movies to the targets when i convert it into projector file(.exe)...more >>

Importing MP3's using actionscript
Posted by ConradCoe at 3/16/2004 8:07:22 AM
Hey everyone! I've created an alarm clock in flash just for fun and the knowledge. It plays a boring old sound when the alarm goes off. I'd like it to play a random mp3 OR have a drop down menu that lets me select an mp3 to play... How would i go about doing this??? Or any other suggestions a...more >>

ActionScript wizard with flash MX 2004
Posted by -paranoid- at 3/16/2004 7:33:09 AM
Hello, Err... Doesn't Flash MX2004 have that quick wizard to write actionscript by filling boxes like Flash 5? Thanks!...more >>

Tracking user navigation
Posted by Danny S at 3/16/2004 7:32:46 AM
I have a hirearchical menu structure which consists of about 3 levels of menus and then content at the lowest level. All of my menu items are buttons. I want to know how to keep track of which sections the user has visited. Each menu is a new flash file and when you get down to the content thi...more >>

OT: Seeking Generator for Flash 5
Posted by notaus123 at 3/16/2004 6:55:47 AM
Dear developers, I'm looking for a generator which is able to replace images withing a Flash-5 ..swf file. I tried swift-generator, but it won't change the size of the new image! So I'm looking for a tool with wich I can a) replace images within .swf b) resize this image b) change po...more >>

change textinput color on click
Posted by srinth at 3/16/2004 6:38:56 AM
hi all Please help me , I need to change the text color on click of a button if the text enter by the user is worng if it is correct to normal color srinath...more >>

saving the data's in notepad
Posted by mxdeepak at 3/16/2004 6:20:40 AM
Hi all I am developing a tool using macromedia flash MX, I have a set of data's which is calculated using Actionscript. The result has to be saved in notepad. Is it possible to save or write the data's into notepad. I don't have any backend support. Or is it possible with XML? ...more >>

nested clip control and functions
Posted by Captain Yossarian at 3/16/2004 6:15:40 AM
I have: a clip : mc2 a nested clip in mc2: audio2 a function inside the #initclip of mc2: function mc2() I need to: audio2.gotoAndPlay("some...more >>

How can I wait some time in the program?
Posted by mark mei at 3/16/2004 4:14:40 AM
How can I wait some time in the program? like sleep(100) function in C program? I write a action script fcuntion in flash which run the fscommand to invoke a API funciton in my VC program, and get the return value, and return its value to the function. flowing is my flash source code: ...more >>

doubt about basic actionscript
Posted by Carlos Gonçalves at 3/16/2004 2:41:50 AM
Some doubts: Is it a mistake to put in a frame only the command like this? _level9.gotoAndPlay("contatofotos"); Why when I put two commands like this above, flash doesn't do some of it? _level9.gotoAndPlay("contatofotos"); _level8.gotoAndPlay("botoes-contato"); Are there a way to...more >>

couldn't remove a Mc......
Posted by showtimemary at 3/16/2004 2:08:10 AM
Hi, I have two buttons(B1, B2) and two movieclips(Mc1, Mc2). Actually, Mc1 is a movieclip holder. And I put down all my action in the second layer, and the other stuff in the first layer. The actionscript is as followings: _root.B1.onRelease = function() { _root.Mc1.attachMovie("Mc2",...more >>

duplicateMovieClip() question
Posted by Valmian at 3/16/2004 2:07:50 AM
I am running a duplicateMovieClip() in the frame. Why does the code below not work? for (var a=0; a<20; a++) { duplicateMovieClip("hey", "hey"+a, 1); hey[a]._x=random(500); hey[b]._x=random(500); hey._visible=true; } ...more >>

Horizontal navigation
Posted by lauraloha at 3/16/2004 1:38:24 AM
I am trying to create a horizontal navigation that is going to have 9 links, I want the navigation to slied left or right depending on where the btn is locator I have the x postion or where I want all the button to be but i cant make it slide to the side something like this: http://www.n...more >>

Button basics - please help a Newbie
Posted by JMPX at 3/16/2004 1:14:58 AM
I am a newbie and need some assistance. I have made a tutorial .FLA with Flash MX 2004(which I will convert into an ..SWF) composed of scenes 1, 2, 3, 4,and 5. I want to have 6 buttons show up at the end of sequences A, B, C, D, and E whose actions are: #1 - replay A (A begins in ...more >>

send a variable to other movieclip
Posted by Carlos Gonçalves at 3/16/2004 1:10:59 AM
I created a variable "fast" into a movieclip. When I click a button, this button send a number to this variable (fast = 1) and would go to a specific frame into second movieclip. Into the last frame in first mc have the information where this variable should go in second mc. But the result of t...more >>

Mask only works when viewed in Flash player!! WHY?
Posted by Gerrard at 3/16/2004 1:05:22 AM
Hi! I've created an slideshow that load some images dynamically. The images are view through a mask activated by the setMask AS. Everything works fine and I was ready to publish the slideshow to the server but when I look at it inside an html document the mask doesn't work! Really anoyin...more >>

xml.send???
Posted by sunn.net at 3/16/2004 12:55:29 AM
When you use the send/sendAndLoad method of a xml object, how does it get sent? By POST or GET? And exactly what will be sent? A xml document or all the properties of the xml object? Thank you!...more >>

Setting X and Y of level for loadMovie
Posted by JoeD33 at 3/16/2004 12:33:40 AM
Hi. I am trying to load external .swf videos into a level, but it places them in the top left hand corner of the screen. I can't figure out how to set the _x and _y properties to the level so it is placed correctly on the screen. Any tips? -JoE ...more >>

variabale in nested clip returns undefined?
Posted by Laiverd.COM at 3/16/2004 12:19:22 AM
I'm setting a variable in a double nested movieclip. If I trace it from _root (at _level0) using: trace(radiogroup_mc.radio_1_mc.val); it returns undefined However when I list the variables, this is what shows up: Variable _level0.radiogroup_mc.radio_1_mc.val = false At first I thoug...more >>


DevelopmentNow Blog