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

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

MakingThings, Site of the Day, and physical comp
Posted by Michael Shiloh at 6/17/2004 10:29:24 PM
Hi, My name is Michael Shiloh and I'm the VP of Engineering at MakingThings. Our site was honored ye...more >>


?IS THIS A BOOK?
Posted by cabp ms at 6/17/2004 9:57:13 PM
Hi all, i added this code in my mc to build my own context menu, the problem is this: when the heigth of mc is 136 pixels or less the "SETTINGS" item in context menu is disabled!!! That's what I want!!! but when the heigth of mc is 137 or more pixels it is enabled again, i don't use any comman...more >>

Server script debug
Posted by keith brickey at 6/17/2004 9:46:59 PM
I saw a property in IIs for enabling server side script debugging. Can someone explain how to use this feature? Thanks, Keith ...more >>

special Characters in Dynamic Text Fields
Posted by becomingLucid at 6/17/2004 9:28:37 PM
Thank you in advance for any help you may be able to give. I am loading text to a dynamic text field and the percent signs are not showing [%$@!%$ which would display as @!] Any suggestions or escape characters would be great! Plus this text can NOT be html formatted. thx. ...more >>

Automatically load first image in Gallery..
Posted by Chris Grande at 6/17/2004 8:26:42 PM
I have this gallery that is powered by a Image Gallery script from the Exchange, I've gotten it tweaked and working the way I want, but the client wants the first image to automatically load. I can't seem to figure out how to do it? I really need this to work... thanks! Check it out at: http...more >>

pausing sound
Posted by MamboQueen at 6/17/2004 8:22:39 PM
Hi, all. I am working on a Flash tutorial that has a narration track. I want the user to be able to "pause" the presentation and then restart from the pause point. It's easy enough to make a button that will stop the movie and another button that will restart it, but how do I pause the *sou...more >>

Key Events In Actionscript
Posted by BrendanCCAC at 6/17/2004 8:17:06 PM
Does anyone know how the key events work in actionscript? I want to play a movie clip when someone presses (or holds down) a key on the keyboard. But I'm not quite sure how to do it. I've seen this... on(keyPress "<Enter>") But it doesn't seem to be meant for what I'm talking about. Any...more >>

interleaving layers of multi layer objects
Posted by xyz123 at 6/17/2004 8:07:54 PM
Hello, Given: object_1: 2 layers object_2: 2 layers Both movable objects, just squares for the occasion of this question, positioned on the stage. When I move object_1 partly over object_2 I do want layer "1" of object_1 to be over layer "1" of object_2 AND also layer "2" of object...more >>



Movie clip script help
Posted by tlbeek at 6/17/2004 7:27:25 PM
I've created a movie clip animation for the advertisement and have an invisible button to trigger the loadMovieNum script which works fine. I want the animation to stop after the user clicks on it though. What's wrong with the code? on (release) { loadMovieNum("LaurasShow.swf", 1); v...more >>

textbox glow...HELP!!
Posted by kjwinkler at 6/17/2004 6:52:47 PM
Please help us. We are trying to get a textbox to glow when clicked on (like how macromedia.com has on their search box). We've got it working somewhat when you keydown, but we want it to work when you click on the box (just like macromedia's does). I've attached the document below. Please...more >>

Clip Centering
Posted by DieFrohKartoffel at 6/17/2004 6:18:17 PM
Hey all - Thanks for the help in advance! I have a movie clip on the stage and I need it centered. I have already set the stage's scale to noScale and the alignment to T, however, when I script, only the y coord comes up centered. //get stage dimensions stageWidth = Stage.width; ...more >>

Event Handlers
Posted by Patrick Geiger at 6/17/2004 6:18:13 PM
I'm building a flash form-based application. I am attempting to use event handlers in a form screen subclass (i'm new to this). I have a group of button components that are responding properly to a click action - but I also need to distinguish between which button has been clicked to perform a c...more >>

Looping through array glitch
Posted by jblack at 6/17/2004 5:50:25 PM
I'm dynamically creating a dropdown menu with list items created from an array. Each list item is generated and positioned correctly when the movie plays. However, when it comes to adding the URL to each list item, only the last item in the array is used. This is especially puzzling since th...more >>

High Scores
Posted by Gionex at 6/17/2004 5:12:32 PM
Hi I was wondering, how would I make a highscores screen that stores the top 20 results in order. And also be able to be viewed in flash. Thanks for reading, hope you understand, and hope you answer! :) Dan ...more >>

Masking and JPGs
Posted by KnyteHawkk at 6/17/2004 5:00:01 PM
Here's my problem: My company is making a "room designer" for a client. Part of the spec allows the client to upload new images to be placed in the room, in JPG format. Loading and placing the JPGs is no problem however, they are all white-box encased. No problem, we can just use masks to...more >>

Aattach dynamic MC in ScrollPane Component
Posted by macromedia tutor at 6/17/2004 4:52:39 PM
Hello team, Is there any simple way that I can place my dynamically generated movie clips into my scroll pane component...? if so, please suggest me. I"ve already written a for loop for it, but it is displaying only last loop movieclip into the scroll pane. thanks in advance for U r i...more >>

menuBar Sub menu?
Posted by iowaGuy at 6/17/2004 3:44:59 PM
I am working with the menuBar UI Component in Flash MX2004. I am having troubles getting the action script for sub menu's to work. Here is the actionscript i am working with now: var optionsMenu = myMenuBar.addMenu ( "Mike" ); optionsMenu.addMenuItem({label: "Bike", type: "bike", instan...more >>

Help: Sharedobject
Posted by rashh at 6/17/2004 3:23:51 PM
Hello, I am using a sharedobject reader from http://www.sephiroth.it/python/solreader.php. I downloaded the player and it reads my sol files properly. But if I try to use the source code from the site http://www.sephiroth.it/include/SolReader.phps, then it gives error for some particular v...more >>

flash error
Posted by jfb00 at 6/17/2004 3:05:32 PM
Hi, I have two days trying to find out this problem. 256 levels of recursion were exceeded in one action list. This is probably an infinite loop. I'm calling a MX movie usign this code. this.createEmptyMovieClip("myDocMovieClip_mc",this.getNextHighestDepth()); myDocMovieClip_mc.loadM...more >>

Calculator questions....
Posted by rump888 at 6/17/2004 2:36:22 PM
Hello. I'm making a basic calculator for my company. It takes a dollar field, multiplies it by a percentage field, and then outputs the result as a dollar amount in a final field (i.e. - user inputs $100,000 in field 1, user inputs 2.0% in field 2, user hits a "calculate" button and $2,000 p...more >>

cursor flashes over button within MovieClip
Posted by 1jes11 at 6/17/2004 2:33:18 PM
I have a button within a movie clip. When I test the movie, teh cursor flashes from pointer to hand when over button. Why? ...more >>

Problems using indexOf
Posted by medialesson at 6/17/2004 2:30:47 PM
Hi there! I have problems using indexOf. I wrote the following script to test how indexOf works: SSR = "12345 xxx" SSA = "test test test"; if (SSR.indexof(SSA) != -1) { trace("Found!!"); } else { trace("No Entry!"); But when I run this example I get back: "Found!".... ??...more >>

passing a variable from Flash to ASP
Posted by Touch Interactive at 6/17/2004 2:30:40 PM
I have been attempting to pass a variable value from a Flash movie to the ASP page that the Flash movie is on. I have been successful in that once I refresh the page to itself, the variable is received by the ASP code. The problem is that it always opens in a new browser window instead of the ...more >>

load move parts not visiable
Posted by mfunk at 6/17/2004 2:22:29 PM
hello all, I am loading a swf file into a flash movie but for some reason if I load it into a target movie using _root.pholder (pholder being my instance name) part of the movie does not load. but if I load the same movie into a level the whole thing is visiable. whats the deal? -marc ...more >>

textFormat.url problem
Posted by dougwo at 6/17/2004 2:04:27 PM
I cannot get .url towork with text format. Does the text have to be htmlText or will url override? The behavior I get is I can see the text but it is not clickable. Does someone know a link to an example of creating text and having it linkable? ...more >>

communicating between levels
Posted by Jagadish Kumar at 6/17/2004 2:02:33 PM
Hi, I have a problem in communicating between levels in my flash movie. It has got two levels.On _level0 is the steps.swf, containing a movieclip with labelled steps. On _level2 is sound.swf, containing a movieclip which is a sound object with streaming voiceover, with volume controls. Now...more >>

exe to open an external folder?
Posted by Knewt at 6/17/2004 1:36:46 PM
Hi all, I have a flash (exe) file with a button that I would like to open an external folder. Can any one please tell me how this is done? Many thanks in advance. Newton...more >>

Whats the opposite to createTextField
Posted by privatenews.microsoft.com at 6/17/2004 1:28:39 PM
I have created a cple of textfields that are not required after use, whats the delete function?? Im cleaning up to move to a new frame, and in consideration for memory overhead have gotten rid of most of the objects and vaiables but cannot remove two dynamically created text fields, they are i...more >>

check currentframe MC
Posted by Branching at 6/17/2004 1:02:43 PM
I have 3 mcs, I need to check if the current frame of one mc is at frame 2, if yes then send the other two to frame 1. thanks. ...more >>

while loop script crashing flash player
Posted by lunadog at 6/17/2004 1:01:37 PM
Hi, Ive had a look at some previous posts and seen answers btu have been unable to implement them. code Ive got is here: chosenData = new Array(5); test = chosenData.toString(); this.onEnterFrame = function() { while (test.indexOf("undefined")>=0) { i=0; chosenData =...more >>

Swf to director
Posted by biboune at 6/17/2004 12:33:13 PM
Hi, I am working on a project in director including SWFs. I made a simple function that send variables from the swf to director. It works for 2 variables, but as soon as I want to send 3 variables flash tells me it does not work because I have to choose between post and get...... Here is...more >>

MenuBar Help!!
Posted by T8DESIGN at 6/17/2004 12:26:05 PM
Hey I am still kind of a rookie in Flash and I am having problems with changing the menuBar color... I can change the drop down boxes back ground and the font by using: myMenuBar.setStyle("backgroundColor","0x6699FF"); myMenuBar.setStyle("color","0x0000CC"); but i can't change the def...more >>

Trapping F3 and F5 keys
Posted by trapkeys at 6/17/2004 11:33:15 AM
Hi, I would like to trap F3(search) and F5(refresh) keys for web browser application. This is a sensitive application so we do not want for example F5 key to undo all the work done or F3 to mess up the layout. Is there a way to trap these keys from action script when the flash movie is focused...more >>

MX04 and MX code conflict?
Posted by voxel at 6/17/2004 11:32:54 AM
I have a load of code written in MX and all works fine. When i open the file in MX04 and the publish setting are set on flash player 6 it all works fine but when i set it to flash player 7 a big old chunk of the code don't work. As far as I was aware anything authored in 6 should be fine in 7 ...more >>

sound volume
Posted by id_42 at 6/17/2004 11:07:50 AM
Good day, I have a movie that has 2 sound effects. One for a button over and on for a button down. The problem is I can't give each sound a separate volume setting. I am controlling each sound as follows: this.slide = new Sound (this); this.slide.attachSound ("slide2.wav"); this.slide....more >>

What is an Actionscript?
Posted by Pro Fools at 6/17/2004 9:20:42 AM
Sounds like some form of code... It is like HTML or PHP? Do I need to know actionscript to make simple Flash buttons and splash pages?...more >>

ComboBox Problem
Posted by delella at 6/17/2004 9:18:34 AM
Okay, I need to say a few things first...could someone please rewrite this component to work for flash mx 2004 because the component that is part of the Flash Component UI set does not work. Next, the problem I am having with the component is as follows. I am using an email form in a fl...more >>

disabling the enter key
Posted by dubya at 6/17/2004 8:49:27 AM
hey everybody! i got me some input text fields in a movie. i don't want to allow users to use the enter/return key to create carriage returns. essentially, i want to completely disable the enter/return key. i'm trying listeners to no effect. any suggestions? rtf. ...more >>

pause dynamically loaded MP3?
Posted by atticusisrad at 6/17/2004 7:53:11 AM
hi all, this may seem a silly question, but is it at all possible to pause a dynamically loaded MP3? thanks. ...more >>

Dynamic switching of buttons on and off
Posted by nickedname at 6/17/2004 7:47:27 AM
Hi, I have a movie which contains 500 buttons, named 'b1,b2,b3...b500' (each of them are shaped differently so they can't be created dynamically). Each of them need to be switched on or off, so I'm trying to tell which of the 500 buttons is switched on or off so that I can apply a fade up ...more >>

Macintosh problem. Please help !
Posted by ovioros at 6/17/2004 7:45:16 AM
Hello, I a have a problem and I really need help. I`m using to keep open a submenu when the page is refhreshing this : menu.swf?page=info Only the menu is in flash, and is working very well for PC but the submenu is not openning for MAC users. Any clue ? Please adivice ! ...more >>

Help with Photogallery - Arrays & comboBox compo.
Posted by cnetech at 6/17/2004 6:40:53 AM
Find attached a Photo Gallery I created. This photogallery reads in an external text file that does the following: Creates several arrays that do the following: - An Array of category names for the comboBox to display - An Array of data names for the comboBox - An Array of pictures to d...more >>

file upload
Posted by maulia at 6/17/2004 5:35:08 AM
Any other solutions available besides using: YamzBrowser and FlashCFM.com file uploading? (they don't work very well in my system - and I'm using JSP at the moment with Flash)...more >>

Help ~ Syntax problem- ...movieClip[i]
Posted by GmR at 6/17/2004 5:19:43 AM
I'm having a simple syntac problem. Can anyone tell me the problem: I have 4 movieClips with the names MC1, MC2, MC3,MC4. I am trying to load external movies in to them like this: for (var i = 1; i<5; i++) { _root.MC.loadMovie("flash"+i+".swf"); } I think the problem is wit...more >>

Input text & setSelection
Posted by tweetysat2001 NO[at]SPAM yahoo.com at 6/17/2004 5:08:01 AM
Hi everybody. Can someone help me to solve this problem : [USING FLASH5] For doing simple : - an input text named 'test1' - an action script like this : on (keyPress "x") { _root.test1 = "123456789"; } - the user enter 'abcd' in the text box - the user press 'x' - the text bo...more >>

retrieving value from array
Posted by DarkRide at 6/17/2004 4:58:08 AM
I have a global array that I need to compare with a button instance. Currently I am attempting to do it this way: if(_global.arrWrong[2] == wrong1_btn){ yAnswer_txt.text = "MEX Q5.00"; cAnswer_txt.text = "20.29XD"; trace("Your Answer is " + yAnswer_txt.text); trace("Correct Answe...more >>

Stop the looping!
Posted by Thaidog at 6/17/2004 3:11:02 AM
I'm trying to get my movies to stop... but they just keep looping... I'm creating graphic for the library that are animated with tweens... but they just keep looping over and over... how do I stop them? ...more >>

Accessing Movie Clip Widths?
Posted by THE REALTOR at 6/17/2004 2:59:53 AM
Is it possible to access a movie clip's width parameter from action script? I'm a experienced programmer, but new to Flash. I am creating my first project for use on the web. I have a photograph that was turned into a movie clip, with an instance named pan_1. This was placed in the first frame...more >>

fwd button
Posted by sitiza at 6/17/2004 2:43:51 AM
need help. i have a problem on how to set a button to move 10 (or maybe more) frames forward..it kinda fast forward button. if we are using the normal scripting it'll move only 1 frame forward... btn_fwd.onPress=function(){ _root.my_clip.nextFrame(); ...more >>

LoadMovie() and _visible
Posted by thierrypoitras at 6/17/2004 2:02:35 AM
Hi, I am trying this simple code on frame 1 of a movie: _root.createEmptyMovieClip("loader", 2); _root.loader.loadMovie("animsequence.swf"); _root.loader._visible = false; The movie loads, but it doesn't it is still visible. Know why? Thanks! ...more >>

Help with loading a swf into a movieClip target
Posted by cnetech at 6/17/2004 1:07:03 AM
I have a tricky one here.......... Attached you will find the files I am working on Here is what each file does...... Main 3.fla represents the main website I am designing.......... Upon entering (following an example from Kirupa's website - http://www.kirupa.com/developer/mx/preloader...more >>


DevelopmentNow Blog