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 > april 2005 > threads for thursday april 28

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

math.floor
Posted by Jason C Reynolds at 4/28/2005 2:31:07 PM
New to flash, trying to use the math.floor function. Can anyone explain this strange behavior.... If I put this code on a release function on a button: n = math.floor(0.34343); trace(n); I will get the expected 0. If I use this: s = 0.34343; n = math.floor(s); trace(n); I will get...more >>

Using The Items
Posted by Rob_jones732000 at 4/28/2005 12:00:00 AM
Hi (I emailed the file to you) I've done it so you can pick up all the items, i got some problems with using the items (ive done most of them). The latest problem is that i dont know how to say if a couple of items are clicked or collected then do a certain thing. At the moment i figured i...more >>

Gotoandplay Goes to and stops
Posted by frosto at 4/28/2005 12:00:00 AM
I'm trying to use a _root.movieclip.onrelease () function followed by a gotoandplay. When I test the movie it jumps to frame 2 as instructed, but stops intead of playing. I have also tried preceding it with an if framesloaded = totalframes. I am perplexed. Please help if you can. dan ...more >>

Smiley displaying ..?
Posted by Mansi-Padma at 4/28/2005 12:00:00 AM
Hi, I am a student, I had seen may chat application on flash. so, we decided to do a chat as cariculam project . can anybody please help me how to display smiley on chat. It will be a great help for me if provided with a sample code. Please help me..... thanks, Mansi ...more >>

Changing Users Screen Resolution
Posted by tardi3601 at 4/28/2005 12:00:00 AM
I am making a CD-Rom with a projector file. The project is 1024x768. is there a way in Flash to change the user screen resolution to match....more >>

Need Help with buttons
Posted by Troyski at 4/28/2005 12:00:00 AM
:confused; I am new to flash and am trying to create a link from a button to launch an executable (setup.exe). How do I accomplish this? I have gone to the support page and it mentions the on (release) { fscommand ("exec", "anyexecutable.exe"); But I cannot get it to work right. Once I cl...more >>

OMFG urgent!!!
Posted by Doodahead at 4/28/2005 12:00:00 AM
Nice atrracting title huh? Its my 3rd Flash day so this probly wont take you much time: // I tried a raising function // no1 is raised no2 times on(release) { current=no1 for(i=1;i>no2;i+1) { current *= no1 } trace(current) } // whats wrong here?! P.S. I'm using MX ...more >>

Setting the Date in Datefield
Posted by DaveHCYJ at 4/28/2005 12:00:00 AM
Is there a way to pre-populate a DateField with the current date? for example something like: on(load){ this.selectedDate = ???; } Secondly, I want my users to be able to select a range of dates. So if there is a way to pre-populate the datefield with the current date, is there al...more >>



guide to htis
Posted by Haahoou at 4/28/2005 12:00:00 AM
I am creating a demo for a s/w. which will be uploaded on the web. size may reach over 1 mb (it is detailed demo actually ) I am new to flash just knew the motion/shape tween and donat have idea about the action script. I have few Q 1- Instead of uploading the one large file how can i ...more >>

Where did it put my variable?
Posted by Pat D. at 4/28/2005 12:00:00 AM
I'm using a Flash Form Application. For simplicity I created a brand new one with just this in the default "form1": on (load) { var curWin:String = "this is curWin"; trace(this); trace(curWin); trace(this.curWin); trace(_root.application.form1.curWin); trace(_level0.applicatio...more >>

can someone help me with dynamic text
Posted by greatone305 at 4/28/2005 12:00:00 AM
Could someone give me some suggestions on how to make a dynamic text box fade-in and out. Im having no luck on doing this task. When I set them up to fade in and out they all just sit there on top of one another. I really don't know what Im doing wrong. What im trying to do is fade-in one ...more >>

How to close an Alert window?
Posted by Albert3 at 4/28/2005 12:00:00 AM
How can I close an Alert window from within an actionscript? I want to close the Alert if an user doesn't respond within a certain time....more >>

What's wrong with my "while"?
Posted by davidlieb at 4/28/2005 12:00:00 AM
Action script beginner here... I'm trying to get a movie (ball) clip to move to the right until it gets to the 400 pixel mark. I used the following while statement, on the first frame of the _root timeline, but the MC just sits there... var ballx = _root.ball._x; while (ballx ...more >>

Loadmovie Loads a JPG?
Posted by davidlieb at 4/28/2005 12:00:00 AM
I'm trying to use loadMovie to load a jpg. I don't understand what ourMovieClip in the below example stands for. Macromedia says "The following example loads a JPEG image from the same directory as the SWF File that calls the loadMovie action:" loadMovie("image45.jpeg", "ourMovieClip"...more >>

Bug in List.selectedIndices ??
Posted by dave66 at 4/28/2005 12:00:00 AM
I'm trying to have a multipleSelection List UI Component (Flash MX 2004 Prof) behave as if Ctrl key is depressed regardless if whether it is depressed or not (i.e., selections "stick"). One way to do that should be to push the index of the clicked row into an array of indexes of all previousl...more >>

radio problem revised
Posted by smrdo at 4/28/2005 12:00:00 AM
appoligies for posting again, manged to come up with this, which works, however there must be anicer more efficient way to do it, anyone have any ideas. Im using Flash MX. q1Radio1.setChangeHandler("rButton1"); q1Radio2.setChangeHandler("rButton2"); q1Radio3.setChangeHandler("rButton3");...more >>

Sound actionscripting..
Posted by jstreett182 at 4/28/2005 12:00:00 AM
Alright i have a button in my game that is set to play an mp3. The mp3 is named hbeat in the library. My coding looks something like this: on (release) { heartb = new Sound(); heartb.attachSound("hbeat"); heartb.start(0, 1); } But when i click the button, the file does not play.. A...more >>

Crop movie via actionscript
Posted by WickedSense at 4/28/2005 12:00:00 AM
Is it possible to crop my movie during certain frames of animation? Basically, my interface collapses into a small mp3 player on the click of a button, I do not want to have a window the size of the original interface. I am hoping to reduce the window size when the mp3 player collapses. ...more >>

Flash 6 support AS2?
Posted by fromsir12 at 4/28/2005 12:00:00 AM
Does Flash 6 support AS2?...more >>

wmv(ASAP!!!)
Posted by alvinpr at 4/28/2005 12:00:00 AM
how can i dynamically code a wmv file into a movieclip or on a keyframe ....or anywhere for that matter? ...more >>

Max Jpeg Size with loadMovie
Posted by gjiroux at 4/28/2005 12:00:00 AM
I am having a problem using loadMovie to dynamically load and display large images without cutting them off here is the code; createEmptyMovieClip("Img",1); Img.loadMovie("Image.jpg"); It seems that an image larger than 3000 or so pixel wide or tall gets cut off.... an image that is ...more >>

Flash/XML slideshow
Posted by AquaBoogie at 4/28/2005 12:00:00 AM
Okay AS pros. I have suprised myself and created a slideshow in Flash using XML. With the help of Kirupa.com of course. What I want/need to do now is get the slideshow to loop continuously. Someone suggested that I build an array, however I don't know the first thing about doing this a...more >>

Load Movie LEVEL Problem
Posted by K7AY3M0R3 at 4/28/2005 12:00:00 AM
Hi, i am making a portfolio for all my illustrations and have a nav bar that enables the user to select between the images. each image is in a seperate movie with a starting bar preloader. i want it so that when the user clicks on a link, the new image loads over the top of the previous image...more >>

send vs sendAndLoad
Posted by backpages at 4/28/2005 12:00:00 AM
I'm trying to send a form from a Flash file to a cgi mail script. First I used send: gatherForm.send("http://www.lotosnile.com.moses.com/cgi-moses/mail.pl", "_blank", "POST"); This works, but it opens a new window in the browser which I really don't want because the Flash movie advance to...more >>

please help with collision detection
Posted by fl4sh newbie at 4/28/2005 12:00:00 AM
i need some help with my collision detection. i thought that i had the code all right but i dont. . it seems like i have tried everything. unless...do i need like a onCollision (load) or ne thing like that? here is my code please review it and then try to find my mistakes. lemon is the e...more >>

Need Help!!
Posted by WilliamLucas at 4/28/2005 12:00:00 AM
This may be a very easy question, but I'm new to Flash. HOw do I keep a flash movie playing across HTML pages. For example, I have two pages. Both pages have the same flash movie. On my home page, I want a flash movie to play. When someone clicks on a link to go to the next page, I want the mo...more >>

Help with template: Menu_Dropdown
Posted by yn at 4/28/2005 12:00:00 AM
Flash MX (NOT 2004) Windows 2k first off, thanks for reading. I will be as clear and simple as I can. I'm using the Open from Template option for Menu_Dropdown. Menu component is connected to external .XML file. The component is a bit beyond my understanding so could someone please po...more >>

Targeting SWF Loaded Into a Text Field
Posted by stephendurham at 4/28/2005 12:00:00 AM
I'm loading an swf into a text field in an attempt to create an initial cap (over-sized, capitalized first letter - http://www.amillionthingstodo.com/yay/fig1.jpg) in that field. Problem is that I'm not using a monospaced font, so the widths of each letter are different. So, I need to be abl...more >>

Combobox/ form does open fast enough
Posted by toddb58 at 4/28/2005 12:00:00 AM
my form was fine until i put in comboboxes, it loaded super fast, with the addition of a few comboboxes it now loads aprox 8 seconds on windows 98, a bit faster in xp. is this a universal problem or a problem with the script? http://www.theinfoagency.com/index.peoplefw. tb ...more >>

detecting external swf
Posted by Rai_Kane33 at 4/28/2005 12:00:00 AM
is there a way of detecting if a swf has loaded into a container mc for a button.. say if movie is loaded into container the on release do said task but if nothing is loaded in that container then do nothing. at the moment I have on (release){ _root.container.gotoAndPlay("c...more >>

Media Component / FScommand ?
Posted by Octane1 at 4/28/2005 12:00:00 AM
Hey guys.... If I wanted to issue an FScommand when the play or pause button was pushed what would it look like? This is what I have but it doesn't work.... Any thoughts...I would appreciate the help var myMediaListener = new Object() myMediaListener.click = function(evt){ if evt...more >>

flash buton problem
Posted by WebGuyDesign at 4/28/2005 12:00:00 AM
I am stuck trying to create a certain button on my website. Basically I would like to have the buttons set up so when my mouse hovers over it. Users can click on it "immediatley instead of exactly pin pointing the mouse in the right location of the button. To fix this issue i know that when yo...more >>

Movie is taking too long to start.Please help me
Posted by Eduardo Tavares at 4/28/2005 12:00:00 AM
Hi! I have a preloader that is not working the way I wanted it to be. I have this code in the first frame: this.onEnterFrame = function() { total = getBytesTotal(); lidos = getBytesLoaded(); restantes = total-lidos; if(total == lidos) { gotoAndPlay(5); }else{ barra._...more >>

ComboBox.change
Posted by BillG-Chicago at 4/28/2005 12:00:00 AM
How can I get a ComboBox component to perform a function when the selection is changed, even if the only thing that the user does is open the combobox and click on the first item (that is, the first item in the combobox that's already selected)? I want the user to go to a URL when they make a ...more >>

flash buton problem
Posted by WebGuyDesign at 4/28/2005 12:00:00 AM
I am stuck trying to create a certain button on my website. Basically I would like to have the buttons set up so when my mouse hovers over it. Users can click on it "immediatley instead of exactly pin pointing the mouse in the right location of the button. To fix this issue i know that when yo...more >>

Layers
Posted by Flashkernel at 4/28/2005 12:00:00 AM
What is the maximum number of layers that we can create in Flash Mx and Flash MX 2004?...more >>

Get data associated with a cell in an image reel
Posted by BuenasHowdy at 4/28/2005 12:00:00 AM
Hello everyone, noob here - I have an image reel that moves left and right in a small window. Each cell in the reel contains a thumbnail image, name, number, location, etc. What would I need to do to let flash know what cell the user clicked, and point to the correct element in the arra...more >>

JavaScript and Flash
Posted by bobbysojitra at 4/28/2005 12:00:00 AM
Hi guys.. this is pretty urgent so any help would be cool.. I have a flash movie, with a dynamic text box on the stage called "theText". I want to set the value of this text from a javascript function. Heres are the relevant bits of code I have, which I think SHOULD work but dont! : ...more >>

File existence
Posted by lacmetro at 4/28/2005 12:00:00 AM
I have a flash app that uses a loader to load in files. Problem is I need to be able to check if the file actually exists or not, and then make a decision based on this information. Is this even possible in Flash, or must everything that is loaded must be known to exist for anything to work? T...more >>

beginner here, any help appreciated.
Posted by jbann13 at 4/28/2005 12:00:00 AM
ok, i'd like my movie sit on a frame for a certain time period, lets say 10 seconds, then goto a frame. how can this be done?:confused;...more >>

Vector Form
Posted by Colacola at 4/28/2005 12:00:00 AM
Hi Everybody. Hi, can somebody please tell me how can i trace a Logo in Flash MX and create a Vector form, so that I can open it in Xara 3D Software for giving some kind of 3D Effects, and also tell what is the way to open a Gif or any Image Logo in Xara 3D and modify it and after exp...more >>

Interactive Buttons
Posted by TINYGG at 4/28/2005 12:00:00 AM
I'm fairly new at actionscripting and am stuck right now hopefully someone can help. I create training programs for Army. This graphic I am trying to create is to help them understand how to fill out a certain form. What I want to happen is when the student clicks one of the 5 buttons a box...more >>

WMAs!!!!
Posted by jstreett182 at 4/28/2005 12:00:00 AM
how do i dynamically put a wma file on my website.... help me!!!...more >>

tooltips
Posted by mickof18 at 4/28/2005 12:00:00 AM
hi all can any1 help me and tell us how to apply tooltiptext on buttons. i assume it is handy but i cant seem to find any help on it. basically i have a few buttons and i want to apply this tooltiptext over the buttons when the cursor is over the button. thanks ...more >>

Play a movie from another movie
Posted by deleriumspeck at 4/28/2005 12:00:00 AM
Hy! I am a beginner in Flash Mx and i have a question.How can i play a .swf movie that is not in the library of my current movie?For example if i have a .swf and i would like it to play another swf that is in another folder and that was especially made for it which are the commands?Can you...more >>

Is there a function that returns an array of buttons on a specific level?
Posted by KelCFM at 4/28/2005 12:00:00 AM
Hello, Does a function (or algorithm) exist that will return an array of the instance names of buttons on _level0? If there's not a built in function, can someone explain how I may do this myself? Thanks ...more >>


DevelopmentNow Blog