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 thursday february 5

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

I wanna use Use array to make my life easier...help
Posted by uncle_3than at 2/5/2004 11:57:35 PM
I'm trying to make my bottons to do bunch of same thing over and over, and I have 4 buttons, I want them to be in an Array, here's what I originally wrote in a old fashioin say ActionScript: btn1.onRelease = function(){ trace("btn1 clicked"); } btn2.onRelease = function(){ ...more >>


how do I load a local movie off a web page?
Posted by bluedane at 2/5/2004 11:46:19 PM
Hey guys, I hope you can help - sorry if this is a newbie question- ok: We have a good size flash movie that sits in the install directory of our app. When you visit our web page, we would like to launch that movie in the web page (vs. re-downloading it.) I can get the movie to load, but w...more >>

basic scripting question
Posted by southcorp at 2/5/2004 11:38:15 PM
I have a couple of TextInput fields, and when you fill them out and hit a "submit" button, it saves that data as an item in a dataSet component. like this: btnSubmit.onRelease = function() { dataSet.addItem({name: nameInput.text, ssn: ssnInput.text}); }; But I also want to the button to auto...more >>

Text Loaded to Text Box Invisible! Huh?
Posted by DKnighte at 2/5/2004 10:16:14 PM
I have a text box in my movie. When I try and dynamically place text into this text box, the text seems not to be there. However, in actuality, I can select the text, copy and then paste it into another file, like say a Word Doc. So my text is there, but I can't see it! It is not an _alpha=0 thi...more >>

sequential functions?
Posted by originalknappster at 2/5/2004 8:57:30 PM
I'm trying to make one function go right after another function finishes. For example, say I have an EaseTo function (which would make an MC ease to a certain coordinate), and i want an MC to move to the coordinates 0,0 and once it's arrived there, to move to 40,100. What is the function for thi...more >>

targeting movie clips
Posted by moni_80 at 2/5/2004 8:40:38 PM
Hi! I'm just learning to use flash and of course I am having many problems :S I have several movie clips inside the main timeline, and I want that in the mouse click inside one movie clip, another movie clip to start running from a certain frame. Both movie clips are inside the main timeline, so...more >>

When using LoadVars in a class the scope changes in onLoad function
Posted by cherry_x at 2/5/2004 7:37:36 PM
Hi, I have created a class for a component I created using Flash 2004 MX Pro 7.0.1. Within this I set an onload function for LoadVars and perform a send and load e.g. The problem is that when the onload function (readTipList) is executed in a class object, the scope ("this") changes from th...more >>

Help! include pdf files in flash
Posted by mdondero at 2/5/2004 7:34:24 PM
I need to load pdf files in flash (they must be loaded on demmand, depending on the user input). Once the file is loaded, the user should have the posibility to print it. Is it possible to do this? can I Include the acrobat activex control into flash to achieve this? Thanks! ...more >>



Scrollpane question
Posted by David O. at 2/5/2004 7:05:40 PM
Does anyone know how I can control the POSITION of the vertical scroll bar thumb? When I load the content of my scrollpane, my objective is to have the user see the LAST item of the content. But after loading, it somehow defaults to the top of the content. I looked up the documentation, and th...more >>

Dell computers
Posted by Don77 at 2/5/2004 7:05:02 PM
I have received tech support calls from some of our users on Dell computers (mostly Latitude laptops) that after a while the flash player message that "A script in this movie is causing Flash Palyer to run slowly. If it continues to run, your computer may become unrespnsive. Do you want to abort the...more >>

variables to text box
Posted by ursulaminor at 2/5/2004 6:59:12 PM
Why won't this code work? The first part is in an swf that has been loaded into an emptymovie clip. It works. The trace whichQuestion also shows the correct question in the output box. In the second button functions, the only thing that works is the last else = super dupper. What am I doing wron...more >>

Slide Name???
Posted by gspan at 2/5/2004 6:43:59 PM
Why can I substr this variable? I keep getting back undefined. mx.screens.Slide.currentFocusedSlide returns: _level0.presentation.Products I just want the Slide name that the movie is on. temp1 = mx.screens.Slide.currentFocusedSlide.substr(1,21); Thanks - Gary ...more >>

button check (newbie)
Posted by Massive3215 at 2/5/2004 5:19:52 PM
I have 6 movieclips I'm using as buttons. When movieclip one is pressed I don't want it to be clickable anymore. When another movieclip is clicked I want it to return to it's original state, and become clickable again. Any tutorials or help is appreciated. Thanks! ...more >>

targeting a movie loaded into a movieclip?
Posted by michaelknauf at 2/5/2004 4:50:15 PM
So, I have a file, how.swf loaded into a movieclip like this: loadMovie("how.swf","landingpad"); now I want to control the timeline of a movieclip to within the how.swf file, but i don't understand how to target it. The docs all refer to levels, but I think I didn't load it into a level??? ...more >>

Can JavaScript call a Flash function that I created?
Posted by LadyShampoo at 2/5/2004 4:17:57 PM
I've attached my function to this message. Must be intuitive enough. Now, can I call this function from outside the movie, in a simple link in my HTML? I've tried the obvious onClick="window.document.movie.link('file_name');" but it kinda didn't worked... Ideas? function link (onde) { ...more >>

class extends movieclip question
Posted by Alexander Ross at 2/5/2004 3:04:18 PM
AS2.0 Lets say I have a class that extends movieclip. This class is then linked to a movieclip instance on the stage of the main fla. In this senario, the following works: class Bob extends movieClip{ .... blah blah blah (constructor) blah blah blah function stretch(whatFactor...more >>

mc hierarchy rearrangement
Posted by joox at 2/5/2004 1:32:22 PM
can i alter hierarchial links of mc's? say i have an mc named "pea" attachMovie'd to mc "can". "can" in turn, attachMovied to "table", which is on _root. Can i get that "pea" into mc "fork" on _root (i need that pea be moving together with fork AND be above all other peas and cans in depth stack). ...more >>

can i run Flash WITHOUT player?
Posted by HoloSim at 2/5/2004 1:21:28 PM
Is it possible to make a Flash presentation for a CD-ROM that can run WITHOUT the Flash Player? I'm making a CD-ROM marketing tool for a Space Program company (not NASA) that has rules forbidding "the installation of Flash player software on company PC's." I've been given authority to include Fl...more >>

play sound on any click in the movie area
Posted by glaze at 2/5/2004 12:25:37 PM
Is there a way to play a sound on any click in the movie area (other than making a giant invisible button)? Thanks. ...more >>

Delete/Invisible an Graphic
Posted by Matthias Göbels at 2/5/2004 12:00:21 PM
Hi Again, I have a graphic object and need to make it invisible or delete it, how can i do it? I found no way to give the Grafik an Instance name. MFG M.B.G....more >>

Movie clip problem
Posted by AmarShah at 2/5/2004 11:53:46 AM
I want to load my play back head to perticular frame from one movie clip to another movie clip so which action i have to write?? ...more >>

Layer visibility
Posted by Matthias Göbels at 2/5/2004 10:56:44 AM
Hi NG, Can i set a Layer invisible with actionscript? MFG M.B.G....more >>

Difference between levels and depth
Posted by Dtads at 2/5/2004 10:33:45 AM
Hi Just forgot to ask another question Whats is the difference between the command depth and level ...more >>

Arrays
Posted by shiftlock at 2/5/2004 10:29:03 AM
I'm learning action script and have noticed that arrays are complex and twisted in AS. I need to know if AS has arrays that work like the ones in GW Basic: j=2 variable[j]=5 so variable[2]=5 Thanks for your help ...more >>

Communicating between 2 swf files
Posted by Dtads at 2/5/2004 10:29:00 AM
I am loading an external swf file in flash using loadmovienum command, that works fine but when I tried to use the loaded movie to communicate back to the original swf file. It doesn't seem to communiacte. I know there is another way, if I was to load the movie to a movieclip. it will work fine b...more >>

load movie question
Posted by FlashMX at 2/5/2004 9:58:32 AM
Hi, I have a simple but yet not acheiveable (by me so far :( ): I have an empty movieclip holder on the stage called swf and I loaded in an external ppt.swf into it. Then I tell it to go to frame 2: swf.loadmovie("ppt.swf"); swf.gotoAndStop(2); How come swf never goes to frame 2 like I...more >>

Why Doesn't This Simple SWF Work?
Posted by rocknbil at 2/5/2004 8:07:49 AM
http://www.uci.net/redesign/flash2.html 1) using loadVariables, I call a cgi (server-side) script that prints a content-type header, then stores the URL in the variable image. The query string printed by the script is what diplays in the above sample, so you can see it's correct. 2) Using load...more >>

loadMovie jpg problem (random late display)
Posted by xjssej at 2/5/2004 7:20:38 AM
I'll try to keep this explanation as simple as possible... I have a movieclip into which I load an external jpg, like this: onClipEvent(load) { this.loadMovie("images/myimage.jpg"); } I also have two other movieclips which I use as up/down scroll buttons. For some reason, the image I've...more >>

rollover and movie clip appear
Posted by babysweet at 2/5/2004 5:04:25 AM
Hello everyone, I am very new with actionscript and at this moment, I have to come up with a script that when the cursor goes over the button, a movie clip will appear and stay for 20 seconds. The problem is that the button also has a script that cause the info (not the same info) to disappear w...more >>

dynamicly communicating with movie clips?
Posted by djrez3 at 2/5/2004 4:30:04 AM
ok here it is i have a group of clips names like movie1 movie2 movie3 and i wand torun a for loop on them is there a way to do something like _parent."movie"+i.property ??? or if you get the idea is there anyway to do this type of action? ...more >>

SetRGB and Alpha
Posted by Mighty Ravenscar at 2/5/2004 4:09:34 AM
Greetings, Was wondering if there was a way to use setRGB on an instance that has an Alpha of 0%. I want to change it's color while it is invisible and then fade it up gradually. setRGB doesn't seem to like this at all. Any thoughts? I'm under a really tight deadline and would be eternally gr...more >>

Cuepoints
Posted by Rothrock at 2/5/2004 3:54:48 AM
Is anybody succesfully using cuepoints? I was working with the MediaPlayback component. I've added cuepoints to the video and the listener is hearing them. The problem is that the listener is unable to retrieve the name or the time of the cuepoint. I found a known issue on the macromedia websi...more >>

destroy an Object?
Posted by djrez3 at 2/5/2004 2:56:42 AM
is there a way to destroy and object? like ... thisObject = new Object(); can i destroy this? i have tried thisObject = null and unload() and both are leaving the Object there. null at least kills all the properties. ...more >>

Automatically highlight text in a text field using a button?
Posted by FlashAsh99 at 2/5/2004 2:36:32 AM
Is there anyway of automatically highlighting (select) all the text in a particular text field, say when pressing a button? If anyone can help? ...more >>

close window component when open with button...
Posted by ervision at 2/5/2004 2:00:40 AM
Hello, I can have a window component popup with actionscript and close just fine. When I have a button that opens the window rather than the window opening by its self I am unable to close the window. // Below creates a Button Component mx.accessibility.ButtonAccImpl.enableAccessibility(); imp...more >>

clip event question
Posted by Scott Stroz at 2/5/2004 1:39:58 AM
I am in the process of making a map, so that when you click on a county, it will expand in size. (See the movie here http://www.frontalgrey.com/hica/maptest.cfm, and click on the county labeled 'Monmouth') This is working better than I had hoped, except, when I add the code to get monmouth cou...more >>

SHIFT key
Posted by rmethod1234 at 2/5/2004 1:31:11 AM
Hello all, I have a scroll pane that loads a seperate clip. Using the code below, i send the user to another web page. CODE ============================================== this.onMouseUp = function() { if (!this.hitTest(_root._xmouse, _root._ymouse)) { } else { getURL("site.html"); ...more >>

next jpg
Posted by myrinne at 2/5/2004 1:18:00 AM
hello sorry to bother you. i want to make a simple gallery. i have 200 pictures which are loaded into an empty mc. these pictures are numbered 001, 002, 003 and so on and so forth. i have two buttons. one that starts the "gallery" by loading 001.jpg into the empty movie clip. and one which loads...more >>

Pressing a button from another button?
Posted by FlashAsh99 at 2/5/2004 1:00:36 AM
Is it possible to press or click a button by pressing another button. I know it might seem strange, but it will be very handy if it is possible? Thanks to anyone that can help ...more >>

loadMovienum gives undefined error.
Posted by wilkesda11 at 2/5/2004 12:51:44 AM
Have a Flash Movie that I want to have load another movie into using the loadMovienum. When I test it, the error Can not load gives path /undefined. I defined the name of the movie I wanted to be loaded and it is in the same folder as the main movie. Any suggestion as to what is wrong? ...more >>

[navigation] looking for tutorial badly, plz help
Posted by uncle_3than at 2/5/2004 12:07:57 AM
Hi, I'm looking for a tutorial to create a navigation somthing like this site http://www.24-7media.de/nkhw/ the left side navigation, plz help me, I just couldn't find it over the web or any whereelse, I've been looking for this tutorial for a long time but just so frusitrated right now...than...more >>


DevelopmentNow Blog