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 > december 2004 > threads for wednesday december 22

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

Text in dynamic txt fields
Posted by Luka at 12/22/2004 11:32:11 PM
What will happen if i set my dynamic text field to display text in Trebuschet font (dynamic field's font type), and the user who is viewing the movie doesn't have Trebuschet installed on his system? Will the flash replace that font with similar family font, like Arial, or it will do something el...more >>


mc button problem
Posted by rollerblast.co.uk at 12/22/2004 10:17:52 PM
I am trying to make a movie clip button that lights up when u hover over it and slowly fades when u hover of it again. I found this can be done by using the following this. lines, my problem is is when the user clicks the button i want it to go to another frame in the main timeline the movie c...more >>

"ESC" button?
Posted by Maddug at 12/22/2004 10:01:07 PM
You know how ESC key will exit from a projector, can you make a graphic button that uses that command? The FSCommand "Quit" isn't working for what I'm doing, but hitting the ESC button does. Thank you. ...more >>

Adding Actionscript to a button, not an instance
Posted by Antman1313 at 12/22/2004 9:16:40 PM
Greetings all: Old Director guy here, making the transition to Flash, slowly but surely. Forgive the newbie question, but... Is there any way to hang actionscript off of the buttons themselves? Basically, I've got a ton of buttons that will appear in several places across the project, but th...more >>

launch application MAC
Posted by Media Post at 12/22/2004 9:15:19 PM
:clock; I'm stuck on what I thought would have a simple solution, but I can't seem to open a Director projector (MAC with no extension) from flash. I have a flash projector that plays from a CD and after it's finished I want it to open my MAC Director Projector, but it's working. My code is ...more >>

Controlling quality and time in sounds
Posted by german01 at 12/22/2004 9:05:16 PM
:confused; Hi: Someone help me!!!! I have two different problems with sounds: 1) I have MP3s that when play in the library sound pretty well, but when inserted into a movie clip or placed on the main time line they sound with echo or the sound is distorted. Why is the sound on the main time l...more >>

reading variables into flash via javascript
Posted by dlutz22 at 12/22/2004 7:32:58 PM
I have a problem with a website where I'm using a flash movie for the menubar. Each web page uses the same SWF file for navigation. I need to pass the button number from page to page so that the selected button will stay in it's 'pressed' state. I can pass the button number variable out of the...more >>

loadVariable in XML?
Posted by phdv8 at 12/22/2004 7:32:28 PM
I've been trying to load a menu that will allow me to load variables into a swf upon demand. I'm trying to generate the menu using XML, but having almost no XML experience, I don't understand how to call a flash function in the code. Does anyone have any suggestions??? ...more >>



Load Grapic To Stage With Actionscript?
Posted by AwesomeDigital at 12/22/2004 7:19:31 PM
Can I load a graphic in my library to the staage with actionscript? If yes, what is the command? Thanks Mathias...more >>

Movie Clip
Posted by steveo23 at 12/22/2004 7:04:37 PM
I have a movie clip set at the start of every section and a button that leads to that section, the problem is that when you click the button and gotoandplay a frame my movie clip does not play. What do I need to add to get my clip 'intro' to play? Thanks for any help! p.s. I did a search and d...more >>

PHP and action script please help
Posted by jaimeie at 12/22/2004 7:00:45 PM
in my document, frame 1 i have 3 input text boxes with the vars "name", "email" and "message". The frame 1 has this code... stop(); send.onPress = function(){ loadVariables("send_email.php","","POST"); gotoAndStop(2); } second frame i have a dynamic text box, with the variable ...more >>

tab to each button and play button
Posted by Alikat at 12/22/2004 6:49:38 PM
I have a keyboard only presentation. I have 5 buttons. The user must be able to tab to each button. When the button is tabbed to, the button needs to play a sound. I know how to tab to each button, I just need to know how to tell flash to play the button when it is highlighted. I cannot have t...more >>

preloader movie
Posted by anakadote at 12/22/2004 6:11:16 PM
Hello. Can anyone tell me what to replace '_xscale' with in the below script to make it so the the preloader plays the 'length' of a movie instance animation relative to the bytes loaded rather than just increasing the horizontal scale? Most appreciated, thanks. stop() myInterval = setInterva...more >>

Checking for Idle Mouse
Posted by Jackal_Dude at 12/22/2004 5:46:37 PM
Does anyone know an easy way to check if the mouse has been idle for a set number of seconds. I'm assuming I would use setInterval()....more >>

Creating a login page in flash mx 2004
Posted by madhava_ram at 12/22/2004 5:43:58 PM
Hello, I want to create alogin page with the middleware as asp or jsp what ever it is. Does anybody have some samples on it. please help me If anybody has those. Madhava ram upadrasta...more >>

FLV/movie clip synchronization?
Posted by squidz at 12/22/2004 5:30:45 PM
have a movie which includes Flash Video. I will have dialogue that will be translated for which text will scroll (movie clip) as the vid plays. The big issue for me is: how to keep the translated scrolling text in sync wth the vid if the user moves the playhead. Or, if I can disable the play...more >>

FLASH & PHP
Posted by kopile at 12/22/2004 5:17:40 PM
hi all ! me again :) i got lil problem can u tell me how can i put php in flash file lets say i have flash site and i wana put php shout box in it how do i do that? thank you all who are helping ;)...more >>

1.0 -> 2.0 advice
Posted by chris olsen at 12/22/2004 4:38:57 PM
I have a book on 1.0 (Colin Moock) and am wondering how substantial of a change in action script from 1.0 -> 2.0 is there? Would it be wise to instead of continuing with the 1.0 book, just get the 2.0? Thanks for the advice ...more >>

Fading with actionscript
Posted by Scott Chilton at 12/22/2004 4:38:39 PM
Hello, I am trying to create and effective with 4 images. Each images has 100% opacity, when i rollover 1 of the 4 images i want the other 3 to fade to 50% alpha. I can get this to switch instantly using the following code: on (rollOver) { setProperty(_root.materials, _alpha, 50); ...more >>

Directory Content
Posted by Catarina Fernandez at 12/22/2004 4:04:41 PM
Is there a way to list a site´s directory content, so that one can click on a (let say) JPG file listed to open or download it? Any idea would be great! Tks!! ...more >>

xml reading with actionscript
Posted by Aurélien_Sanrey at 12/22/2004 4:03:44 PM
Hello, I am a french developper, and I just started to learn flash and XML. In my movie, I have troubles with the actionscript to read the XML file. the 'trace' inthe onLoad function returns 0, despite there are 4 elements in the xml file in my "mer/" folder (attached file). here is my co...more >>

Setting Text On Another Level
Posted by AwesomeDigital at 12/22/2004 2:58:40 PM
I have a dynamic text field in a movie on another level that I am trying to set, but it does not seem to work. Should the script below not work? _level500.progress_txt.htmlText = '<b>dfassdadsas</b>'; Thanks Mathias ...more >>

Preload movie and postload images - techniques?
Posted by Kim Steinhaug at 12/22/2004 2:38:17 PM
Hello, Im building a new website and there are a lot of images within the flash presentations, and I want to keep low compression to have nice and crispy images. This gives me obvious problems so Ill try to make a "setting" here : Example I have a swf file which is a slideshow containing 8 i...more >>

Strict function argument count
Posted by Dflow at 12/22/2004 2:10:49 PM
Hi! The flash compiler wont give me any warning nor error if I declare/define a function with say, 3 arguments, and call it with say 2 argument. Example: myFunction(arg1:Number, arg2:Number, arg3:Number) : Void { ... } myFunction(10, 20); Now - is there any way to get some kind of messag...more >>

play movie on the click
Posted by pandey at 12/22/2004 2:06:53 PM
Hi guys, Can I play a movie on the click of mouse and the movie should play exactly on the place where the mouse clicked. The movie should appear and play only when the mouse is clicked. Any other way apart from "startDrag" thanks in advance. regards ...more >>

Can you load RGB values for Dynamic colors?
Posted by sgonzo at 12/22/2004 1:33:05 PM
Hello, Is there a way to load RGB values for the background color or any other object's color? I am creating templates for a company and I want to create one Flash file that accepts any combination of colors so that clients can customize the templates to whatever colors they want. I have do...more >>

Volume control for loaded swf
Posted by anand_ptg at 12/22/2004 12:56:11 PM
Hi, I have created a presentation and several external swf files are loaded as they required. The extrenal swf files are created in robodemo. I want to have a single volume control for all the external loaded files. Plz. guide me. Thanx ~Anand ...more >>

Embed Swf. into another swf.
Posted by sai1 at 12/22/2004 12:54:08 PM
Hi all, Have anyone of u come across gd flash websites? Like www.2advanced.com? The way they did their website is they like embed their pages into a frame within the swf. Each time i press the button, the same preloader with the respective page will start loading at the same place. Can any...more >>

Dynamically loaded text
Posted by hackysack at 12/22/2004 12:01:52 PM
hi, im busy on a website where I have set up, using a component, a dynamically loaded text field which reads from an external text file, only thing is during testing on a 56k line it seems to take awhile before showing the text, is it at all possible to pre-load the text file or at least give ...more >>

Finding a movie from its depth?
Posted by Old Sod at 12/22/2004 11:25:24 AM
If a depth is known, is there a way to find out what movie (if any) is on that depth? Thanks...more >>

mouse position control
Posted by Nuzis at 12/22/2004 10:58:11 AM
Hi, I'm just finishing a project and I'm a little stuck with one bit. Basically, we have a view of an office, and as the mouse moves around, a chair looks in that direction, left, front and right. I've been going the long way round with this by using buttons and alot of layers, but as I'm fi...more >>

Canceling out a function
Posted by sai1 at 12/22/2004 8:55:58 AM
Hi all, Im doin a website now n i usually do scripts in function. Now i wanna do something like when i mouseover a button, it will stop or cancel out the function temporary. Once i mouseout, the function will be called again n do the effects. How do i cancel out the function? is it possible?...more >>

onEnterFrame and functions
Posted by h NO[at]SPAM ppy at 12/22/2004 8:39:48 AM
Just a simple question: why doesn't the onEnterFrame run in this code while it does if it is not enclosed in a function. I really need this to work. Is it possible? _root.Trigger = function() { _root.createEmptyMovieClip("Trigger",1) _root.Trigger.onEnterFrame = function() { trace(...more >>

Using a function as a function param
Posted by abeall at 12/22/2004 4:49:07 AM
Here's what I would like to do: _global.execute = function(callback){ _root.myMC.func = callback; } Then on myMC, I have a timeline animation, at the end of which I would like to call the callback function, which would be 'func'. It does not seem to work, am I doing something wrong? Using AS...more >>

this.attachMove not loading movie from a child movie
Posted by complexity at 12/22/2004 4:48:33 AM
Hi all, I have a mc, inside it contains an action. this.attachMovie('driversListing','driversListing',1,{_x:260,_y:80}); This works fine. But then If I run a shell mc, then bring in this same movie via contentClip.loadMovie the this.attachMovie('driversListing','driversListing',1,{_x:2...more >>

Media display component problem...
Posted by Siulca at 12/22/2004 4:46:39 AM
I have a Media Display component on stage linked to an external .FLV fil= e. However when i play all I can see is a white screen with the word = "Display" in the middle. The video doesn't play at all! Any idea what might be wrong? I'm sure the path to the file is right and I knwo the FLV w...more >>

Auto-play an audio controller
Posted by S_anctified at 12/22/2004 3:31:53 AM
I looked through the forums for an answer for this, but suprising didn't find one. I'm sure it's very simple. I added a link to the fla. file. (http://www.marazita.com/audiocontroller.fla) I just want to add a script that when it's loaded it will automatically play the music on the control...more >>

quitting the projector with a button...
Posted by bso_71 at 12/22/2004 2:57:44 AM
I'm using the trapAllKeys to TRUE and I've created a button to quit my flash projector. How do I quit my projector? I can't find the specific instruction to quit the program? Thanks!!!! Brenda....more >>

Releasing movie memory
Posted by Elan_99 at 12/22/2004 2:13:16 AM
I have a flash app that loads different movies depending on the user action. I have the problem where each new movie loaded uses up more memory and I don't know how to release the memory that the previous movie used. I have tried different actionscript code and here is my last attempt. v...more >>

Poll
Posted by smardy at 12/22/2004 2:06:46 AM
Can any one tell me if you can make a poll in flash using a mySQL database to store the info and if so where I could I go to lern how. ...more >>

Dynamic Arrays ? Is it possible ?
Posted by 333444 at 12/22/2004 1:45:10 AM
How come the following doesn't work : var test = new Array(); set( "test[0]", "yes sir" ); trace( test[0] );...more >>


DevelopmentNow Blog