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 > january 2006 > threads for wednesday january 25

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

Publishing and Exporting Sounds in Flash
Posted by SympliG0th at 1/25/2006 11:55:30 PM
I get this message both when I try to export and publish my flash file: Sound has no valid device sound path although exporting device sounds was requested in the export settings. This sound will be ignored. any suggestions? ...more >>

Javascript in Flash
Posted by SympliG0th at 1/25/2006 11:54:18 PM
I have gotten these errors in many different forms depending on how i've tried to code it, but I cannot get it to accept my coding. **Error** Symbol=content_mc, layer=Layer 1, frame=1:Line 3: ')' or ',' expected 'height=400','width=400','toolbar=no','scrollbars=yes')} **Error...more >>

Movieclip Tweening Prototypes Extension... please help!
Posted by shambo at 1/25/2006 11:19:50 PM
hi -- i'm unclear what the proper syntax is for using #include "lmc_tween.as" in conjunction with a piece of script like this: on (rollOver) { this.slideTo(20,50,12); } i keep getting errors... could someone show me what the right code is? ...more >>

XML ignoreWhite doesn't work
Posted by bsidemedia at 1/25/2006 10:07:46 PM
Using sendAndLoad() to retrieve xml from a server, the response is stored in a new XML object. stripWhite=true DOES NOT eliminate whitespace between nodes. Using sendAndLoad() to retrieve xml from a local doc.xml, stripWhite=true DOES eliminate whitespace between nodes. Unfortunately I n...more >>

Prevent caching of music track in flash
Posted by Cetrez at 1/25/2006 10:07:36 PM
Hi all I'm wondering if it's possible to prevent caching of a music track (either if it's in a swf file or mp3) in flash. I wan't to put an artists latest single on a webpage but he doesn't want anybody to be able to save it from temporary internet files. This goes for an mp3 song and a...more >>

Flash game design
Posted by Lzhang at 1/25/2006 10:05:16 PM
Being an amateur Flash developer, I naturally want to try to make a game of my own. I did, if not completely successfully develop a control for my game character. It could walk with ease but when it comes to jumping, sometimes impossible things happen, with the character getting stuck in the a...more >>

Sound.onLoad for streaming sounds
Posted by lindsayvine at 1/25/2006 9:37:17 PM
If I load a streaming sound : new_sound = new Sound( _root ) new_sound.loadSound( "sound.mp3" , true ) And then I specify an onLoad handler : new_sound.onLoad = function() { .. } When will the function be called? Will it be called (a) when the sound has buffered enough ...more >>

Nested function problems
Posted by supdun at 1/25/2006 9:13:13 PM
I'm not sure whats going on here. Maybe someone can take a look and see. Pretty much I'm trying to trace imgObj.panImage. Of course imgObj being the class and panImage is a getter. private function imagePan(direct:String):Void{ if (imgPan) { trace("start pan"); startPan(); ...more >>



static functions accessing global variables?
Posted by stephan.k at 1/25/2006 9:12:31 PM
I have a static ErrorHandler.as class. And there's also a Script.as class which contains all the paths to all the external php scripts. The ErrorHandler class needs to know where to send the Errors and asks the Script.as class... however I can't get that to work because ErrorHandler.as is ...more >>

Using a variable name to refer to a
Posted by MikeD. at 1/25/2006 8:49:11 PM
I am trying to create a single little function that can handle a variety of sounds (audio narration) that play during my movie. When someone clicks the "mute" button, I want to stop all sounds (easy), and then get the current position of the audio clip that happens to be playing. That way...more >>

STOP this Counter....?
Posted by G_Swank at 1/25/2006 7:43:38 PM
At the end of the code I have included a stopButton. btn_stopTime. What I need to be able to do is shut this thing down in mid-stream so whenever I hit STOP - it stops - and leaves the whatever is in timer_txt there. (Stop watch style) Can you folks poke around and let me know if clearInt...more >>

Selecting a List Component Item with ActionScript
Posted by muzicman82 at 1/25/2006 7:42:26 PM
I have a list component being populated with XML. I want to be able to use ActionScript to select an item by index. How would I go about doing this. I won't get into details of why I want to do this, but suppose I wanted to create a button that, when clicked, did the same thing as clicking on ...more >>

mc depth setting
Posted by dirkness at 1/25/2006 7:29:47 PM
Hi I've set a series of movie clips buttons to automatically assume the highest position on on mouse press - however, I'd like the movie clips to remain under (a lower depth) a movie clip (a 'picture frame') on another higher layer. The depth change for the movie clip buttons was achiev...more >>

onSoundComplete failing randomly?!
Posted by wisdomtoolsbeb at 1/25/2006 6:21:57 PM
We are building a Flash 8 application for spelling training, and it uses onSoundComplete in many places to playback the spelling of words (such as all the letters in a word: D-O-G, etc). We use a recursive onSoundComplete function to increment through an array of sounds, playing them all unti...more >>

Multiple Line Attach Points
Posted by Jadeivy at 1/25/2006 5:14:21 PM
This thread actually stems off a previous thread on line measurement, but I thought a new thread was in order (as that one grew into another topic). With the fantastic help of kglad and NSurveyor, I was able to get my idea of having a basic logic box structure take place. My question now...more >>

Capture an image and save it
Posted by daniel_db at 1/25/2006 5:02:22 PM
Hi, does anybody know how can i capture a frame from a webcam and save it as a JPG file? Thanks Daniel...more >>

How can I detect When the ENTER key is pressed?
Posted by DazFaz at 1/25/2006 5:01:47 PM
How can I detect When the ENTER key is pressed? You used to be able to do it inprevious version of flash but for some reason I cant appear to be able to do it now. I can detect other button presses but not enter. Has anyone any ideas. Cheers ...more >>

Flash 8 FLA in MX2004
Posted by Flyer2005 at 1/25/2006 5:00:34 PM
I have been working on a project which was built using Flash 8. I have noticed that certain declarations produce compile time errors in MX 2004. e.g - var myTween:Tween = new etc..... compiles an error if I use the onMotionFinished function. yet - var myTween = new etc... compiles fi...more >>

XML load problem with AS2
Posted by franjov at 1/25/2006 4:49:09 PM
This is a class I wrote with the help of a book, which I'm using to try to retrieve some data from a basic xml file which has 3 root nodes and those having 3 child nodes. It is showing all attributes as undefined. I am new to actionScript2 so your guidence on this would really help. Thanks! ...more >>

Shared Object
Posted by ing2 at 1/25/2006 4:39:43 PM
Hello I would like to develop a CD elearning course that will not be web accesible, so i'll be using the Shared Objects to save the users info on their computer. I understand how Shared Objects work and have one working but i would like to have the ability to allow numerous users for one c...more >>

input Fields tabbing order
Posted by stephan.k at 1/25/2006 4:36:02 PM
Hi Forum I am creating a input form with about 10 fields. I am using flash8 and I would like to set an order in which they are activated if the user tries to use the "tab" key to tab through the form. Is that possible? If so How? If anyone could point me in the right direction th...more >>

problem with external variables
Posted by Cristina at 1/25/2006 4:27:00 PM
Hello: I'm doing a dynamic drop down menu, each button is called from a variable in an .tx where I wrote: &nItems=89&country1=aediva&country2=anden&country3=anclas&country4=andromeda&cou ntry5=anubis&country6=aula73&country7=babylon&country8=bagus&country9=barba...et c until 89 my ...more >>

looping an external FLV
Posted by epic306 at 1/25/2006 4:19:20 PM
Hi, Does anybody know exactly how to loop an external flv in flash 8? I'm using the FLVPlayback component to display the video, how can I make this one video loop? Second question is how to play one video, then onto a list of videos, so after one is done, it plays the next. Everythin...more >>

trace action error
Posted by krustafarian at 1/25/2006 4:05:54 PM
this is an action within a movieclip/button which traces the number of the dynamically generated button and goes to the relevant frame on the _root timeline, but it isnt working, it seems to be tracing the button, but isnt going to a new frame. onRelease = function () { // find out what...more >>

Problems with Classes
Posted by Xx)MaveriK[X] at 1/25/2006 3:43:07 PM
I created a class called MatrixEfect and it uses Math and MovieClips functions. But, when I run the script, i recive these errors: **Error** MatrixEfect.as: Line 78: There is no method with the name 'Math'. this.charCode = String.fromCharCode(97+Math.random()*(122-97)); The same error oc...more >>

read and write txt file or cookies out of flash 8
Posted by deerowbear at 1/25/2006 2:35:53 PM
I was wondering if anyone had any knowledge of writing files out of flash and then reading them back in via actionscript or javascript with in flash. If anyone knows could you please help. I found this as a starting point but any other help would be appreciated. /////script/////// on ...more >>

Media Player in Flash
Posted by Arunkkumar2207j at 1/25/2006 2:25:13 PM
To create Media Player in Flash, which dynamically creates movie clip taking data from XML file and displays videos accordingly in flash media player. Navigation buttons controlling the current playing video ...more >>

gif and text fade in's
Posted by mattech3 at 1/25/2006 1:19:57 PM
Hi, I have a requirement to :- fade in a gif, followed by a fade in of a block of text then followed by a fade in of another block of text. i'm newish to flash (have vers 5) but am pretty software savvy. is this possible in flash, is it best to use actionscript, how do i do it? ...more >>

AS for player 6 to player 7
Posted by Brian at 1/25/2006 1:05:15 PM
I have the following AS and it works good as long as I publish the file as a player 6 file. Once I change it to 7 it does not work anymore. I am not sure what parts are causing the problems. I would like to make this work for 7 somehow. Could anyone point me in the right direction? Thanks a...more >>

How to make a screenshotviewer in Flash
Posted by moodgraphics at 1/25/2006 12:57:05 PM
how do I open large images from an external source, by clicking the thumbnail: in a new window, with an exact size? (boy, that was exactly to the point, wasn't it? ;) also, could I load a template, and just swap the image inside it, that would be very helpful for my project? ...more >>

Drop down rowcount problem in flash-8 not in Mx
Posted by kamsky at 1/25/2006 12:50:42 PM
Drop down row count problem in flash-8.if the items is more than rowcount a slider will appear inside combobox in FlashMx.But not in Flash-8.why? Help Appreciated....more >>

loadVars
Posted by iffi at 1/25/2006 12:41:08 PM
Hi! My swf file is on www.server1.com the i am trying to retrive data in swf from server2.com. All scripting is working fine on local... but when i upload the swf file it stops working. urgent help needed. thanks, Erphan Rajput. ...more >>

need a spacific code
Posted by Sethsocrazy at 1/25/2006 3:58:20 AM
when the control button is pressed it goes to the next frame I don't have much experience with the action script, if you could someone me something to copy and paste that would be great...more >>

startDrag
Posted by dirkness at 1/25/2006 1:45:25 AM
Hi I have 9 images that are draggable on my screen - and when pressed become the top image- using the script below. I'd also like to constrain to a rectangle (or coordinates) - ideally adapting the exisiting script and movie clip set-up. Grateful for any ideas on achieving this. ...more >>

disabling the entire stage
Posted by guanomike at 1/25/2006 12:59:27 AM
hi! what I'd like to do is disable the whole stage at a point in the application. I'd like the buttons not to respond to mouse clicks and pressing the keyboard to have no effect whatsoever. I know that an option is to change the on??? event handlers of every button and movie clip to nothing,...more >>

progressive download video
Posted by Scally_Ally at 1/25/2006 12:00:00 AM
Hi all, I have made a flash file that progressively downloads a movie from an flv. The problem is that when i run it locally it works, when i run it on a web server the video just doesnt load. Am i missing something completely obvious here?? one line of code maybe?? Here is my code t...more >>

is it possible to display an external data to the screen without using textfields?
Posted by PogiEnGanda at 1/25/2006 12:00:00 AM
:confused; is it possible to display the contents of an external txt file in the screen without using textfields? i am a newbie to flash as well as actionscripting.. in the lectures i have gone through they discuss about how to dynamically display text and all of them used textfields plus scro...more >>

accessibility and use of keys
Posted by erics22 at 1/25/2006 12:00:00 AM
Hello I'm working on an accessible site for children with disabilities and I need to scan buttons the same way flash does with tab key or spacebar but using other keys (right arrow and enter). It's easy to simulate the tab key but how can I simulate the spacebar (when the button is selected,...more >>

swf movie size
Posted by pionium at 1/25/2006 12:00:00 AM
Hi, does anyone know if there is a way to determine the size of a swf movie (ie the movie's _width and _height) when loading it into a target movie clip, but before it has been assigned the dimensions of the movie clip that receives it? Or to put it another way... if submovie.swf has ...more >>

How can determine if an external file to be loaded exists or not
Posted by heart ways at 1/25/2006 12:00:00 AM
i am loading an xml file for a flash calander "Events" some months have events the others doesnt how can i know if there is a file for a particular month and load it if not just display an empty month. http://demo.ascasociety.org/newsgroup.aspx?group_key=news&lang=en the calander as at ...more >>

Phantom call to tree.draw() causing performance problem
Posted by Rakesh Kamath at 1/25/2006 12:00:00 AM
Hi. I have two components on stage - one of which is a drag and drop implementation using mx.controls.Tree. the other component is an empty 'diagram' where I have components which I can drag around. I have a wierd problem where when I mouse down over the background of the 'diagram' or I ...more >>

avoiding "jumps" in animation
Posted by talnagar at 1/25/2006 12:00:00 AM
Hi, I have an animation of a man running, andI want to use it in my menu bar. I want the man to run towards a button when the mouse is over him. I used the rollOver rollOut of the button, and it works fine with one button, but when I use it on several button there are sort of "jumps" of th...more >>

sequence of FLV
Posted by Emiliano1975 at 1/25/2006 12:00:00 AM
Hi, I need to create an flv file sequence. I have 3 flv 1.flv 2.flv 3.flv I tryed this way: 1.flv and 2.flv play correctly, when the sequence arrive to 3.flv it stop. _root.i=1; playVideo() function playVideo() { video.setMedia(_root.i+".flv"); video.play(); var ...more >>

shared graphics
Posted by sneskid at 1/25/2006 12:00:00 AM
I'm sure this has come up many times. Say I have 1000 movie clips, all created based on the same movie clip, I know they are all unique but is there a way to make some of the properties shared. The point being you don't have to run a for loop to change each one? It would be like a static c...more >>

newline character
Posted by Gauav J at 1/25/2006 12:00:00 AM
Hi All I have a issue. I hope some has a solution. I have a textfield in flash i can write text on it. but when i press CTRL+J a new hidden character is add to it as " NEWLINE " i as i am checking a string so if i have right answer in the text field and i press ctrl+j and then check the a...more >>


DevelopmentNow Blog