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 > february 2005 > threads for sunday february 27

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

Preloader getting bytes of external images
Posted by davechl at 2/27/2005 11:05:06 PM
I'm loading external images into movie clips and would like my preloader to show % loaded based on the entire SWF including the bytes of external images. Is that possible? I've used _getBytesLoaded and _getBytesTotal, but I don't think they account for the external images loaded. After the pr...more >>


Loop Sound script
Posted by AaticuZ at 2/27/2005 9:43:45 PM
hi, I have a set of buttons/objects, each has an on and off state, I want to use a script that when you press each one it will set it in the second state and loop a sound in my libary that I specifie, and then when you press it again, it will return to its origional state (off) and stop the so...more >>

how to break multiple stop action when play();
Posted by Hunnie at 2/27/2005 9:24:02 PM
I am creating a slideshow of pics which are all on the same timeline. Also, I have buttons on the bottom for play, stop, rwd, fwd. The problem is that Im using stop actions when the pics animate to full view. And when I play, it would stop to the next stop(); action on the timeline. My questio...more >>

[OOP]extending built-in types in AS 2.0
Posted by F.Sutto at 2/27/2005 9:18:16 PM
Hi all, does anybody know how it is possible to extend bult-in types in Actionscript 2.0? Using prototype still works but I wonder if it is still the suggested method. Example function sayHello() { trace('Hello World!') ; } String.prototype.hello = sayHello ; I don'...more >>

Stop sounds when scene changes
Posted by hilandrfan at 2/27/2005 8:32:06 PM
I have only a very basic understanding of Actionscript. I've managed to create slide show in which the slide changes when the user clicks on a button. I used "go to and play" scene name. When the new scene loads, a sound clip of speech plays. If the user clicks on the button to chang...more >>

loading variables from text file
Posted by zcan at 2/27/2005 7:54:02 PM
I'm loading variables into a flash movie from a text file using loadVariables and I'm looking for some code that checks and makes sure the entire file is loaded before going to the next frame. It seems hit and miss otherwise. Thanks for any help! ...more >>

onLoad??
Posted by lumeeguvnor at 2/27/2005 7:52:17 PM
i have built a photo album - which has the photo on loading into the holder mc fade in. this works fine on my local hard drive. But online the photos take longer to load into the holder mc and the fadeIn function has already completed before the photto is viewable. to counter this problem i t...more >>

MX 2004 Preloader. Can anyone fix my file?
Posted by Lesley G at 2/27/2005 7:45:45 PM
This is the code I have attached to the Play button in a Flash file that I need to download a .swf elsewhere on the server. on (release) { my_mcl = new MovieClipLoader(); Listener = new Object(); Listener.onLoadStart = function(){ } Listener.onLoadProgress = function(moviehost,loaded,total) ...more >>



Question About pop-up window and size configuration
Posted by Opticon12000 at 2/27/2005 6:50:58 PM
Heya peeps. I just wondered if anyone knew how to with a button make a window with a webpage apear with a certain window size. lets say 1024 by 700 or something. If anyone knows how could they give me the code so i can place it and edit in in a buton. This website does it but its done...more >>

NEED HELP WITH FLASH-to-XML
Posted by darwinwaswrong18 at 2/27/2005 6:33:58 PM
I want to be able to store some strings to an XML file from an SWF. I know how to load strings, atrributes and nodes from XML to a flash file, but i want to be able to add some. Basicly I want an SWF on... lets say... a yahoo geocities server (if it makes a difference). I want it to have a cou...more >>

loadMovie/createEmptyMovieClip depth layer
Posted by Ron1n at 2/27/2005 6:25:30 PM
I need to create a movie clip on a specific layer in the timeline, but I cannot figure out how. I am using createEmptyMovieClip and loadMovie. The layer I want it to appear on is called "Base." ButtonIntroduction.onPress = function () { setPage("Introduction"); } ButtonAbout.on...more >>

Problem with tracker for dynamic text box. Please help!
Posted by Spindrift at 2/27/2005 6:02:21 PM
Hi all, This is really a question for Kglad who has been absolutely superb and deserves a huge amount of credit for all his help on the forums. Anyway, I have a dynamic text field which has an up and down button and a tracker so it scrolls. It works perfectly (thanks to kglad!). The problem...more >>

stop play head for set amount of time then resume
Posted by Wolfespring at 2/27/2005 5:58:31 PM
I am new to actionscripting and would like to know the best and easiest way to automatically pause the flash file on the first frame for a set amount of time (4 seconds in this case) then resume playing the file. I tried the following code: while (getTimer()<400) { stop(); if (getTim...more >>

CREATING ARRAY
Posted by blinkie23 at 2/27/2005 5:45:11 PM
hi i got a problem that i duno how to create array to store what i have key.....can anyone help me? please.......... source code: btnRecord.onRelease = function() { for (i=0; i<10; i++){ //inside this loop i don't know what to put in trace(pianoNoteArray); } } ...more >>

problem with controlling individual sound.....
Posted by Henry Chow at 2/27/2005 5:36:46 PM
I am working on a movie with multiple scenes. On my second scene I started my background sound with this code, (in scene 2) mSound = new Sound(this); mSound.attachSound("menuSound"); mSound.setVolume(10); mSound.start(0,999); all these work great. It plays thoughout all the scenes as my...more >>

Targetting a frame inside swf
Posted by walahe at 2/27/2005 5:36:44 PM
Sorry for asking this again: I have 5 buttons on the stage and have this code on each button + 5 external swf. (stacking swf on top of eachother when loaded to the stage). tot_mc.hotels_btn.onPress = function() { var someDepth = empty_mc.getNextHighestDepth(); var mc_New = empty_mc.c...more >>

Actionscript Coaching
Posted by The Lone Ranger at 2/27/2005 3:43:57 PM
I recently purchased a Flash site template in order to save some time. I am eager to modify the template by adding more actionscipting to some of the buttons. I am also open to hiring a coach in order to help me out with some of the actionscript syntax as well as site design. If you want to he...more >>

Highlighting texts?
Posted by Xx)MaveriK[X] at 2/27/2005 3:14:33 PM
Hi, i wnat to highlight the text when you target the text field, something like this: my_txt.onSetFocus = function () { //hightlight my_txt.text; } thx...more >>

creating an array to store a value
Posted by blinkie23 at 2/27/2005 12:59:09 PM
hi i need help from u all. i'm have a problem creating an array which i need to store the value that i have pressed. source code: btnRecord.onRelease = function() { for (i=0; i<10; i++){ //inside this loop i not sure what statement to be put in trace(pianoNoteArray); } } ...more >>

How can I make a preloader for a dynamic text field?
Posted by Spindrift at 2/27/2005 11:23:42 AM
Hi all, How can I make a preloader for a dynamic text box in Flash MX so when the user is waiting for the .txt to load, he or she can see a 'loading...' message in place of the dynamic text field? Thank you very much and I hope to hear from you. Take care, Mark ...more >>

Ext_Text/XML file w/jpegs
Posted by CanonBoy at 2/27/2005 7:39:07 AM
Dynamic text box that loads external text file. I can get html/xml to work but <img src="name.jpg"> won't embed the pic. I've heard someone say they were able to load jpegs with the <img> tag (figuring the one above) but haven't been able to get it to work. Though I have a nice compone...more >>

random images
Posted by boomtownUSA at 2/27/2005 3:00:38 AM
hello , im using this script to randomly load some images. _root.createEmptyMovieClip('empty',1); _root.empty.createEmptyMovieClip('holder',2); var pict = new Array('one','two','three','four','five','six','seven','eight','nine','ten'); var pictPlus = pict.length; var randomPict = Math....more >>

copy array with distinct elements
Posted by andros at 2/27/2005 2:39:00 AM
I would like to copy an array which contains only Distinct elements. ie: if an array contained [cat, cat, dog, mouse,dog] the new array would only contain [cat,dog,mouse] any ideas?...more >>

movieclip preloader not working
Posted by derribo at 2/27/2005 12:03:29 AM
I have a main.swf file where I want to load a movieclip called content.swf when a button in the main file is clicked. Both main.swf and Content.swf have the same kind of preloader on its initial keyframes. For positioning, content.swf is loaded into an empty movieclip through "empty_mc.loa...more >>


DevelopmentNow Blog