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 > february 2004 > threads for wednesday february 25

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

playing one movieclip after another
Posted by Dave_090 at 2/25/2004 10:58:27 PM
How can I load in one movieclip, have it play, then load in another movie clip and have it play, then have the whole thing loop? thanks...more >>


Projector - linking a PDF
Posted by elevenfortyeight at 2/25/2004 10:55:26 PM
If anyone could help would be great!! I'm creating a multi platform CD ROM (exporting out two projectors) I would like to have a button where on release loads a PDF file - I have looked at using the FS COMMAND to load an application but since the path will be different on every computer. ...more >>

Flash and Windows98
Posted by Brian at 2/25/2004 10:47:30 PM
My client is complaining the site I just build is not working in windows 98. I have a mac and don't even know anyone that has windows98, so I was hoping someone could confirm the problem, let me know exactly where they are having a problem, or tell me that it works fine for them. Do you know...more >>

Text selections in new TextArea component
Posted by dforer at 2/25/2004 10:44:54 PM
I have spent hours trying to do something with the new MX 2004 Flash TextArea component that is trivial in the native Flash Text Field: namely, programatically 'select' text using the Selection-object-methods: Selection.setFocus("TextAreaInstance") and Selection.setSelection(beginIndex, endI...more >>

How to stream an mp3 ?
Posted by LNLN at 2/25/2004 9:39:53 PM
Hi, I'm a Flash beginner. I've an mp3 file and I would like to incorporate it in an html page in DreamWaver as a streaming sound. What should I do in Flash ? Regards. Helene....more >>

Using loadMovieNum to a specific frame
Posted by SubGum at 2/25/2004 9:29:46 PM
Is there a way to use loadMovieNum command but have is go to a specific frame in the newly loaded movie instead of going to frame 1....more >>

this should be easy...textbox/xml/variables
Posted by pocket-rocket at 2/25/2004 9:15:32 PM
I'm a little stuck and I hope someone can clue me in...I am trying to use an fla I found off the web to handle my needs. I have a text box that has a list of items that I am reading in from an xml file. The way it is set up right now, the xml file can have a url defined for each item, so ...more >>

Speed loop ?
Posted by DTFX at 2/25/2004 7:50:19 PM
Hello all. I'm from Brazil and I have a litle question about how make something in the timeline become REALLY FAST like a button when you put the mouse in it, it highlights very fast in loop. I found a good sample this in www.pixelranger.com wen I put mouse in one of the "RECENTS PROJECTS" ...more >>



search box for my all-Flash website
Posted by Chayah at 2/25/2004 7:41:34 PM
I need to make a search box for my all-flash website. I want to make it so a visitor can type in a key word and then a page in my flash website would appear with links to all pages in my flash website that use that word, or something similar to that scenario. I am sure the answer to ho...more >>

AS 2.0 ?bugs?
Posted by ufitzi at 2/25/2004 7:39:34 PM
I'm not sure I want to classify this as a bug or not, maybe just an oversite by the 2004 developers. Within a class definition, we have properties and methods. These can be declared as public, and as private. [b]Issue 1[/b] I am able to access private variables of a class (say X) in th...more >>

"dinamic_menu" in Frameset?
Posted by laksen at 2/25/2004 6:38:36 PM
Hi I have tried a Flash menu, "dinamic_menu", and I hope someone can help me with linking the menu so it can be used in a Frameset. From one Frame with the menu in, to a another Frame in the Frameset, if that is possible?! The menu works fine without using Frames, but I would like to use F...more >>

gotoAndPlay(arraylocation)
Posted by Richard Atkins at 2/25/2004 6:22:30 PM
I have an array I'm storing string variables in. I want to be able to retrieve an item from the array x, and then gotoAndStop(x); my code works fine right up until I try the gotoAndStop command... my code: function goBack() { // call up last but one item in the array, goto and pla...more >>

Flash Datagrid Question
Posted by Imperugo (exCartman) at 2/25/2004 6:19:19 PM
Hi all, I have this problem: arrProd = new Array (); // var obj = new Object (); arrProd[0] = obj; obj.categoria = "Colors"; obj.descrizione = "Colore Rosso"; obj.descrizioneEng = "Color Red"; obj.pallets = "5x1,5 KG"; obj.trattamento = "sss"; ecc..... per x prodotti. with a cycle ...more >>

Preloaders: loading external MP3's
Posted by Justin W Opitz at 2/25/2004 5:56:15 PM
Does anyone know if a preloader will count the bytes of a mp3 file being loaded externally into the swf via the loadSound (non streaming) script? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.593 / Virus Database: 376 - Re...more >>

global between loadMovies
Posted by iaustin at 2/25/2004 5:52:59 PM
Hello, Flash 5: Is it possible to pass values/variables between a loadMovie movie clip and the main or host movie? I set a varible in a movie.swf, I load the movie.swf into my main movie and would like to retreive the value into my main movie from movie.swf--using loadMovie. Than...more >>

component custom UI -> "scrollbars when needed" ?
Posted by PJ at 2/25/2004 5:23:11 PM
Does anybody know how to make a custom UI for a component with scrollbars only when needed? Like e.g the MX 2004 'MediaDisplay/Playback' component UI's only have scrollbars in the panel when nessesary and correct themselves when user changes the panel size. ---------------------------------...more >>

Textfield and API Drawing
Posted by IAMPsycho at 2/25/2004 5:22:59 PM
Okay after spending 30 mins typing a huge msg and for some reason it didn't post I so now have to redo it :( Thus I'll make it short and brief: Making a simple online schedule to keep track of work/school. The flash clip reads in from a text file and draws the events on the schedule using...more >>

Streaming Mp3's
Posted by spazzblaster at 2/25/2004 5:20:36 PM
Hi, I'm creating a track-player to stream songs into, but I don't want each song to play unitl 35% of it has been loaded because if it starts to stream immediatly on a slow connection the loading process can't keep up with the playing process and the track keeps starting and stopping until...more >>

Dynamic text within a movie clip
Posted by timeout at 2/25/2004 5:10:27 PM
I have a movie that has a dynamic text box with a movie clip - the movie clip is on the main timeline. I want to load an external text file into the dynamic text box that is in the movie clip. If the dynamic text box is on the root timeline it loads no problem. _root.movieClip.dynamicTextBo...more >>

loading variables from swf to swf
Posted by Migoy at 2/25/2004 5:03:55 PM
does anyone know how to load variables from an external swf file? i want to update my variables in a separate swf so i don't have to open the main .fla document and i'm planning to let others update the data without giving them the main .fla (for my code's privacy). i'm trying to avoid impor...more >>

Display MovieClip in the center of ScrollPane
Posted by Necolas at 2/25/2004 5:01:27 PM
Hi all, I have managed to display a movieClip in a scrollpane each time one clicks on the corresponding item of a list. However, the MovieClip is displayed in the upper left corner of the scroll pane. I would like it to be displayed right in the middle. But I do not want to change the movi...more >>

text links to anchors?
Posted by grob at 2/25/2004 4:40:10 PM
I want to add a text link inside my Flash file that links to an <A>anchor on the same html page. There is a field in the Text Properties Pane that seems to be there for doing things like this. However, when I put the anchor, "#myAnchor1, into the link field, it isn't working on the html page, i...more >>

MovieClip Properties
Posted by inadaze at 2/25/2004 4:33:46 PM
I am trying to load an external .swf into a movieClip "dropZone". I want to control the size of the dropZone so that the external .swf fits into the screen but everytime i use setProperty my loadedMovie (or maybe its my dropZone) doesn't show. another words nothing ever happens. Could someone ...more >>

How to tell a MC to lock it's _x to anotherMC
Posted by tres21 at 2/25/2004 4:11:05 PM
Hi, I know I must be definig something wrong, I have a movie that shows the people in our company, the background is on B&W and the sliding mask is set to show the color image. I have the mask were it slides to the location that I want, what I cant figure out is how to tell the mask_mc...more >>

Pausing An Object
Posted by Breathez at 2/25/2004 3:02:57 PM
Hi there, I'm trying to make an object in my movie play for 2.5 seconds and then pause for 5 seconds and after that jump to a certain frame. I've tried loads of things, but none of them work. I'm a bit of a newbie when it comes to actionscript, so I was wondering if any of you could help. ...more >>

XML in flash with web links
Posted by Sav at 2/25/2004 12:51:17 PM
I am using XML loaded into flash. Everything is fine with all XML nodes. However I need to have weblinks within the XML text. I understand CDATA is a solution but can not find any information on how to impliment this in flash help or the Macromedia site. Can someone help with what needs t...more >>

Is it possible to access DHTML from inside Flash?
Posted by grob at 2/25/2004 11:33:25 AM
I was wondering if it was possible to change the display of a html table TD from inside a flash file. I'm working on an online test, and what I hope to do is, when the flash audio begins to play, reveal the contents of a table cell (the test paper), changing its display (in javascript) from disp...more >>

[FLAMX] Preload for all
Posted by Klaus at 2/25/2004 11:11:39 AM
Could I do a preload for all movieClips? Like this example: _root.tela_mc.tira_mc.pic_1.loadMovie("images/treasures/small/treasure-lace. swf"); _root.tela_mc.tira_mc.pic_2.loadMovie("images/treasures/small/tifany.swf"); _root.tela_mc.tira_mc.pic_3.loadMovie("images/treasures/small/picnic.sw...more >>

navagating screens
Posted by big dd at 2/25/2004 10:50:10 AM
I'm trying to get a button in slide1 go to a certain frame(61) in a slide 8, HOW???? Thanks... ...more >>

play 'outro' of current MC then load next MC on button
Posted by Chris Waters at 2/25/2004 10:49:32 AM
Hi I need a little help with this please: On the root of my movie I have a empty container MC called 'container'. I have a number of MC's that will load into this container via individual buttons....lets say 'but1' loads 'MC1' into 'container', 'but2' loads 'MC2', 'but3' loads 'MC3' etc. ...more >>

Same Variable, different content
Posted by pwiop at 2/25/2004 10:42:57 AM
My dilema is this. I have a number of txt files, myTxt1.txt, myTxt2.txt, myTxt3.txt, myTxt4.txt for example Each of the txt files has a number of variables within ie title1, title2, title3 etc The contents of each of these varaible is obviousy different between the txt files and my...more >>

jsfl question
Posted by Alexander Ross at 2/25/2004 10:15:33 AM
I want to make a simple command which will open the folder of the document I'm currently editing. I have this so far: var openDoc = fl.getDocumentDOM(); var longPath = openDoc.path; for(i=longPath.length;ch = longPath.substr(i-1,1);i--){ if(ch == "\\"){ break; } } var shortPath = ...more >>

reset _xmouse; _ymouse
Posted by parisb at 2/25/2004 10:02:40 AM
Hello are u happy Flash users! I'm trying to put my mouse pointer at some given coordinates. Something like: onClipEvent(enterFrame) { _xmouse=-32; _ymouse=32; } however this doesn't work. So any suggestions, hints, tutorials, anything... a friendly good-bye and try anothe...more >>

new to Actionscript - need some advice re: text
Posted by rick NO[at]SPAM mcorp at 2/25/2004 9:59:26 AM
Hi, I'm a Lingo programmer dabbling for the first time in AS, finally got my head around the basic principles of timelines etc. and I'm now experimenting with a few ideas. What I'd like to achieve is to have a text field which I can populate from an external source (xml, text file - doesn'...more >>

Record from computer's Mic input in a Flash swf?
Posted by grob at 2/25/2004 9:29:15 AM
I have seen an audio record and playback function in a Flash site. http://www.clarityielts.com (view the demo) Does anyone know how to do it? I have searched all over. Can't find any support for it on the Macromedia site. Thanks grob ...more >>

Dynamic Text Formating ???
Posted by shahgillani at 2/25/2004 9:04:41 AM
Hi everyone! I have created a dynamic text field all by code. LISTING: _root.createTextField("mytext", 1, 50, 50, 200, 100); mytext.text = "Dynamic Text has been created."; Who do I format my Dynamic Text. For example changing font Face, Size, Color etc. I shall be grateful. ...more >>

arrange ? i need move the level hierarchy
Posted by _Skynetboy_ at 2/25/2004 7:26:42 AM
hi... i nead make a level scale for arrange the objects (MC) for a game the levels look like that: ----------1 ----------2 ----------3 ----------4 well, then i need if the movie clip "character" is on level -----3 the arrange go to up to the level 2 and if the MC go up the ...more >>

loadMovie() - how do I control its X and Y coordi
Posted by spdorsey at 2/25/2004 7:13:57 AM
I'm importing an external .swf using the loadMovie() action. How do I make it load into specific X and Y coordinates in the comp that it's loading into? I cannot find the answer anywhere. Thanks, --------------------S ...more >>

Problems targeting a frame in a movie clip
Posted by King Mob at 2/25/2004 6:32:20 AM
Hello all... My problem is this... I've created a site in which all of my sections have been broken up into movie clips, accessed through another movie clip menu. While I've found targeting these clips no problem, I've discovered that targeting a frame within a movie clip FROM the menu...more >>

naming conventions and variables
Posted by Dave_090 at 2/25/2004 4:25:19 AM
Hey, I need some help. I want to go: _root.createTextField("textfield_name" + i, 0, 0,0,100,100); textfield_name +i.text = "some text"; of course this doesn't work, but I'm unsure how to call the method without having to specify, "textfield_name0" or whatever the value of i might be...more >>

Need your help in "onRelease" event !
Posted by softip at 2/25/2004 3:55:25 AM
In my application,I'd like to do the buttom event that is "onRelease". When the file was loaded in the beginning and don't have to press the buttom Please see the source code below ********************************************** myrun(); function myrun(){ ok_btn.onRelease(); } ...more >>

slowing down actionscript execution
Posted by gmerrilllee at 2/25/2004 2:52:45 AM
I'm using the _height and _y properties to diminish the size of a movie object by a pixel at a time within a WHILE loop. The problem is that it appears to jump to the smallest size with no slow shrinking effect. Is there any way to set a pause within the loop to slow it down?? ...more >>

Dynamic Text box fils from text file (Please Help)
Posted by Run at 2/25/2004 1:21:00 AM
Hello all, I am really confused and lost. I have searched the net and the newsgroups for tutorials on loading dynamic text boxes from a text file and am unable to get it to work at all. I better lay out what I am trying to do and maybe you'll just tell me I'm trying to do it the wrong way. I'm...more >>

preloader problem
Posted by ace01 at 2/25/2004 1:01:37 AM
Does anyone know why my preloader waits until it loads about 60KB before it you can see the preloader. Can anyone help! onClipEvent (load) { loading = _parent.getBytesLoaded(); total = _parent.getBytesTotal(); percent -= (percent-((loading/total)*100))*.25; per = in...more >>

can I force an event and how
Posted by mram at 2/25/2004 12:58:26 AM
I want to force an event like the following display = new Object(); display.cellPress = function(evt){ //my code } For you answers thank you...more >>

can I force an event and how
Posted by mram at 2/25/2004 12:57:51 AM
I want to force an event like the following display = new Object(); display.cellPress = function(evt){ ...more >>

Placing a .swf file into my Flash comp
Posted by spdorsey at 2/25/2004 12:56:57 AM
Hello in an effort to make things compartmentalized and easier to edit, I created a separate Flash file containing some content which I would like to load as a ..swf into another Flash comp. The .swf will scroll with rollover buttons, so I am using a mask layer to hide the content...more >>

Dynamically placing a movie clip on a layer
Posted by PeteGould at 2/25/2004 12:55:04 AM
This is undoubtedly a trivial question, but I'm a new user in the middle of learning Flash and am having trouble with Actionscript. I have a sequence which draws an animated background and leaves it in place. I have a layer above this background in which I want to dynamically load and play m...more >>

loop through dataset fields
Posted by jjjake01 at 2/25/2004 12:38:00 AM
I'm building an xml document using the fields from a dataset. I refer to each field using: _root.ds.currentItem.NameofField In order to successfully build the xml, I have to search and replace all apostrophes and ampersands. I built a function to do this = replace(search, text, replace...more >>


DevelopmentNow Blog