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 > october 2006 > threads for monday october 16

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

Analogic clock
Posted by pr777 at 10/16/2006 10:50:08 PM
Hi, i've this analogic clock movieclip with the following code: time = new Date(); hours = time.getHours(); minutes = time.getMinutes(); seconds = time.getSeconds(); if (hours>12) { hours = hours-12; } if (hours<1) { hours = 12; } hours = hours*30+int(minutes/2); minutes ...more >>

Access class through SWF?
Posted by Grinshtein at 10/16/2006 9:43:05 PM
I've written a class I want to let someone use, but I don't want them to have access to the .AS file. Can I import it into a SWF and allow them to call it that way? Is there some other way of allowing people to use classes without giving them the .as file? ...more >>

Sound Loop Problem
Posted by Essam Maccar at 10/16/2006 9:42:39 PM
Dear Guys i have this action on a button and i need the sound to loop but it is not looping do you know what is the problem on (release) { var my_sound:Sound = new Sound(); my_sound.onLoad(); //.loadMovieNum("music.mp3",1); my_sound.loadSound("music.mp3", true); my_sound.setVolum...more >>

loading SWF's: centering
Posted by southbeachbum at 10/16/2006 9:02:46 PM
I've got a script which applies to a clip, myClip. I need to load movies or image files into that clip. What loads needs to be at a higher level than everything else, let's say level 100. The loading swf's contain a single image whose registration point is center. The target clip, myClip, ...more >>

this[item].on(click) = function () {
Posted by t_wooton at 10/16/2006 9:02:05 PM
I was going to go into each on of my radio button components and add on(click){ .... } function but this seemed redundant if i could get some sort of actionscript to run on the main timeline. The code below gives me the error [Q]Expected a field name after '.' operator.[/Q] Anyway to do this. ...more >>

JSON and Actionscript
Posted by Crandom at 10/16/2006 8:39:20 PM
I am trying to implement JSON into Flash Actionscript. I have found the script that allows this from http://json.org/ (found here: http://www.theorganization.net/work/jos/JSON.as) in the form of a [b]Actionscipt Class[/b]. I tried to include this class with: [i]#include "JSON.as"[/i] ...more >>

Ending Flash Files with Actionscript
Posted by Captain Elgy at 10/16/2006 7:01:14 PM
Hi there folks, Unfortunately I'm new to flash so you'll have to forgive this question, Q) What is the correct script to end a flash file once it reaches a specific frame (e.g If you want to end a Flash presentation when it reaches a certain point!?). If anyone can help with this, it...more >>

can you compress or uncompress string data in xmlsocket????
Posted by jojoba at 10/16/2006 5:44:25 PM
Hi I am currently sending data back and forth over a LAN using sockets. The server is using a python socket. The client is using a flash xmlsocket. I have been able to transfer string messages both ways no problem. However, i was wondering if it's possible to: decompress incoming data ...more >>



trying to add a preloader to a slide presentation
Posted by bb73 at 10/16/2006 5:08:30 PM
Hello, I've created a Flash presentation (using version 8 pro) using the presentation template for streaming online. Here's a quick overview of the project: - there are 68 total slides - slide 1 is the primary parent slide and contains the preloader info - slide 2 is the seconda...more >>

Click and move function
Posted by randybruder at 10/16/2006 4:55:14 PM
is it possible to have a large button that would move, moving where ever you click to the center of the screen? (similar to the way the google earth program works.) thanks! -randy...more >>

How Do I Tell If A JPEG/SWF Has Loaded/Is Loading?
Posted by ccaptainsubzero at 10/16/2006 4:43:19 PM
I did a site for a photographer, loading an XML file and then loading all the thumbnails and images. At his request I loaded ALL the images at the beginning (looped through XML file and loaded images one by one -- loading each when previous one loaded) Needless to say, this approach has ...more >>

Timeout in LoadVars
Posted by SMB at 10/16/2006 4:34:54 PM
I have a question that seems to have come up a few times without any solid answers. How long is the timeout for an onLoad event from sendAndLoad? I have a script that takes about 500K of data sent from flash and does some image processing. The whole think takes about 35 seconds or so. ...more >>

really easy question
Posted by peenut1313 at 10/16/2006 4:28:11 PM
Hi; Hope someone can help. I'm trying to pass a variable when I hit a button from one movie vlip to another movie clip on the timeline. on (release) { var MP = ("Vid_Neck.swf"); _root.movieplay.gotoAndPlay(30); this._parent.Opener.gotoAndStop(135); } In the movieplay movie ...more >>

setInterval issues...
Posted by hutch-diggens at 10/16/2006 4:09:14 PM
Hi, I am trying to action script an image slide show to where the images are kind of rotating and timeline will stop on the image that is up front. I'm just not sure how to code this. I tried using this: stop(); myInterval = setInterval(myPause,10000); //10000 is 10 seconds myPause...more >>

external swf plays to fast
Posted by Spyndl at 10/16/2006 4:06:06 PM
I am fairly new to using Actionscript and am having trouble figuring out what I need to do. I have a main document that calls modular .swf movies that I have set up. After I have audio play it loads up a .swf with a powerpoint that I converted to flash. When I play it in my main document it...more >>

Sideways scrolling in flash
Posted by SkS4877 at 10/16/2006 3:58:57 PM
Hello, I've searched through the forums and can't seem to find a tutorial or example FLA that will show my how to do a sideways scrolling page in flash. Has anyone got any ideas? Here is the design of the page with scrollbar at the bottom with the button in green: http://www.choose...more >>

calling function from movieclip
Posted by Demonic_Cat at 10/16/2006 3:46:52 PM
hey, i'm making an .fla that has a function on the root of the first frame called "subOpenen". now i need to call that function from a movieclip named "mc_inhoud" that is attached to frame 2. is it possible to call that function from that movieclip? thanks in advance ...more >>

calling a .exe from a Flash projector file
Posted by Goo101 at 10/16/2006 3:21:03 PM
Hi, I'm trying to call a .exe file from a Flash Projector file using the following code . . . fscommand("exec", "RipstationLite.exe" f="TouchScreen.rsf"); The code "f="TouchScreen.rsf" points to an XML structured file which contains all the settings necessary for the RipstationLite.exe...more >>

Control FLV Playback with Keyboard
Posted by pjmowbs at 10/16/2006 11:45:07 AM
I'm new to Flash but I can't seem to find an easy way to bind the FLVPlayback components to key presses insead of the mouse. eg I want to stop and start an flv by pressing a key on the keyboard. Any help appreciated. ...more >>

Changing Speed of Flash Parts
Posted by arminpohl at 10/16/2006 10:54:51 AM
I'm VERY new to flash programming. I downloaded a template and changed around some of the text to suit my needs. Some of the text sequences are too quick and I wanted to slow them down so that the end user can read them. I don't think there is an easy way of lengthening the text clips because ...more >>

n th root
Posted by Arivu India at 10/16/2006 7:40:24 AM
I need a function to find out the reverse of Math.pow() function. for expample x = 10; y = Math.pow(10,2); z = Math.sqrt(y); // here x==y x = 10; y = Math.pow(10,3); z =? // here i need some function to calculate z value, like z = Math.sqr(y,3); // ie n th root Thanks ...more >>

play animation on main timeline from within a mc
Posted by twistedpancreas at 10/16/2006 5:46:45 AM
this is probably the most basic question of the day, but how do you get the main timeline to play from within a mc? say I have a mc called jolly_mc and within it is an action on it's timeline at keyframe 10. That action needs to jump to a certain frame on the main timeline and play. I'...more >>

Web Services Question regarding PHP
Posted by ChuckRWD at 10/16/2006 4:21:29 AM
Do I need web services on my server in order to create a dynamic website in Flash and draw information from a database? I am a little confused on whether or not I can just use php to send email from a form and draw information for a MySQL database, or if I need PHP and web services to connect...more >>


DevelopmentNow Blog