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 > september 2004 > threads for tuesday september 21

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 script this
Posted by patriarck at 9/21/2004 11:46:18 PM
Hi Freinds, I am new in flash ! :) I have : 1.swf which opens a door 2.swf which close the door 3.swf a button for open door 4.swf a button for close door how can I make this work? Cick on button 3 and run opendoor- keep door open until button 4 and close the door - keep close...more >>


flash auto exec cd code
Posted by francisco navarro at 9/21/2004 11:41:38 PM
Hi: Im doing a presentation on a CD and I m going to make flash intro to be autoexecuted when people insert the cd... My question is that Im not sure how to tell flash movie to open a PDF file in their on program. Well I actually tried doing it without the flash movie but I failed, is there a...more >>

Menu Bar.. can the menu open upwords?
Posted by myckelh at 9/21/2004 11:38:09 PM
instead of the menu opening down, can it open upwords?...more >>

accessing an outside variable from a MC
Posted by garroyo at 9/21/2004 11:22:24 PM
I've created a movie clip that has a button in it, that when clicked I want it to access a variable that I created outside of the movie clip. How do I do this?...more >>

How to fade out a image with actionscript
Posted by Carlos Gonçalves at 9/21/2004 10:37:47 PM
How can I do this? ...more >>

button states and actionscript
Posted by holytodd at 9/21/2004 9:59:33 PM
Does anyone know if you can manually set the button state through actionscript? I have a buttons that need to be highlighted depending on other events. The rollover state of my buttons looks the same way I want it to be set in my actionscript so I was hoping to be able to re-use that. Any i...more >>

fullscreen, no tool bars...
Posted by CBNY at 9/21/2004 9:36:18 PM
Can someone please provide me with a few lines of javascript / actionscript that I can put into my html screens to make them open full screen. I would prefer to insert this code directly into flash as opposed to having to handcode. I am utilizing a print function in Flash and need to di...more >>

Javascript controlling SWF in other frameset
Posted by Hugo Setta at 9/21/2004 9:18:48 PM
Hello, I?m having the following problem. I have this site, and it?s divided in to frames (let?s call them TOP and MAIN). In the TOP frame I have my FlashMovie, in the MAIN frame I have a JScript function that?s suppose to control the movie in the TOP frame. I use the following sintaxe ...more >>



load movie "blinks" between movies
Posted by CBNY at 9/21/2004 9:09:48 PM
Can somebody tell me how to get my "load movie" command to stop blinking. I am calling a new movie into level 0 and each time (first time only) it blinks as it unloads the first and loads the 2nd. I have tried reversing the load/unload order...that did not work either. Any help would be ...more >>

Getting id of component that fired listener object
Posted by emadsen at 9/21/2004 8:01:09 PM
I can't seem to get the id of the component that is firing this listener object. Any ideas? lo = new Object(); lo.click = function(evt){ objName = evt.target.id; } show_fall2003.addEventListener("click", lo); ...more >>

attaching vars to attached mc
Posted by _jrh_ at 9/21/2004 7:59:20 PM
I am completely baffled. My main movie loads a library movieclip called scale, and within scale is another mc called slider_mc. After the scale movie is attached, I have code that assigns three variables to the specific scale mc. (There are more than one scale mc's attached.) // after...more >>

Calling a Function on an Attached Movie
Posted by Attomm at 9/21/2004 7:51:10 PM
I probably doing something wrong or missing something obvious... I have a function that I defined on the first frame of a movieclip. In my main timeline I attach this movieclip and immediately try to call the function. It does not work. If I wait 1 frame, and then call the function it w...more >>

TextField HTML <IMG> tag
Posted by Sson at 9/21/2004 7:39:50 PM
hi, me face a problem here, when me using textField With HTML = true and load a html(which contain <img> tag) page in it, the text look well, but the images not they are loaded and shown in a wrong position, the image seem only possible to align to left or the right, any idea on this? i...more >>

Image not clear and cannot read text
Posted by joedisney at 9/21/2004 7:38:53 PM
I am using flash mx professional 2004 and using a quiz template. In the template I am placing a .jpg which is a screen shot taken on a pc set up with 1024X768 screen resolution. You cannot make out any of the text on the screen and the entire image is blurred when placed on the stage in the qu...more >>

arrays from LoadVars()
Posted by uomoDiCuore at 9/21/2004 7:06:51 PM
Hello, I'm stumped. Can someone tell me the difference between this: myHardCodedAarray=[[7,7,"+"],[6,6,"-"],[5,5,"*"],[4,4,"/"]]; and this: a = new LoadVars(); a.load("mathFile.txt"); a.onLoad=function(){ myLoadedArray=a.mathVar; //in my text file, I have: mathVar=[[7,7,"+"],[6,6,...more >>

open pdf, exe, html from button
Posted by Freedom1029 at 9/21/2004 7:01:41 PM
I built a splash screen for my tutorials located on CD. This screen start as you put the cd in and will give the user choices between different tutorials (exe), pdf, web link etc... Now I am wondering about the approach I should use in order to open the different files. So I would appreciat...more >>

sound control bar question
Posted by Arshish at 9/21/2004 6:58:38 PM
Hi I am experimenting with sound in flash & I wanted to make a sound bar that moves throughout the duration of a sound & when you drag & move it, it controls the sound. I have got the bar to move in PROPORTION to the duration of the sound, without problems, however I cant seem to be able ...more >>

loadMovie GET and POST
Posted by abeall at 9/21/2004 6:43:46 PM
I'm a little confused on how to use GET and POST methods with loadMovie(). All documentation I've seen on it does not explain the syntax on how you actually define the variables. I assume the GET method might look like this: loadMovie("loadPicture.php?varName1=varValue1&varName2=varValue2"...more >>

delete part of a movieclip?
Posted by rudolfrock at 9/21/2004 6:29:20 PM
just wondered if it's possible to delete a part outside an area in a movieclip. I'm creating a graph that follows a Math.cos formula and it has a constant xspeed and the movieclip goes in the opposite x direction so the graph just draws constantly. But I only want to show part of the graph. ...more >>

for...in bug?
Posted by vectorman69 at 9/21/2004 5:56:32 PM
Hi! I'm trying to re-assign events to a mc's nested into another mc, so I use the for...in loop, and it doesn't work, so I tried to do the same with a regular for loop, (var i:Number=0;i<=3; i++), and if I attach to a onPress event the following handler: trace(i), all the elements give m...more >>

for...in bug?
Posted by vectorman69 at 9/21/2004 5:56:30 PM
Hi! I'm trying to re-assign events to a mc's nested into another mc, so I use the for...in loop, and it doesn't work, so I tried to do the same with a regular for loop, (var i:Number=0;i<=3; i++), and if I attach to a onPress event the following handler: trace(i), all the elements give m...more >>

LoadSound trouble
Posted by blood divine at 9/21/2004 5:55:20 PM
Hi, I'm having troube getting my flash movie to load an external mp3 file. I am testing the site on MS Personal Web Server. The mp3 is located in the same directory as the swf file, but flash fails to load the mp3 when testing on the PWS, that is the preloader reports 0 bytes loaded and t...more >>

text with buttons - how to scroll more than +1
Posted by VicHer at 9/21/2004 5:29:23 PM
.... or -1 of course. hi there and thanks for reading my question. what i want to accomplish basically is a scrolling text with my own custom buttons (not a scroll bar) but CONTINUOUSLY scrolling, some people complained they didn't know they had to click each time to scroll my text further and...more >>

FTEA Algorithm part 3
Posted by Patrick Bay at 9/21/2004 4:47:15 PM
First of all, TEA is a 128-bit, cyclical block cipher. This means that it operates on blocks of data (64 bits in this case) and uses a number of cycles where the bits of the original message are combined with the key and shifted about to make the resultant data unrecognizable. It was develo...more >>

Multiple btn actions??
Posted by Heros_Darkness at 9/21/2004 4:23:17 PM
I have a problem with a button in my flash file where I want it so when its pressed it plays a movie clip, subtracts a variable from another and puts that number into a text field with a Var. name which is One. But the problem is my script is not working. Here is what I thought to put but did ...more >>

text rendering issue
Posted by cygon at 9/21/2004 3:19:44 PM
I am trying to pull this var from the html page which will appear in the flash movie. I am having problems with getting both regular text and italicized text to show up. I get one or the other but not both. Is there a way to make this happen? The text field that is being filled is set to ...more >>

Play sound on rollover....
Posted by Mr. Smith at 9/21/2004 3:16:47 PM
Hi. I'm trying to make an flash ad, and wants to play a sound from the library when the mouse is rolled over the ad. I'm pretty new to flash, but think that I'll manage to do the stuff if someone just tell me where to put the code. I've tried several ways: I have a transparent button in a ...more >>

text field from flash
Posted by chrism59 at 9/21/2004 3:12:22 PM
I have a html from that has two text fields. I need to set values in these two fields based on interaction in the flash part of the page... Can this be done? Does anyone know how?...more >>

Help: Flash Based Interactive Map
Posted by stashuk at 9/21/2004 2:53:24 PM
I am looking to create an interactive map in Flash MX with the same functionality as this: http:/www.arizonaguide.com interactive_map.asp?referer=aot Does anyone know of any documentation that outlines the process behind making this type of interactive map? Thanks in advance! Chris...more >>

'trace' tutorial?
Posted by bigflannel at 9/21/2004 2:39:51 PM
I have read many authors in the forum referring to the 'trace' command and specific uses of it I can never find in the help section of flash. Does anyone know of a tutorial/command list for trace and using it in more complex ways than tracing a variable's value for instance? Regards Mike...more >>

Issues with flash not being very dynamic - HELP!!
Posted by softyengin at 9/21/2004 2:27:00 PM
*** damn scrollpanes and combo boxes, sound easy! *** Hi Everybody, ive been banging my head with this for 2 days now and basically ive regressed back to basics. What i was doing was as follows and i am working FULLY in action script mode, ie NO gotoAndPlay(x) frame stuff I have...more >>

Push button phone
Posted by Raven_js at 9/21/2004 1:58:22 PM
There's a push-button phone made of buttons for each of the number, and there's a text box (var=text) which outputs the number that is pressed. On each button, there's this code: on (release) { setProperty("blu1_mc",_alpha,40); text=1; } same for all the remaining 9 numbers, t...more >>

Counter for days remaining in the year
Posted by lickteig at 9/21/2004 1:10:48 PM
Hey all, Basically I want to have a counter that counts down the number of days left until September 7th of next year. Thanks, Russ...more >>

xml loading problem
Posted by e_jogendra at 9/21/2004 12:47:26 PM
Could some explain the xml loading. Now i am creating xml loader. For that i have load the xml file in the 1st frame and use onLoad function at some other frame. Is this the right process or not? Thanks JNS ...more >>

Object Instance Name (easy?)
Posted by mat at 9/21/2004 12:43:57 PM
Hi All, If one has an mc on the stage, one can get its instance name thus: trace(_root.mc._name); Is there a way to do the same thing with an object? Such as: _root.bob = new Object(); trace(_root.bob._name); //I want this to trace "bob" Any help with this would be great, Thanks, ...more >>

My dynamic sound don't work if I use MovieClipLoa
Posted by yanuart at 9/21/2004 12:35:50 PM
Hi, use movieclip loader to load one of my swf, let's say "sample.swf". In this "sample.swf" I create a sound object and use it to load and play sound dynamically. "sample.swf" work's just fine but when I load it to my loader all of the sound won't work only the sounds that I attached to keyfr...more >>

HELP! Preloader problems!!!!
Posted by CougarTheCat at 9/21/2004 12:29:29 PM
Hi, I posted this yesterday, but no one responded. This is driving me nuts. The preloader below will load the swfs correctly (I see it from the trace and they are loaded into _level0.Pic1, _level0.Pic2 etc and the trace "I am done loading" appears). But, they do not appear in the target...more >>

Help - loading external images
Posted by frick at 9/21/2004 11:53:00 AM
Hello all, Does someone know how i can load an external image to my movie. the external image name should be read from external txt file. Tahnks...more >>

Load tif file
Posted by bestjamie at 9/21/2004 9:53:43 AM
Hello everyone, I have a question . I want to load a tif pic to a mc. But I can't realize it . Is flash only support load jpg and loadMovie("xxx.tif",mc) will be wrong? Who can slove this problem? Thank you very mucn!!! ...more >>

Text Input ...
Posted by midnite_sonnet at 9/21/2004 9:34:00 AM
Hi, When I press a button, I want it to check a text input value (named psw) and if it's the same as "test" then I want it to proceed to a frame called "ppl". I'm not having any luck with being able to retrieve the value of the text imput entry_btn.onRelease = function(){ if (psw=="t...more >>

Caret position
Posted by yessesnee at 9/21/2004 9:32:08 AM
Hello, In my project, I need to retrieve and set the position of the caret in textfields. To retrieve all infos, there are getCaretIndex(), getBeginIndex(), and getEndIndex() but I didn't find some similar methods to set all this parameters. Is it possible in actionscript 2 to set those ...more >>

down state for a pressed button
Posted by Nate Kadlac at 9/21/2004 8:29:27 AM
I would like some input/advice on how to create a "down-state" on a button. Basically, I have 4 buttons lined up horizontally, and I would like to be able to press one of them, have it show it's down state until another button is pushed. There is one other trick to this equation, if possible. ...more >>

Loading Images from XML at once
Posted by Ashish123 at 9/21/2004 5:18:27 AM
Hi Forum Member, I want to create a photo gallery in flash (mx 2004), using XML. Is there any way i can load all the images in the backgound so that while displaying the images, clicking on next and previous button it shouldnt need to load image again. Any help, suggession., or Link w...more >>

stupid problem
Posted by indyfro at 9/21/2004 5:16:50 AM
I must be too tired to think, or even to find the answer, and I am sorry to have to post this trivial problem here. in a movie clip, I have an input text field, named answer. in the same movie clip, I have a dynamic text field(answer1), that I would like to display the text that is input by ...more >>

Save Data as JPEG
Posted by Ankur Arora at 9/21/2004 4:42:21 AM
Hi, Memebers I have a question In swf i change a movie clip colour, size or any thing else , when i click on the save button , the changed movie clip should be saved as jpeg file in a folder, , if its possible , then how pls. write about it Thanx in Advance ...more >>

play audio and timeline after video ends
Posted by Carlos Gonçalves at 9/21/2004 3:47:19 AM
The video is a FLV. Is it possible to do this? How can I do to make this? ...more >>

Play attached sound in loaded movie
Posted by Carlos Gonçalves at 9/21/2004 2:39:20 AM
Is it possible without problems? I want that it plays when movie is loaded and stops when I want to unload it. ...more >>

How can I check fo narration completion to play timeline?
Posted by Carlos Gonçalves at 9/21/2004 2:32:38 AM
How can I do to check for narration completion before advancing to the next frame or scene? ...more >>

Code trouble(repost)
Posted by indyfro at 9/21/2004 2:09:00 AM
I am trying to create a family feud type game, and have the following code to check answers located on frame 1. My intention is to reveal the answers under each cover when a correct answer is given. When an answer is incorrect, an error clip should appear. so far, none of this has occurred. ...more >>

Countdown Timer Problem
Posted by samuelfuller at 9/21/2004 1:05:31 AM
I have created a simple countdown using setInterval() ; My problem is that the clock keeps counting down past 0. I want it to stop at 0. But it carries on through the negative numbers. I have added an If Else statement but it still isn't working. Please let me know what I am doing wrong....more >>

Can I achieve this in Flash???
Posted by _PaulD_ at 9/21/2004 1:00:44 AM
Hi guys, I am making an interactive cd for a client and they want it to look like this http://www.dicksoncreativedesigns.com/temp/demo04.jpg...more >>

Encypting info then Decrypting in Flash
Posted by Jammer at 9/21/2004 12:46:05 AM
Hey Everyone! This is what I want to learn to do. Take a key that I need to have encrypted by some common method like MD5, RD5, or whatever method you would recommend, take that encrypted key, which contains something this simple: http://www.theencodedurl.com;0931/2004;false; in other wo...more >>

Flash player loading the CPU
Posted by kmkbe at 9/21/2004 12:10:50 AM
Hi, I have a complex menu structure having about 100buttons in drop down. Initially i have used onClipEvent(enterframe) script for rollovers later i found that loads CPU much so i have changed all enterframe events to mouseup events. But still over a time period( after 10-15 mins ) its ste...more >>


DevelopmentNow Blog