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 > august 2005 > threads for wednesday august 3

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

Wait for 'any' keypress
Posted by alanhook at 8/3/2005 11:45:33 PM
I am still very new to actionscripting. I have figured out how to script to wait for a specific keystroke (say 'a'). I can't figure out how to script to wait for 'any' keystoke. Is there a simple way to do this, so that the user can hit any key at all on the keyboard to advance the scene? I am...more >>


help with boundries
Posted by Thefatman at 8/3/2005 11:31:33 PM
i need help with a game i am creating. In this game i hope to have this man walking down the street shooting things comming at him, i have managed to get him firing and shooting, BUT, i want him to stop at the edge of the road, i can't fgure out how to do this. I have already made the road a s...more >>

How do i make the symbol move forward
Posted by spudless at 8/3/2005 11:07:04 PM
I need to know the actionscript for making the symbol move in the direction that it is facing when up is pressed and how to make it rotate 90 degrees when left or right is pressed. The code i'm using now is on(keyPress "<Left>"){ tank._x = tank._x - 10; } //////// on(keyPress "<Right>...more >>

Empty media display, can this be done?
Posted by Thorulf at 8/3/2005 10:58:20 PM
Hi, I have an swf with several frames. On each frame I have a media display component loading an external flv file. To view the different videos I use button navigation to jump between the frames in my swf. The problem is that when an external flv is being played via the media display and I ...more >>

Importing jpg function
Posted by Easelmoth1 at 8/3/2005 10:08:41 PM
Hi, I am putting together a fairly simple jpg upload with a preloader attached so I can use this function throughout an e-learning module. I have everything working, but my preloader bar. I can't seem to make it get longer. I have gone over and over the code and I know I just am not se...more >>

Problem with playing multiple imported sounds
Posted by fire_flash at 8/3/2005 9:40:34 PM
Hi , I have this problem imagine you import an external mp3 (or from a library) sound length is like 1 or 2 seconds. when you try to play , the sounds does not play consequence and delay between them are sometimes different . please help using setInterval you play it like thi...more >>

ScrollPane Border
Posted by scott filloon at 8/3/2005 8:49:49 PM
Hello, I'm using the scrollPane component in my Flash movie but I'd like to make the border go away or invisible. I've looked all over and can't seem to find a solution. Anyone know how to do this? Thanks in advance, Scott ...more >>

Browser caches files when using Load
Posted by ManinBlaq at 8/3/2005 8:33:33 PM
I have a small flash app running in a browser, that submits new data to a php page. The PHP script processes the data and updates a file on the server. The flash program then uses the xml.load function to grab the file. When the flash file initializes the first time it seems to work, but a...more >>



how to manipule shape points via AS??
Posted by sneskid at 8/3/2005 8:28:25 PM
u know when u draw a simple shape, like a circle or square, they have points, and sometimes those points have other points that define a curve. Id like to be able to manipulate those through action script. Anyone know good articles? thanks ...more >>

extending mx.screens.Form
Posted by alec mce at 8/3/2005 7:18:03 PM
I'm wondering if anyone has any ideas. I'm stumped. I'm extending the class mx.screens.Form fairly comprehensively and I have two base-classes for my appilcation, which I'll call standalone and navigable. I'm extending these into particular forms. In standalone, the constructor does, among...more >>

Forcing Preloader First
Posted by Mooga2 at 8/3/2005 7:02:37 PM
Hi all, I have a great preloader and it functions just as I want it to. The only part that seriously bites is that it doesn't load until the project is about 89% complete. The preloader is the only first and only layer being read while it cycles. There is a lot to download (3 megs) and...more >>

Simple question concerning ++
Posted by bwm_razel at 8/3/2005 6:54:27 PM
How would I say: if (blahblah) { variable ++ } else (blahblah { variable stays the same } In other words, I have something that says: if (option1_rb.selected) { _global.score ++ } But I believe i need an else statement after that that says if it's not selecte...more >>

Another question about scope
Posted by vinylJunkie at 8/3/2005 6:46:05 PM
I've got two classes. The first extends MovieClip (although if i can get this scoping issue out of the way it may not need to), the second class extends the first class. I have an issue with the scope of SOME methods in the first class not being called at all from within another method in...more >>

Combobox Rollover
Posted by tashwhan at 8/3/2005 1:07:21 PM
Hello all! I am making a cd rom in flash and i am using the combobox component to allow the user to choose between different cities within a certain radius. What I REALLY want to do is change the background pic while the user rolls over different options in the combobox. The background p...more >>

Problem with printing the contents of a scrollpane
Posted by nielsend at 8/3/2005 1:01:03 PM
Hello, I have got a problem with printing the contents of the scrollpane (component). Whatever I try, it prints just the visible area of the scrollpane. Has anyone a solution other then making a duplicate outside the scrollpane? Cheers, Niels ...more >>

Scrolling won't stop if user clicks and the moves mouse
Posted by bwm_razel at 8/3/2005 12:47:32 PM
What I mean is, if the user clicks on the arrow button on the scrollbar to go up or down, it'll scroll fine and all, but if one were to hold down the mouse button after clicking the arrow and then move the mouse off the arrow while still holding the button down, the scrolling would continue. I...more >>

uploading an image
Posted by Dave Mennenoh at 8/3/2005 11:58:44 AM
Is there a good tutorial on letting a user upload a .jpg image to a flash app? I know I can use JavaScript to open a browse window and then let PHP handle the upload. But I'm a bit fuzzy on the whole process - I'd like to limit the user to either a max byte size, or a max dimension size. Once...more >>

How do I change print orientation
Posted by Lucy4 at 8/3/2005 11:50:41 AM
I have a button that prints the page when somebody clicks on it. The problem is that it prints in portrail format rather than in landscape format. How do I change this? I've put the code for the button below if it helps. Thanks, Lucy on (press) { if (_root.flaton == 0) { toog...more >>

Nested MovieClips
Posted by gmcc051 at 8/3/2005 10:59:15 AM
Our study group is creating a virtual photo album that can have photos dragged into it. This is a non-web Flash app. The idea is to have a Page object that has Photo objects dragged into it. Everything has to be a MovieClip becuase they all need to be draggable. I figured we could have a...more >>

Closing Web Browser
Posted by Onnuri at 8/3/2005 9:41:20 AM
Hi, I know how to open a new web browser with "getURL," but how can I close the current web browser where the flash is on? Please let me know. Onnuri ...more >>

flash map show/hide layers
Posted by endanagle at 8/3/2005 8:48:28 AM
Hi, I'm coming back to Flash after a break of a few years leaving me more than a little rusty! I have to create a flash map for a client showing routes for their charter airline and had one created last year where I was using a messy series of layers and depending on the rollover it wo...more >>

Re: ComboBox doesn't work with loadMovie
Posted by LuigiL at 8/3/2005 7:44:16 AM
When you load a movie with a combox in another 'container' movie, you need to have an instance of the combobox in the library of the container movie. Drag an instance of the combobox to the stage of the container movie and delete it from the stage. The container movie now has an instance of th...more >>

delete this.onEnterFrame - please help
Posted by GmR at 8/3/2005 7:08:48 AM
I'm having a rough day --- now I've boiled it down to a problem with two functions both using "delete this.onEnterFrame". Since both onEnterFrame scripts can be running concurrently (one has an image fading up, while another is fading out), how do I clean up one onEnterFrame script and not l...more >>

HTML and SWF Tricky question
Posted by boybetrayed at 8/3/2005 6:34:47 AM
I have created a SWF file with audio in it .I have inserted the SWF into numerous web pages(HTML pages ) across my website. What i want to do is once a user is on one page e.g, index1.htm and listens the music... and when click on index2.htm i want the same music to continue without starti...more >>

Scrollbar Action Script
Posted by chorndon at 8/3/2005 6:07:26 AM
I am trying to make a simple box of text scroll in a box. I have already made the text dynamic and have made the text field 'scrollable' My only problem is making my up and down buttton actionscipts so when I hold down and press the up or down button it will scroll through my textbox. Any he...more >>

how can trap an error
Posted by Rajesh199 at 8/3/2005 5:54:59 AM
hi ! How can catch "Error opening URL" error : i m loading a movie and if the file is not found then its giving that error. so i want to catch. thanks...more >>

Class limitations?
Posted by Dinghus at 8/3/2005 12:32:50 AM
Playing around with classes in AS2.0 and I'm wondering if I can get one that outputs a textfield or other component. I tried putting a createTextField in the constructor in the class file but was told that method doesn't exist. I've scoured the documentation but can't find an answer. ...more >>

Help! - how to not have cached files
Posted by Dylan C at 8/3/2005 12:00:00 AM
I am building a jpg image viewer with flash. The swf viewer fetches jpg images from the web server and displays them to the users. So far so good. But I noticed that the image files appear on 'Temporary internet files' directory. I'd like to know if there is a way so that the viewer ca...more >>

Load external swf at specific frame inside an mc
Posted by dj pharaoh at 8/3/2005 12:00:00 AM
I have been browsing these forums and have found many posts dealing with my question but I have not found a solution that works. Therefore, here is my problem. I have a main swf containing my main graphic and a few emtpy movie clips to hold my navigation, a disjointed rollover graphic and ...more >>

Passing Var From SWF To HTMLFrame1 To HTMLFrame2 To SWF
Posted by smithe_98 at 8/3/2005 12:00:00 AM
I'm trying to sync two differnt SWFs. I want the first SWF(a) to start playing and have actions occur in a second SWF(b). The problem that I'm having is that both SWFs are embbed in HTML pages that are also embedded in a Frameset and I don't know how or where to start tackleing this problem....more >>

External Functions in .as
Posted by EddyW15 at 8/3/2005 12:00:00 AM
Hye, I've not found answer anywhere so I post this message : I've two .as with all the functions I need to use in my fla. Many functions are used in different movie clip. In my two .as I've this : function aaaa():Void { .....;} function bbbb():Void { .....;} ..... On the first fr...more >>

How would I get this to auto rotate?
Posted by Bellah5 at 8/3/2005 12:00:00 AM
Any help would be appreciated. Thanks in advance! speed =5; photo_width = 380; // photo_mc.onEnterFrame = function() { photo_mc._x += (final_x - photo_mc._x)/speed; } btn01.onRelease = function() { final_x =0; } btn02.onRelease = function() { final_x =-photo_width; } btn...more >>

Replace Statement
Posted by Jazzerboo at 8/3/2005 12:00:00 AM
I work in asp and have recently just started using Flash. In asp there is a command called "replace". It will take a character and replace it with another character. What I am wondering is if Flash has a similar function. I have tried looking for it everywhere and have not been able to find it...more >>

Halo around TextInput
Posted by chanv at 8/3/2005 12:00:00 AM
How do I bring a Halo around TextInput component, when it received focus/when the user is typing some text using AS. I get halo around TextInput when the user hits the tab and types, but not when the user actually clicks inside a TextInput and starts to type. I appreciate any help . Tha...more >>

Help move data from HTML to Flash
Posted by across22 at 8/3/2005 12:00:00 AM
I have what I think is a simple project but I cannot figure it out. I have on an HTML page a certain number of thumbnail images. Each thumbnail links to another HTML page with an embedded SWF that is essentially a slide show of the full size images. I want to go directly to the frame that co...more >>

Easy way to duplicate an MC?
Posted by sneskid at 8/3/2005 12:00:00 AM
im not talking about duplicating in the traditional sense of flash, more like having one MC but being able to draw it in several places, kind of like copying and pasting the image. The point being is if the MC has alot of baggage and overhead it wont apply to the coppied image. I hope that m...more >>

Preloader Percentage To Count Down
Posted by Rob_jones732000 at 8/3/2005 12:00:00 AM
Hi Maths isnt my strong point!! How can i get it to count down from 100% to 0% when its fully loaded? Here's the script i want adjusted. Thanks bytes_loaded = Math.round(_root.getBytesLoaded()); bytes_total = Math.round(_root.getBytesTotal()); getPercent = bytes_loaded/bytes_total; _...more >>

Please help >> multiple scenes
Posted by gigisfarleaza at 8/3/2005 12:00:00 AM
Please help i have a problem.. I have 2 scenes and I what to find out total frames from Scene 2 but i don't know haw I have tried getProperty("/", _totalframes) but it give me the tottal frames from both scenes. if I chage the / from the brackets with Scene 2 its not working: getProperty...more >>

Page Numbers with DataGrid (and DB source)
Posted by Lienne at 8/3/2005 12:00:00 AM
I'm trying to learn how to manipulate mssql database content pulled through PHP to my DataGrid. I have everything worked out to this point, but now I want to be able to scroll through data in a DataGrid with a certain number of entries per page, and have the # of pages dynamic, based on (# of ...more >>

Loading Jpgs - registration point?
Posted by GmR at 8/3/2005 12:00:00 AM
Is there a way to determine/set the registration point for jpgs that I am dynamically loading? As they vary in size I need to position them according to their dimensions. Thanks Geoff...more >>

Can't get tank to go forward
Posted by spudless at 8/3/2005 12:00:00 AM
hello i'm a newbie and i'm making a tank game at school and i need to know how to make the tank go forward not up so please help me...more >>

give some good flash web site,thanks
Posted by catforest at 8/3/2005 12:00:00 AM
come here first time. guys have a good time....more >>

registerClass & MovieClipLoader
Posted by adrakadabra at 8/3/2005 12:00:00 AM
I want to link a class to an empty movie clip. I have done it using Object.registerClass() I use MovieClipLoader to load another movie clip inside the empty movieClip. Then all the functions I added by linking to the class disappears. Is there a way of not loosing it? Also, is there a ...more >>

can't seem to get help here
Posted by leanne827 at 8/3/2005 12:00:00 AM
hi when ever i came to this site for help in the past- thankfully i always got the help i needed. lately it seems i can't get the answeres to the questions i am posting. i have stated that i do not write action script , but the answers i get always assume i know action script. all i ...more >>

Re : Save and Load text file from local hard drive
Posted by Vinlan at 8/3/2005 12:00:00 AM
Hi everybody, I want to make a internet game which has ability to save and load text file from player local hard drive, the text file actually contain variables which record the game progress, is it possible to do that? I have browse the web and I found a undocument flash command : MMSave,...more >>

Preloading JPGs
Posted by GmR at 8/3/2005 12:00:00 AM
I am building an image preloader for a jpg slide show. I am planning to unload each jpg as soon as it is loaded, as I understand the jpg will still be instantly available from cache. Is this right? Here is my code. Any adivce appreciated! for (i=0; i<totalSlides; i++) { imagePath ...more >>


DevelopmentNow Blog