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 > march 2005 > threads for monday march 7

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 31

Constand "if()" check
Posted by eXcessive at 3/7/2005 10:32:52 PM
I am trying to program a bomb explosion, and if (a cricle MC inside the explosion mc animation hitTests EnemyOne_mc) to {set the variable _root.hit to true} ---- Then on the enemy part, I try to get the onClipEvent(enterFrame){ if (_root.hit == true) {strength -= 5}} to cons...more >>


*URGENT* fscommand to launch exe
Posted by redl3tt3r at 3/7/2005 10:24:11 PM
Greetings Everyone, I am trying to execute an external exe from a flash movie running in a web browser; it is for a training program we are developing. I have been using: on (release) { fscommand ("exec", "sun.exe"); } But I have come to the conclusion that that only works f...more >>

Component Loading Problem
Posted by BigPhatSkier at 3/7/2005 9:57:25 PM
I am using a few components in an application that I am building, and I noticed that Flash exports the all of the components in the first frame making it around 80k. (Even when, in the linkage for each component I have unchecked 'Export in First Frame') The problem with this is that Flash do...more >>

Flashpaper/Menu/Menubar Problem
Posted by jfillman at 3/7/2005 9:42:57 PM
When I insert CODE 1 into a Flash Form Application (Flash MX 2004), it causes the menubar component in CODE 2 (Scroll down) not to work. The menu and the menuItems (Sub-menus) display, but the click event on the menuItems does nothing when CODE 1 is contained anywhere in the Flash Form Applica...more >>

Help me please with the code
Posted by Malig at 3/7/2005 9:16:25 PM
Hi, There are 4 pictures and 2 arrows: back and forward. For each presing on the forward arrow the pictures changes once, forword. same, but backword with the backword arrow. Can you help me with this? Many thanks, Mali ...more >>

Best practices - MySQL, PHP and Flash
Posted by foxchick at 3/7/2005 8:39:24 PM
Hello all - I'm writing a flash app that will give the user several dropdown/scrolling lists to select items from, then return a list of matching items. All the lists are to be data driven, and selections will also come from a database. All using MySQL/PHP/Flash technology. Researching...more >>

Retrieve the files name to use as a variable
Posted by cimsoc at 3/7/2005 8:35:20 PM
Hi, does anybody knows how to retrieve the filename of the current movie? I want to send it as a variable value in a loadandsend event, but I cant find the property, is it possible in first place? Thx for support. ...more >>

if problems, need help..
Posted by al at 3/7/2005 8:13:05 PM
user20 and user1 both contains the number: 90 (user1 retrieved from txt file, user20 retrieved from another txt file..) But the result of the trace action still return false..and the movie goes to frame 35.. Any good ideas ?? if (user20 == user1) { gotoAndPlay(17); } else { gotoAndPla...more >>



ScrollPane Sub-Component Names
Posted by gjiroux at 3/7/2005 8:08:08 PM
I need to effect the sub components of an MX2004 ScrollPane... I was hoping to find the width of the horizontal scrollbar's width and adjust (offset) the hPosition based on that number... something like: ScrollPane.hScrollBar.Slider._width Does anyone know the names of the sub-components...more >>

need to load XML data into a List Component with a twist
Posted by Mark.P. at 3/7/2005 7:52:09 PM
I'm using the XMLConnector to load info from an XML doc into a List Component. The basic structure of the XML is below. I need to load each level_1 into the List Component with it's name that I have as an atribute, then on clicking it in the list you get some values stored in Level_2 in a...more >>

pass variables with loadmovie
Posted by nick81 at 3/7/2005 7:33:41 PM
Hello all, I am trying to pass variables to a movie loaded using 'loadmovie'. The actionscript dictionary gives me the following: loadMovie( " url ", level / target [ , variables ]) but this doesnt actually tell me how to pass the varaibles, but just define the sending method GE...more >>

Dynamic text
Posted by flashForum at 3/7/2005 7:26:36 PM
I have a Fonts For Flash font that I am using. My navigation buttons have static text, and they populate a dynamic text box once pressed. The dynamic box prints the text much smaller than the static buttons. Anything I can do? ...more >>

XML CONNECTOR AFTER FIRST FRAME
Posted by Dan-C at 3/7/2005 6:27:22 PM
Hello. I'm trying to use an XML Connector after the 1st frame of my movie. I have no problem using other components this way. I set the exporting of classes to the 5th frame, and I'm using the XML connector in the 10th frame, but it only seems to work if it's in the first frame with classes ...more >>

Randomized frames help - have the basic code...
Posted by Dazzlegas at 3/7/2005 6:17:45 PM
I found this nice code/file over at Senecular, but I need some help modifying it. I really dig the functionality (transitions between mcs/the timer/easy to add more frames to the main mc), but would like it to randomize the playback. ); var fadeArgs = FadeSequenceInit(sequence_mc, 50,...more >>

LOADER COMPONENT Problems
Posted by supnabor at 3/7/2005 5:56:33 PM
I have a big problem with Loader component. The component works well BUT when I try to use getNextHighestDepth() this function returns 1048576. What is going on? I just made a new empty FLA file, put there a Loader component and typed very simple trace in action script panel: trace(getNext...more >>

Bug?? 0040 is NOT 32
Posted by sneakyimp at 3/7/2005 5:49:23 PM
open a new flash document. paste this actionscript in the first frame and run it: trace(Number('0040')); it outputs 32. WHAT IS THAT ALL ABOUT?...more >>

Action Script Bug?? 0040 is NOT 32
Posted by sneakyimp at 3/7/2005 5:49:08 PM
open a new flash document. paste this actionscript in the first frame and run it: trace(Number('0040')); it outputs 32. WHAT IS THAT ALL ABOUT?...more >>

Download File Folders
Posted by ghams at 3/7/2005 5:48:58 PM
Hi Macromedia Support Forum People, I'm at the basic level of actionscripting and using Flash MX. I want to be able to download a file folder that has multiple Word, PDFs, and other small Documents. I had been using the 'Get URL' command to open individual files, but how do you do a whole ...more >>

Progress thru swfs
Posted by ScottDin at 3/7/2005 5:46:39 PM
What is the best way to graphically show a user how far thru a swf file they are? I make tutorials and such and would like to know how to go about adding an indicator that shows how close to the end of the tutorial a user is. ...more >>

start preloader after first frame
Posted by CanonBoy at 3/7/2005 4:38:40 PM
If I want a static graphic onscreen while a small animated loading bar fills, how can I get the static image to show up like the bar? The problem is that the typical preloaders use a method that looks at the overall movie for it's calculations. I basically want the first frame of stuff t...more >>

Button problem
Posted by Z81 at 3/7/2005 4:34:27 PM
I have got 2 objects with animation of 4 frames. I've already grouped those objects and converted them into a button-symbol. What do I need to do in order to have an animated button which is invisible until mouse cursor's on it? I've seen examples of something similar to this and I noticed th...more >>

._alpha help w/ regaurds to it's functionality with a preloader?
Posted by VisionsIC at 3/7/2005 3:27:46 PM
Hi EveryOne, I'm having a heck of a time trying to figure out how to create the proper Actionscript code that will control the Alpha Transparency of a MC I want as a preloader. I want the MC to start of at 100% alpha-transparency, and then decrease to 0% alpha-transparency when the whole Scen...more >>

Flash Header Link to Query
Posted by Brian Dusablon at 3/7/2005 3:14:32 PM
I have a flash header with a button that needs to link to: "page.htm?zoom_query=alert&zoom_sort=1&zoom_cat=0" Now, a basic getURL link to this works online, but not offline. I know something to do with loadVars here. Do I need to change my html page or my flash, or both? Here is my current ...more >>

Could I load in external swf's with preloaders before it?
Posted by Rob_jones732000 at 3/7/2005 3:09:07 PM
My game is running a bit slow the further you get, and apparently i cant just put preloaders between each scene. Would loading in external swf's work or will it cause the script to fail. Here's an example of the script for 1 room (scene): bed2._visible = false; wardrobe2._visible = false f...more >>

load multiple "Consecutive" movies?
Posted by j183 at 3/7/2005 2:46:52 PM
Hi All, I have an array of movie names and trying to loop through it and play one movie after another (in order of where it is in the array). This is the loop where I'm having problems: while (loopcounter < moviesTotal) { loadMovieNum(moviesArray[loopco...more >>

Passing contents from html to flash
Posted by _bigR at 3/7/2005 2:40:24 PM
hi I just want to spent to variable contents from HTML to Flash I had used the code " <param name="movie" value="test2.swf?nam=Terry and Mitzhielle && sound=Sound2.mp3"> <param name="quality" value="high"> <embed src="test2.swf?sound=Sound2.mp3 && nam=Terry and Mitzhielle" quality...more >>

Newbie: Needs help...
Posted by slok at 3/7/2005 2:25:31 PM
A test program I wrote which acts weird after I start to draw on top of an image in the viewer and then when I press either btn1 or btn2 or btn3. It starts to give me an error saying the script is running slow and I have to abort it. My intention is to click an image on the left side (thumbnai...more >>

Scene to Scene
Posted by ics2s3b at 3/7/2005 2:21:23 PM
I've hit a brick wall - although it sounds incredibly easy, I just seem to mess it up each time though - Anyway, in my 1st scene, I have it stopping at around frame 30, with a button i want to link to the second scene, but it never does anything! Have tried sifting through the Technotes, ...more >>

Different behaviour in exe and in dev?
Posted by marinich at 3/7/2005 1:35:12 PM
Hi - Has anyone seen this? My project runs fine in the Flash MX 2004 7.2 development environment, and differently as a projector. If I create an swf and drop it in the browser it runs fine, although slower. I'm showing a series of external swfs via loadMovie(), and playing one mp3 wit...more >>

Masking empty movieclip which contain external movie
Posted by highlander_1 at 3/7/2005 12:49:14 PM
I?m loading a external "myExternalMovie.swf" in a emptyclip. How do make a tweening mask which masking the empty movieclip in "myMainMovie.swf" which hold the emptymovieclip. I?ve got no problem to create the tweening mask but great problem to make it masking the "myExternalMovie.swf" ...more >>

Masking empty movieclip which contain external movie
Posted by highlander_1 at 3/7/2005 12:49:12 PM
I?m loading a external "myExternalMovie.swf" in a emptyclip. How do make a tweening mask which masking the empty movieclip in "myMainMovie.swf" which hold the emptymovieclip. I?ve got no problem to create the tweening mask but great problem to make it masking the "myExternalMovie.swf" ...more >>

Listing all components in a flash document through ActionScript
Posted by shatan at 3/7/2005 12:41:11 PM
Hi guys, I've been trying this for long, but could not do it. Can anyone here tell me a way to find out the list of all components in a flash document through ActionScript. e.g. Let's say I create a flash document called myDoc.fla which contains a few textboxes, buttons, listboxes and ...more >>

fscommand("exe","path")
Posted by DANGH_b at 3/7/2005 12:37:26 PM
Hello. I want to make a button that runs an exe. If i put the exe in the fscommand folder made in the movie path it works. I want to put the exe in another folder than 'fscommand' or make a folder in the 'fscommand' folder and put the exe in it. How can i run the exe from a subfolder of 'fsco...more >>

Uploading Text From HTTP Location
Posted by Domenico Lombardo at 3/7/2005 12:26:47 PM
I've used loadVariablesNum("C:\\companyName.txt", 0); to upload text from a local file into a dynamic text box. However - I would like to do the same only from an http location (a share price ticker which is a text file). I tried loadVariablesNum("http://www.website.co.uk/textfile.txt", 0);...more >>

disabling flash's tabbing capabilities:
Posted by dubya at 3/7/2005 12:25:04 PM
hey everybody, thanks for reading. :) i'm developing a RIA that uses my own button class. i need to create tabbing functionality to move around the buttons via the keyboard. now i find flash embedded tab functionality a bit patchy to be honest. i think it could be more robust. so i'm planni...more >>

LOCAL CONNECTION
Posted by N3m3s1s at 3/7/2005 10:21:33 AM
HI ALL......guy's. Everyone can help me? Simply I have a question about LOCAL CONNECTION Tecnology. I think that a local connection if used right, can simply a life or about problem. Now, I have this movie, http://dgmodel.games.it/dario/sample.swf, this is a simply game that we can se...more >>

removeMovieClip() not working
Posted by pixlart at 3/7/2005 9:21:58 AM
I'm having all sorts of trouble with something that should seemingly be very simple. I've tried many variations, but for some reason removeMovieClip() never seems to work. Anyone have any ideas what I am doing wrong? I'm trying to determine what movie clip a user is selecting when they pre...more >>

rgb to hsb?
Posted by reuv at 3/7/2005 8:54:19 AM
i need to convert rgb color code to hsb color code and vice versa. Is it a way or formula to calculate this?...more >>

How can I Scroll Text within a movieclip?
Posted by sickness_in_me at 3/7/2005 7:08:24 AM
Hi All, I have created an opening animation for a website I'm doing. My text is masked and it sits within a movieclip. Is there a way I can make my text scroll up or down? or is it a better option to clear the last frame of the movie clip and put the text directly on the stage and add it's s...more >>

Autosize external swf
Posted by chen_ping at 3/7/2005 6:39:00 AM
Hi all, i need a small help. I manged to load an external swf onto my current swf with the following script : loadMovie("manual.swf", "a"); But the problem is, my main swf is 800x600 while the external swf is far samller in size(thus while loaded onto the main swf the external one d...more >>

Looking for a Flash form that emails the variables to me
Posted by Alliancepaintball at 3/7/2005 5:34:57 AM
OK, so what I'm looking for is a flash form where I can add several letter boxes that people can fill in, and then press a submit butten that emails me what they filled in. If any of you have something like this, or know where I can get it, I would appreciate it. Or if you tell me how to ...more >>

send text message to phone
Posted by BOSTONCIW at 3/7/2005 3:48:27 AM
anyone know how to send text message to cellular phone through flash...more >>

create a form movie by onrollover event from another movie
Posted by coolbean at 3/7/2005 1:40:21 AM
hello, i have a movie generated dynamically. i defined the onRollOver function to generate another movie of same size and position on top of the generating movie. This new movie is a form which takes user input from keyboard eg text. i need to have this second window gone when i RollOut of t...more >>

get URL not working
Posted by firewiredartist at 3/7/2005 1:15:10 AM
using get URL () action script for button down doesn't seem to open URL in browser... what am I missing ? ...more >>


DevelopmentNow Blog