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

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

get checkbox value
Posted by sasa at 5/9/2005 10:55:58 PM
hi, i am a new user of action script. i am trying to get the value of the checkbox how ever i failed. Below is my code: on(click){ if(use_surfSelection_cb.selected=true){ trace("checked!"); } else{ trace("unchecked"); } } the output always shows "checked!" even thoug...more >>

How do I watch a movie's frame location
Posted by DazFaz at 5/9/2005 12:00:00 AM
I?m trying to watch or onchanged a movie's frame location. Other than having an onenterframe function running continually, which will needlessly hammer the processor, I need to have a function that will tell me when a movie moves on a frame. Has anyone any ideas. :D ...more >>

my pervasive function problem
Posted by Battletards at 5/9/2005 12:00:00 AM
Hi, everyone. Thanks for all the help that you all have given me on my function. However, my problem still persists. I have this function (see below), that just seems to stall out at a certain point. It's not entering an endless loop; i know this because i put a trace command in all my ...more >>

Studder in music loop
Posted by jeskey at 5/9/2005 12:00:00 AM
I have a noticable studder in my music loop when it repeats. I know my loop is good as I have heard it on another site and it works fine, unfortunately, i do not have access to that code. I assume there are different ways to code the action script. Can someone point me in the right direc...more >>

For loops&concatenation
Posted by New2ActionScript at 5/9/2005 12:00:00 AM
I am trying to iterate thru an array using action script. I have labels with instance names of time0 thru time6. Here is my for loop: for (x= 0; x<8; ++x) {[ time[x].text = intTime[x]; } intTime is an array that holds the time values. however, this fails and the labels never get la...more >>

scroll pane
Posted by bertjeb at 5/9/2005 12:00:00 AM
Is it possible to refresh the scroll bar of a scroll pane without refreshing the content of the scroll pane? Or is it something else that is wrong in my movie: I've made an swf in wich i load data from an xml-file This swf is loaded into a scroll pane. In firefix most of the time everyth...more >>

Setting up a selected/on variable
Posted by complexity at 5/9/2005 12:00:00 AM
Hi all, I have a menu with 2 options. Each are seperate mc's and inside them I have 2 states/label names "on" and "off". All I want to have happen is when I roll my mouse over the menu option, the mc is to go to the "on" state on the option I have just selected and then for the other...more >>

LoadMovie Problem
Posted by hugomendonca at 5/9/2005 12:00:00 AM
Hi. I have a movie clip in Flash (say "movie1.swf"). In this movie i call another one with "LoadMovieNum" (say "movie2.swf"). This "movie2.swf" has some buttons. When i click those buttons i want to goback to a frame on "movie1.swf". I can't seem to make this work. How can i do it? Can...more >>



Dissapearing Scripts
Posted by J0NNYrotten13 at 5/9/2005 12:00:00 AM
Ok, so I am writing code. I publish the movie. All works fine. I save and close the file. Next time I open the file, the last 4 or 5 scripts I wrote are no longer there. I re-write them, publish, save, close and re-open and only a few of the scripts that I replaced are still there...this is ...more >>

flash PHP searchfunction
Posted by a-cross at 5/9/2005 12:00:00 AM
Hi Want to create a small searchfunction in flash which send a variable to PHP and PHP does the rest. Now waht I just want is to pass the var to PHP and echo it for testing What I have done but what is not working..... searchText is the variable put on an input textfield... Here'...more >>

How to determine which button of 6 buttons...?
Posted by highlander_1 at 5/9/2005 12:00:00 AM
I have 6 buttons (mc) each one with the labels UP, OVER, FADEOUT and HIT When I clicked on one button (in the HIT label) - all buttons who is clicked before (Hit label) should play a CLOSING animation. BUT here comes the problem: Only the latest clicked button should even play + ONE MORE a...more >>

Read/write external files
Posted by DCLeadboot at 5/9/2005 12:00:00 AM
Lately, I have had ideas for a game I once designed, but never really made in a playable format and thought about making it in Flash. It will be an adventure/puzzle game of sorts, played in top-down view (like a map) and involve the hero running around finding objects to help him in his quest,...more >>

send "release()" to movieclip?
Posted by nels62 at 5/9/2005 12:00:00 AM
Is it possible to send a "release()" message to a movieclip not by releasing the mouse, but through actionscript? My goal is to invoke an "on (release)" handler within the MC from a centralized actionscript section which is listening for the user to press the "Enter" key (instead of a mouse). ...more >>

Manipulate the height of a movie clip via A.Script
Posted by New2ActionScript at 5/9/2005 12:00:00 AM
Hello everyone! Could someone please tell me how to manipulate a movie clips height via actions script? I am creating a bar graph from a text file and I would like to extend the movie clips height depending on the value. Also, I will have around 30 bars on my graph. Thank you in advance fo...more >>

Newbie: Does video stream?
Posted by tallscot at 5/9/2005 12:00:00 AM
OK, I have a project where I'm animating alongside video. I import the video using the wizard and I import it into the Library with the audio integrated. This is now a movie clip. I go into the movie clip and I put graphics on the screen at certain points. I then place this movie clip ...more >>

Preloader not working???
Posted by MonkeyPiePdx at 5/9/2005 12:00:00 AM
I have a rather large 3-D rendered animation that consists of several frames of bitmap images. I used a standard preloader that I've used a bunch of times, but when the animation begins to play - it's really choppy. Once the animation is done (and there are going to be several of these littl...more >>

Video in Flash: Newbie Questions
Posted by tallscot at 5/9/2005 12:00:00 AM
Simple project: 1. A 14 minute video playing in Flash 2. PowerPoint slides come up at specific points during the video. I've never used video in Flash and I've read the "Working with Video". It seems that video is applied to your timeline in Flash, which means with a 14 minute video at...more >>

scope problem using setInterval
Posted by mattmuller at 5/9/2005 12:00:00 AM
Hi I have 2 methods I am using to display a progress bar, one is called using setInterval, when I try and trace "this", its undefined when the function is triggered using setInterval, but when its just triggered with a normal method call its defined as the right clip. Does anyone know why, I h...more >>

Get Movie Name
Posted by Neil 123 at 5/9/2005 12:00:00 AM
How can I get my Flash movie's file name as a variable -- without hardcoding it? I.e. something like MyMovieFileName = getMyMovieName()? NOT MyMovieFileName = "myfirstmovie.fla" Thanks Neil...more >>

Loading PDF files with Actionscript
Posted by Jimmy Kos at 5/9/2005 12:00:00 AM
I am almost finished with a hugh CD-ROM project that involves loading pdf files when buttons are clicked. I am having trouble getting this to work. Anyone know what functions and code I need to put into place to make this happen. PLEASE HELP! ...more >>

deleting items from the library to reduce fla size
Posted by logeye at 5/9/2005 12:00:00 AM
A previous programmer imbedded avi files in our flash programs that took up the entire stage (when only 1 switch was animated). Since he left we have gone back and fixed the .fla. The .fla was 94Meg in size. After we changed it, it should have been about 30k but the XP window still says 94...more >>

onLoadComplete (orOtherOnFunction) makeAFunctionCall
Posted by Jon Moyles at 5/9/2005 12:00:00 AM
i want to call a function when my loader loads a movie. All the examples define the function as part of the code setting it. Like this: myListener2.onLoadComplete = function(target_mc:MovieClip) { trace("*********Second my_mcl instance*********"); } i want to call a function i define...more >>

Flash in html emails
Posted by mattmuller at 5/9/2005 12:00:00 AM
email client issues etc. Sandbox restrictions, embedding flash? or point me to a good resource ta MaTT...more >>

Problem with multiple calls to javascript function
Posted by Cpt. Trips at 5/9/2005 12:00:00 AM
Hello, The problem I am encountering is as follows: Using a flash back end, we are dynamically entering content into html divs using a getURL call to a java script function. The problem is when we call the function twice in a row to write to two seperate div's on the page, the first ...more >>

Loading and swf file randomly from group
Posted by doinka at 5/9/2005 12:00:00 AM
Does anyone know how to randomly load an swf from a group of swf files in a folder?...more >>

Making New Tabs in Mozilla Firefox from Flash Movies embedded in HTML
Posted by complexity at 5/9/2005 12:00:00 AM
Hi all, I just have a flash movie embeded in a html page, which I execute a on mouse event such as: on(press){ getURL("http://www.website.com", "_blank", "GET"); } Instead of loading up a new window with the "_blank" or in the current window, I need to be able to open link...more >>

Problems with loadMovieNum
Posted by rg_rob at 5/9/2005 12:00:00 AM
:confused; I have been trying to do something I have seen a number of posts on this forum discussing. I am loading in a series of .swf movies, one after the other as each one ends. I have been trying to use loadMovie, movieclip.loadMovie, loadMovieNum etc. Problem seems to be that after l...more >>

ASP URLencode vs Flash URLencode
Posted by Nixy at 5/9/2005 12:00:00 AM
Hi I need to encode special characters to be read in Flash 6. The problem is that the text file is encode using ASP. If I take a look at the URLencode for Flash, http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14143 There is some difference with ASP. For exemple, a SPACE in ...more >>

Override focus rectangle
Posted by tygr at 5/9/2005 12:00:00 AM
Is there a way to turn off or override the yellow focus rectangle? I have a custom clip class and I want to display a custom focused state image when the clip has input focus. The clip does not have any input text boxes or other components in it. I'm able to use onSetFocus to display the fo...more >>

calling function in php file using XML
Posted by crescent_au at 5/9/2005 12:00:00 AM
Hi all, This is what I am trying to do: I'm trying to make a photo gallery using XML and PHP/MySQL. I have a menu bar with menu items: "Australia", "New Zealand", "Portraits". What I need to do is- when I click on say "Australia", it should invoke a function in my php file and return me ...more >>

How do I load html document in Flash
Posted by Ams9727 at 5/9/2005 12:00:00 AM
We have a project where we are supposed to load html content inside flash interface. I have searched alot and I know it is possible to achieve this I even had a code in past through which I had done it in past, but I have lost it now :( After a lot of research about this topic I have fo...more >>

Metaphysical question about function
Posted by biboune at 5/9/2005 12:00:00 AM
Hello, here is my "problem" : On a web site, I have some objects on the stage representing the area the user is currently visiting. I want them to move from a position to an other (I use _rotation, _y_ and _x) when the user changes "pages". I usually create a movieclip with three frames ...more >>

grouping duplicate movie clips
Posted by Scottsman at 5/9/2005 12:00:00 AM
I am trying to create a puzzle where the user can select the instances of a duplicated mc (example: object1_mc throught object4_mc) and drag them simultaneously, as well as rotate them around a single point. I do not want the user to be able to drag the objects outside a specific area. Any tho...more >>

Full Screen Mac Projectors
Posted by csa at 5/9/2005 12:00:00 AM
Is there still a problem with using the fullscreen command and linking to different swf files in Flash MX 2004? I have heard that when an external movie is called is doesn't open it in the full window. If designing on a Mac but you want to cater for many different users, is it possible jus...more >>

Help with variables!
Posted by forumnotifier at 5/9/2005 12:00:00 AM
Im trying to learn about variables so please help me. I got a problem with the ' if( ) ' command in AS. I got two buttons when u press button 1 a dynamic text box increases the number by 1and button 2 makes 1 decrease. I just want to know how to use this script on the right way: if(hea...more >>

Loader components and For loops
Posted by issasik at 5/9/2005 12:00:00 AM
I have an MC (aListHold) that contains a Loader component (articleBlurbImg). I also have a For loop that duplicates this MC a number of times (aListHold01, ....02, ...03). Currently, to insert an external JPG into the Loader, I have the following actionscript: this["aListHold0"+i].articleb...more >>

Call a function through href.
Posted by Blade al'Slayer at 5/9/2005 12:00:00 AM
Hi! You can call a function in Flash movie from a link in a dinamic text field this way: <a href="asfunction:functionName">link</a> My question is: how can I pass a parameter to that function? Expression of the kind: <a href="asfunction:functionName(param)">link</a> doesn't work! -- Bla...more >>

javaScript SetVariable error
Posted by mattyshack at 5/9/2005 12:00:00 AM
I am calling a javascript link, that calls a cue point in the video, to my .flv file and I am getting an error that says Error: document.ent_video_controller.SetVariable is not a function The code works fine in Firfox and IE on windows but is not working on the Mac. Any ideas? I have fla...more >>

Help with Listener and new Object
Posted by Tini1 at 5/9/2005 12:00:00 AM
I?m loading a window with this code But how do I remove it import mx.managers.PopUpManager import mx.containers.Window open_btnListener = new Object(); open_btnListener.click = function(){ var myTW:MovieClip = PopUpManager.createPopUp(_root,Window, true, {closeButton: t...more >>

if loaded command to trigger external .swf?
Posted by ivan l. at 5/9/2005 12:00:00 AM
I have a series of external .swf's that I need to load into my main .swf for my web site. I want to load the second .swf in the background while the first .swf is playing. So I've got a loadmovie command on the first few frames of the first .swf to tell the browser to load the second .swf. In ...more >>

how to import javascript in flash
Posted by leerling_17962 at 5/9/2005 12:00:00 AM
I want to import a javascript into flash en export it as .swf can you please help me <SCRIPT LANGUAGE="JavaScript"> <!-- ; // numberguess by Galiel A. - written 9 Mei 2005 // leerling_17962@hotmail.com var guessme=Math.round(1888); var speech='Raad de levensloop'; functi...more >>

Remove All MovieClipos
Posted by fromsir12 at 5/9/2005 12:00:00 AM
Is there a Flash function/method that will remove all existing movieclips on the stage without tracking .... something like removeAllMovieClips() thanks, Brian...more >>

Problem with loading an application flash form
Posted by JohnXYZbob at 5/9/2005 12:00:00 AM
Hi, I'm currently developping an application on flash using forms and I have serious trouble with loading. It seems that the first frame of the rootForm screen is not loaded directly. How can I solve this problem please ? I tried to create a progress bar but I have to wait like 10 seconds...more >>

Help with variables!
Posted by ozzyT230 at 5/9/2005 12:00:00 AM
Im trying to learn about variables so please help me. I got a problem with the ' if( ) ' command in AS. I got two buttons when u press button 1 a dynamic text box increases the number by 1and button 2 makes 1 decrease. I just want to know how to use this script on the right way: if(hea...more >>

Can't select some buttons in designer
Posted by ThorLoki at 5/9/2005 12:00:00 AM
I have several similar Flash programs, done as Flash Form Applications. I am using some Buttons adapted from the Flash components. In two of the programs, when I am in the designer I can click on a button that is on the stage, and it is selected, so I can move it around, look at its Action S...more >>

Scrolling Pic Portfolio with rollover buttons - need a little help
Posted by megluney at 5/9/2005 12:00:00 AM
I have created an online portfolio site for my design company and am having one problem with my portfolio section. Currently when you hit portfolio a scrolling pane with all my work appears in a masked area, and when you roll over the pictures the scrolling action stops and you can see a biger...more >>

Themes and Halos
Posted by Beijufas at 5/9/2005 12:00:00 AM
I'm really sad whit this issue... Macromedia team made a nice work whit the halo themes... but why they dont let us made or aow themes??? in the way we want!!! ;) I just made some changes in StyleManager. as and CSSSetStyle.as files, (ad add some lines to have a new color in order to create ...more >>

Loadmovie Levels question
Posted by higrob24 at 5/9/2005 12:00:00 AM
I'm loading different flash movies in to the main flash animation of mine, I want to load in three movies. I want them all to appear in the same place in the main screen as they will only appear on at a time depending on what button is pressed. This i have achieved by loading them on t...more >>

actionscript jar file
Posted by globethought at 5/9/2005 12:00:00 AM
Is there an easy way to create the actionscript equivalent of a jar file? What I want to be able to do is just package up a set of compiled actionscript classes and allow them to be included on someone else's classpath. I don't want them to see or use my source actionscript directly. ...more >>

preloaders for external files
Posted by Jonathan Humfrey at 5/9/2005 12:00:00 AM
I would really appreciate any help on this. I am using actionscript to load movies containing images from an external file. The code looks like this: animator.createEmptyMovieClip("slide", 0); loadMovie(_global.slideFolder +_global.SlideNum+".jpg", animator.slide); I would like to have...more >>


DevelopmentNow Blog