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 > june 2004 > threads for thursday june 24

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

how to simulate a pop-up window
Posted by keith brickey at 6/24/2004 11:38:48 PM
I need to simulate a pop-up window superimposed over a move clip that has several buttons. I need to disable those buttons while the pop-up is visible. Is there an easy way to disable the buttons on the underlying move clip, or to restrice focus to just the pop-up? Thanks, Keith ...more >>

Determine if playing in editor
Posted by Pea at 6/24/2004 10:38:55 PM
Hi, Does anyone know how my script can check whether the movie is playing back in the editor, or whether its playing in the player? I have a 5 second wait at the start of my clip so that the audience can see my logo, but I don't want to have to wait for it everytime I debug! I could ju...more >>

DataGrid Link to diffrent frame numbers?
Posted by College_webber at 6/24/2004 10:28:51 PM
More woes with the DataGrid. I currently am populating a DataGrid with an Acess Databse, it has four columns that populate and look great. I want to make these rows a link to another frame in the Movie, but cant quite figure it out. Also, i want to send a value to that frame as well. Let m...more >>

Keeping curser from turning into a pointer??
Posted by technetium at 6/24/2004 10:26:32 PM
Is there any way to keep the curser from turning into a pointer? like whats the script? I am making a scroller and I want the curser to stay an arrow wile it rolles over the btns or the scroll bar. Any one have any ideas? THANKS ...more >>

Button Component Problems!!
Posted by iowaGuy at 6/24/2004 10:18:29 PM
I am trying to change the UI Button Component in flash mx2004. I keep going to google and reading forums but I can't seem to get them to take on a whole new look. I have to have 5 examples for my boss in the morning and I keep coming up empty. I think alot of the tutorials I find are for Flash...more >>

Problem with ListBox component
Posted by Atmosfera at 6/24/2004 9:53:05 PM
hi there, just a doubt, I've a ListBox with this AS in the same frame: // create items var item1 = {label:"Este es un tipo de ejemplo"}; var item2 = {label:"este podria ser otro"}; var item3 = {label:"como para no dejarlo afuera"}; var item4 = {label:"y ahora que te puedo decir"}; // l...more >>

Select an object and not it's bound box also
Posted by jonfludasel at 6/24/2004 9:52:10 PM
In my application there are several triangles each one represents a food category (eg. "fruits" is one triangle , "meats" is another triangle etc). There are several movieclips each one represent a food item for example "banana" can be one movieclip, "chicken" can be another movieclip etc. The...more >>

Detecting when mouse moves off of root movie
Posted by LMRightOn at 6/24/2004 9:27:39 PM
Hello, I have been going crazy trying to detect when the user has the cursor over the flash movie and when they have moved off the movie onto the HTML section of the web page. I haven't been able to detect this. It can't be that diffiicult, can it? Please Help! Thanks, Lawrence ...more >>



button component label
Posted by Jacob F. at 6/24/2004 9:27:10 PM
Hi, I know this must sound very simple, and it should be, but Imhaving some issues with it. My script is this: on (release) { global_sound = new Sound(); if (global_soundLevel > 0) { global_sound.setVolume(0); var global_soundLevel = 0; muteButton.la...more >>

AS2 Component Class: Constructor
Posted by bolly at 6/24/2004 9:08:31 PM
New to AS 2... so bare with me. I am trying to create a component that is associated with a class. I have the class path set in both the linkage and the component definition. I added the component directly to the root timeline. That all seems to be working good, my constructor runs and tra...more >>

button delay
Posted by TJMonster51 at 6/24/2004 8:29:00 PM
here is the code im using to attach a button to the movie. works fine. but is there a way to make it so the button only becomes active after your cursor has stopped on it for a second. that way the sound on the button and the animation doesnst fire when your just running over it to get to a di...more >>

_currentframe w/if else not working
Posted by zoester at 6/24/2004 8:01:10 PM
Hi all, I'm trying to create a dropdown menu system. I have an mc as a primary menu button that plays an animation on rollover, on press it plays another mc that is a dropdown. This is working. My problem is that once the dropdown is down, I want the primary button to remain in the "highli...more >>

Simple hitTest issue
Posted by akawoody at 6/24/2004 7:43:22 PM
I am trying to create a very simple "drag-and-drop move to the next frame" movie. I have a three frame movie. The first two frames loop with a movie clip of a BALL and a movie clip of a HOOP. Frame 2 has an action of gotoAndPlay(1); to create the loop. When the user "grabs" the BALL via th...more >>

List Box Help
Posted by Cordoe at 6/24/2004 7:33:36 PM
I'm still new to this, but I have the attached action script. Can someone please tell me why the data won't actually load into the list box? When I test the movie, the output comes up with the names, but it doesn't enter it into the list box. Thanks in advance! //Create LoadVars obj...more >>

passing flash var to javascript function
Posted by buck love at 6/24/2004 7:32:54 PM
i'm having trouble passing a variable from flash to javascript. here's my code: flashVar = "string of words"; getURL( "javascript: sayText( flashVar,1,1,1 ); void(0);" ); the code won't work unless i do: getURL("javascript: sayText( 'string of words',1,1,1 ); void(0);"...more >>

Preloader A/S.....Help Please....
Posted by PyroTechnyx at 6/24/2004 7:23:53 PM
Hello everyone, I hope everybody is having a good day, and I also hope that somebody can help me with my problem. I am working on a custom preloader, and Im having problems getting it to work. Heres the code, what Im aiming for is it to be on a certain frame of a movie symbol depending on...more >>

Flash UI COmponents Set 2 Documentation?
Posted by d3Studios at 6/24/2004 7:03:24 PM
What happened to the documentation for the Flash UI Components Set 2? The only thing I can find is in the reference panel, but it gives no information on the parameters and functionality of the methods. I know this used to be available before MX 2004....where did it go? Regards, Kris ...more >>

Using playheadTime to control actions
Posted by BartHeird at 6/24/2004 6:49:13 PM
I am using an FLV and want to grab the playheadTime to control another clip, however am having a problem understanding how to call it. What I am attempting to do is have the playheadTime equal a certain number of seconds and that trigger another clip on the stage. For instance: if (myC...more >>

converting a string to variable?
Posted by buck love at 6/24/2004 6:39:34 PM
i need to access my variables dynamically but i have no clue how. for instance: if i have an input textbox in my movie, i would like to be able to enter a word into it and have it point at an existing variable. so if i entered the word myVar into the textbox the program would retrieve the co...more >>

output window in browser?
Posted by Pluda at 6/24/2004 5:28:15 PM
Hello, How can we have an output window like the flash has but in browser? I need to analise my loaded vars directly from my database, but i only get this working in the browser. Is there any chance of doing this? thanks ...more >>

a question I couldn't come up with a title for...
Posted by turbonium at 6/24/2004 5:17:18 PM
I am finding it hard to describe what I want to ask so please bear with me. Example: http://www.agentedesign.com/usa/ After clicking a button a there is an animation (a red wave that covers the section and leads into a preloader). How is this done? How is the say, profile section anim...more >>

MenuBar failed, Menu is not in the library!!, Fai
Posted by Carlos Lerma at 6/24/2004 4:25:10 PM
Hi, I am working with the MenuBar, I have one movie comps.swf, where I set some components, as button, MenuBar, TextArea,etc,etc Each component, I set export for runtime sharing and export in the first frame. Then I have another movie, called main.swf, where I import the MenuBar compon...more >>

Changing the borderColor on components via AS
Posted by Brian at 6/24/2004 4:22:45 PM
I would like to change the border color of a ScrollPane component I am using. I tried to change it by applying a theme, but somehow that did not work. I would now like to change it via AS. How do I do that? I looked at the following code, but so far have not been able to make that work: ...more >>

Urgent - anyone out there ?
Posted by asht at 6/24/2004 3:34:43 PM
I have a series of swfs that I am navigating through with scripted buttons. I am trying to load a swf and start playing it at a label. The swf loads, but starts from frame 1, the label is on frame two. This is the script I am using; on(release);{ loadMovieNum("original.swf",0); got...more >>

textArea french characters
Posted by Alain Thibodeau at 6/24/2004 3:20:35 PM
Hello All, I am using a textArea component and loading xml (html) content in it and formatting it with CSS. I am noticing that its not accepting french characters like: é or è how do I set it so that the textArea will show those characters, anyone know? thanks in advance A ...more >>

scrollbar
Posted by paulr1984 at 6/24/2004 3:13:03 PM
hi! I have a dynamic textfield(with a scrollbar) that I attach strings to every so often. When it gets too long, it starts to scroll. How do I make it scroll to the bottom everytime I append a string? Like when you're using a chat client. It automatically scrolls down to the bottom so ...more >>

Access Variable Declared In Function?
Posted by trackfive at 6/24/2004 2:35:22 PM
I'm trying to use a variable declared inside a function and I'm having some trouble. Here is my code... data = new LoadVars(); data.load("../_workdata/count.txt"); data.onLoad = function(success) { x = this.count; }; for (i=1; i<=x; i++) { current = "n"+i; loadMovie("../_workd...more >>

Mouse Follow: Stand STILL!!!
Posted by akawoody at 6/24/2004 2:30:36 PM
I am using the following code: onClipEvent (load) { _x = 78; _y = 163; speed = 5; } onClipEvent (enterFrame) { endX = _root._xmouse; endY = _root._ymouse; _x += (endX-_x)/speed; _y += (endY-_y)/speed; } My issue is this: I want the movie clip image (instance name: Check) ...more >>

button help!
Posted by leindl at 6/24/2004 2:26:01 PM
I am desprately trying to add actions to some buttons. I want to be allow the user to go from the home page to another page and so on, using scenes. I have tried on (release) { gotoAndPlay("home",1);} and nothing works. Or, if it does work it goes back to the first frame of the current scen...more >>

actionscript and buttons
Posted by bchoffman at 6/24/2004 1:39:11 PM
i am trying to create buttons that take the user to various places within the movie by using Actionscript but for some reason it does not seem to work; here is an example used to return to the "home" scene when the button (called JC_button or JCB) is clicked: on (release) { JCB.onPress ...more >>

Help with onCllipEvent(KeyDown) event
Posted by Keith B at 6/24/2004 1:37:35 PM
The following lines of code are from one of the FlashMX 2004 Help examples: onClipEvent(keyDown) { // actionscript } When I put this code into the first fraome of a movie clip and check syntx, I get a message saying: "**Error** Symbol=NavMC, layer=code, frame=1:Line 12: Clip events are...more >>

Tryin to do a http post
Posted by Benjamin Bittner at 6/24/2004 12:59:20 PM
hi ng, im tryin to implement a "send to a friend" functionality. my swf has only one frame, so i added a new layer called "email", and a second frame. a button on the first frame, directs the movie to frame2, which hides all layers, except the layer "email". some textboxes and a button are on th...more >>

DataHolder in AS2.0: A Simple Question
Posted by K B at 6/24/2004 12:54:24 PM
Ok, I've created an DataHolder object instance named dhData. It has a schema set up like: <-> data:Object .....<->id:Number .....<->name:String .....<->value:String And a text field is bound to the value of id, whose default value is 1. Binding is working just how I wanted it. But ...more >>

The class 'Number' could not be loaded!!!
Posted by sobluesky at 6/24/2004 12:01:07 PM
I can't understand this, I changed the class path to a absolute path, remove the other path, and compile an old .fla, flash mx pro continue telling me: The class 'Number' could not be loaded!, I'm so sure of the Number.as that I replace it with the original one from flash home dir. anyone ...more >>

How to add a VAR into a getUrl text??????
Posted by sanjoleja at 6/24/2004 11:59:03 AM
Hello friends, I have a little problem using a comboBox. When I select one of its labels, my browser opens an URL in a new window. The URL text is in the DATA corresponding to that LABEL. It all works perfect with this simple code: function fun() { getURL(comboname.getSelectedItem().data, "...more >>

creating an .exe from a .swf
Posted by Kev P at 6/24/2004 11:39:39 AM
Does anyone know how i can create an executable application from my swf file....more >>

swapdepths
Posted by fullyarmed at 6/24/2004 10:25:58 AM
Evening all, I've searched the Google groups with no joy... I have multiple movieclips moving around the screen over an isometric grid. Each grid square has a unique number and when a movieclip passes over it the clip has it's depth swapped to the number of that square. This creates (fakes...more >>

Array methods, how to do somethings?
Posted by pijus at 6/24/2004 9:49:29 AM
How can I delete one array item? For example: cadena = new Array(22,34,54,12,34); I want to delete cadena[3] And also, how can I calculate cadena[0]+cadena[1]+cadena[2] using a "for" expresion? ...more >>

Passing color info to beginGradientFill
Posted by Nacional_VI at 6/24/2004 8:48:50 AM
I have a problem with beginGradientFill which some others seem to be having but I can't seem to find any solutions. Problem is this: If I create a gradient fill using hard-coded colours, gradient works well. If I send the colours in a variable, the fill is always black. Hard coded: ...more >>

I am stuck: plz help
Posted by xsder at 6/24/2004 8:47:42 AM
I want to create a sliding strip in which you have 2 buttons: next and back I want on next to play th emovie clip until the next stop frame and on back to reverse the movement. Plz help I need the solution urgently. ...more >>

Combo box - dinamic dataprovider problem
Posted by IvanStudioAG at 6/24/2004 8:32:21 AM
I would want to create dataprovider dynamic a member combobox. >>(example online: www.studioag.net/cartina) The first one combox "regioni" it must pass onchange() to combobox "province" the carried out choice. The contents in the combo are a Array. The problem that I do not succeed to...more >>

Loadin variables from text
Posted by Antoshka at 6/24/2004 8:07:06 AM
Hi everybody, I'm stuck with one little stupid thing. I have a text file with some variables in there, it looks like this: &var1=coke.gif&var2=pepsi.jpg&var3=sprite.jpg& Now when I load these variables into flash file, I want to load images corresponding to the variables. E.g. I want to lo...more >>

popup window embed in flash
Posted by Kamdy at 6/24/2004 7:00:09 AM
Pls help: Could you pls help how can I embed a popup window in flash? Like when I click a button, it popup a small window in center to ask me "Quit" the program or "Continue"? Thank you very much for your help! ...more >>

within on/onClipEvent handler
Posted by anAnge|io at 6/24/2004 6:52:48 AM
Heya, im always encountering this error : "Statement must appear within on/onClipEvent handler" and it really kills me because i can't figure out what is it, and how do i go about or make use of it. >.< Could anyone gimme a hand? Thanks. ...more >>

Simple variables question
Posted by trackfive at 6/24/2004 4:20:17 AM
Hi, I have a text file named "count.txt" whose contents reads: count=8 And I want to read that number into a variable in my flash project, which I'm trying to do as such... var count = loadVariables("../_workdata/count.txt", this); But its not working. The path to the file is corre...more >>

Disabling wth actionscript
Posted by anAnge|io at 6/24/2004 4:11:25 AM
Ok, i've disabled a particular button and made its alpha=0; so the user can't interact with it. But when i place another different button OVER that previous button (in my case, when i load in another movie with a button at the same spot), the loaded button becomes less responsive due to the ...more >>

Flash and AICC Tracking
Posted by Kamdy at 6/24/2004 3:48:32 AM
Could you pls help. Anyone know how to set the coding to tracks all pages visited at the end of the flash file and can tell the user they have finished the program? For example: http://aicc.org/pages/aicc_sl.htm but I need some info for flash. Thank you very much!! ...more >>

rollover button scrolling text
Posted by com_craze at 6/24/2004 2:08:10 AM
I want to create a scrollbar with an automatic rollover button. What i mean is that when the mouse pointer is on the button, i want the text to scroll, without clicking the button. I also want to have an invisible bar for my scroll. can ayone help me? ...more >>

skinning flash mx 2004 components
Posted by Michael Voeller at 6/24/2004 1:41:04 AM
I saw a tutorial on changing the basic style of the components but I need to get in a change the actual source art for them. In flash mx it was easy, but with 2004 those things are sealed up tighter then a dolphin's ass. Can anyone point me in the general direction of a tutorial showing how to ...more >>

ataching scripts to clips problem
Posted by Michael Voeller at 6/24/2004 12:48:09 AM
here is a piece of code that is in a movieclip called "pics". What it does is ataches another movieclip to itself, adds an onrelease function to it and then loads an image into it. So far at ataches, and loads the jpeg but I can't get it to act as a clickable movieclip. I had it working before...more >>

defining an element in an array with a variable
Posted by coreyem at 6/24/2004 12:45:11 AM
I know this has to be easy, I want to define the value of an element in an array by passing it a variable, but can't figure out how to do it. Here's my code example: In this example, on line 9 the "_y" element of this array is assigned a value of "-20", instead of hard-coding a value in he...more >>

targetPath
Posted by anAnge|io at 6/24/2004 12:44:02 AM
Hey there, How does the targetPath work? can anyone help? I'm actually trying to put actionscipt into a MC of the main timeline that is suposed to cause another MC of a different movie clip to react. Under main movie, <MC_name>.gotoAndPlay("label_name"); then MC_name that is in a lo...more >>


DevelopmentNow Blog