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 > march 2004 > threads for sunday march 14

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

newb and need help
Posted by thedidp at 3/14/2004 11:29:18 PM
ok, i was trying to make a very easy button. but when i tried to attach an actionscript it wont, it says "current selection cannot have actions applied to it" i really need help...more >>

convert flash to pdf
Posted by jussi. at 3/14/2004 11:00:02 PM
Hi. I've made something as odd as a poster in flash that's supposed to be slightly randomized with actionscript. That is; the graphics change everytime you reload. Now I thought it'd be simple to convert this poster to a pdf with mac os x's built in feature in the print box, but no siree, ...more >>

action script MC stop repeating
Posted by UltraTch at 3/14/2004 10:57:26 PM
how do you make a MC which has the following action scrip stop repeating once it reaches the end? this.createEmptyMovieClip("painter", 1); var x = new Array(); var y = new Array(); painter.c = 0; painter.lineStyle(3, "0x000000", 100); painter.onEnterFrame = function() { i...more >>

Actions Pannel focus
Posted by akne at 3/14/2004 10:33:02 PM
When I edit some code in Actions Panel (Flash MX 2004), then test the movie and then close Flash Player, I am back in Flash, but the keyboard focus is set to the scene, not the Actions Panel. It is very annoying to set the focus to Actions Panel with mouse or by double-pressing F9 key, espec...more >>

embedFonts with radioButton?
Posted by James O'Reilly at 3/14/2004 9:57:54 PM
can you embed a font in (or reference a font embeded in the library) when using a radioButton component? I've used "component.setStyle("fontFamily", "Futura Md BT");" just fine on a machine with Futura installed, but how can I get it to display that font even when the font is not installed? T...more >>

Can you Pass this value to ActionScript?
Posted by trints at 3/14/2004 8:53:08 PM
In this function: dateVars.load("http://www.tribidz.com/highbid.txt?nocache="+random(65000)); I want the "highbid.txt" part to be a value that my vb.net passes to it...for example: highbid.txt should be selectively be a file name based on an item number like it could really be: 1005az22....more >>

MP3 not playing
Posted by JDRives at 3/14/2004 8:33:12 PM
Hi I am loading various external MP3s as event sounds, but only one at a time, and depending on the file, sometimes it plays and sometimes it doesn't. All the MP3s work in various MP3 players. If I stream the sounds it works, but not when loaded as an event. I'm using an onLoad function to ma...more >>

mask an action script?
Posted by UltraTch at 3/14/2004 8:18:48 PM
mask an action script? i have an action script that draws a picture by way of x and y points. would it be possible to only show this action script inside of a selected mask? therefor any lines outside of the (lets say a circle) will not be shown. thanks in advance Tch ...more >>



Function Parameters Question
Posted by trabac at 3/14/2004 6:24:57 PM
I am currently working on a Flash movie that will pull the name of a textfield from the main movie and display in another movie. I want to do this with a function on the main movie because I will have several items to select from. I named the instances of the textfields on the main movie ...more >>

dynamic event handlers
Posted by blackgold9 at 3/14/2004 5:51:11 PM
How do I add an event handler to a movie clip that i created dynamically? Im trying to create a photo gallery. I have figured out how to display the various thumbnails, I can set their properties individually, but i cannot set an event handler for them. MY code is attatched. Does anyone have a...more >>

Referenceing a MC created by createEmptyMovieClip
Posted by GFunk at 3/14/2004 5:13:20 PM
Does anybody know how I would reference the movie clip I created using createEmptyMovieClip ?? Code is attached. Thanks, Mike function makePlane2(zNum, radius, zColor, tf) { if (tf != "yes") { return; } else { for (i=0; i<zNum; i++) { planeMC = this.createEmptyMov...more >>

big volume probs??? not in this database
Posted by Kay Poe at 3/14/2004 5:01:48 PM
I have a site with two sound loops. One is on the intro. I would like to increase the volume on it. The second is on the main site, which is way loud. I want it to be almost unnoticable, ambience only. Here is the code I have in my ActionScript: I have this on layer one in an mc i...more >>

How to Control nested MCs with buttons
Posted by Sue1234 at 3/14/2004 4:56:29 PM
This has got me tearing my hair out! I want to control a nested MC (2 levels, the nested MC with approx 120 frames and 4 keyframes, the container MC having a single keyframe. I want to have a set of control buttons to Start, Stop, goto next/Prev frame rewind to start, forward to end. ...more >>

can you help with my guestbook?
Posted by sid vishus at 3/14/2004 4:54:19 PM
I have made a guestbook and am having problems of course. Firstly when the guestbook loads the comments dont appear. If I add a comment, then the comments show but the scroll bar does not work? Very strange. I made this guestbook on an earlier site and it worked perfectly when loaded into an...more >>

html formatting in textfields
Posted by ben_lclc at 3/14/2004 3:18:06 PM
i have a couple of questions regarding <IMG>'s in textfields. 1. if i have an image placed in my textfield via the <IMG> tag is there a way of finding out whether/when it has actually loaded? does/can it call a onload function? i need to know this to update the scollpane that it is in - curr...more >>

fading mc with as
Posted by adriaan_ at 3/14/2004 2:43:58 PM
hello, i have an empty movieclip. on the main timeline i load an .jpg with loadMovie() into it. now i want to let the alpha go op in steps by then so .alpha += 10; script: _root.fake.holder.onEnterFrame = function(){ this.loadMovie("mao.jpg",1) this._alpha += 10; } ...more >>

can you link to swf from html?
Posted by grace domes at 3/14/2004 2:33:09 PM
Sorry to repost, but I think my question got lost in another topic. I want my website to open with a link in a browser window that will open the swf file without it opening in a browser window. Is this possible? I don't seem able to make a relative link in Dreamweaver to main.swf without i...more >>

skewing a movie clip & text field
Posted by Ivanek at 3/14/2004 2:17:46 PM
Hi. I have this problem with the SKEWING in flash. 1st I would like to skew a movie clip dinamically. Is tere a tag. Something like MyMovieClip.skew (angle) ? 2nd. If i skew a textfiled unless it is static the text disapear. Even if I put the textfield in to a movie clip and than s...more >>

How to show a number in "non-scientific" notation
Posted by corneliabrodahl at 3/14/2004 2:15:40 PM
Hi! By pedagogical reasons, I need to show small and big numbers in "non-scientific" notation. Does anybody know a routine which returns for input 6.023 e18 >> 6023000000000000000 and in the same way for input 6.023 e-18 >> 0,000000000000000006023? Thanks! Cornelia ...more >>

Load text with song selection
Posted by iMinds at 3/14/2004 10:49:14 AM
I streaming mp3's with a Flash controller and I am wanting to add the song and artist info into a dynamic text field. So, as each song is selected on the controller, advanced to new or back to previous, the text changes with it. I have had limited success. Always anxious to learn more ;) ...more >>

swf in a loader runs slooowly
Posted by gabu2000 NO[at]SPAM tin.it at 3/14/2004 10:41:00 AM
Hi all, i have a problem: i load in a loader a swf file (114 kb, some actionscripts), but when i show it, it runs slow... any suggestions? thnks m....more >>

MUSIC LOOP BIG STRANGE PROBLEM
Posted by diabolis at 3/14/2004 10:16:56 AM
Hello I have a strange problem with music loop. I have a music (exported " foractionscript" ) on _level0 movie and I wat to loop It for example 6x, so I done mySound.start(0,6). And It goes ok. I have an another movie on _level1 too. And it loops [b]BUT[/b] when I load a NEW ...more >>

loadMovie(JPG) problem
Posted by tJIN at 3/14/2004 10:06:16 AM
hi, I am facing a problem in loading JPG files with loadMovie function. I have noticed not all type of files get loded (and generate no error). Since, I dunno any technical details about jpg format, i can't find the reason. Plz send me any link to Required JPG file properties for this ...more >>

Please Help!
Posted by GFunk at 3/14/2004 7:09:19 AM
Hello, Does anybody know how to remove the circles here in this code once they are created. I'm sure there has to be a way. I've been banging my head trying to figure it out. // please see attached code. When running the function makePlane1(3, [10,70,135],0xFF0000,"yes"); it wil...more >>

XML Menu Returns "Undefined"
Posted by msmith29063 at 3/14/2004 6:23:01 AM
Someone sent me a sample FLA (MX 2004) of a simple XML menu that works correctly. Then I simply opened in my app, republished it, and get "undefined" for all the buttons. Here is the actionscript. Any ideas? var my_array:Array = new Array(); var my_xml:XML = new XML(); my_xml.ignoreWhi...more >>

_global issue?
Posted by powerofq at 3/14/2004 6:12:13 AM
Hi, I have one thing in particular that has been baffling me for a while now. If I put a function in one layer ie "Actions" and in that function I send a message to a textarea component called "display", why is it that the function will not display if i put the component in a different la...more >>

LoadVar in if ?
Posted by chrism59 at 3/14/2004 4:36:52 AM
I have a Line of code: trace(this.ReplyVerify.msg ); if (this.ReplyVerify.msg == "Success") { Lots of code } the trace shows Success but the if does not trigger...WHAT AM I DOING WRONG??? Help PLEEEEEASE!! ...more >>

LoadVars not loading session variables from PHP
Posted by nikkiw at 3/14/2004 4:17:12 AM
Hello, I'm trying to pass back some session variables from PHP to Flash. The following code works fine when the values in the php page are hardcoded, but when I swap out the hard variables for session variables, things come up empty inside of Flash. At first I thought it was because the ...more >>

loadSound & attachSound not working in IE6
Posted by kineta at 3/14/2004 3:26:48 AM
My html file won't play the loaded mp3 in Internet Explorer (version 6). It plays fine in Mozilla, when I test the movie in Flash and when I open only the ..swf file. Is this a common problem? I can't find any info on the web. Anyone know why this happens? Is there a workaround? Are my IE ...more >>

sound object array
Posted by reidreid46 at 3/14/2004 3:05:08 AM
I've been trying to figure out this for a while now, with no luck. I am trying to create an array of sound object that I can access from anywhere in my swf. The purpose of placing the object in the array is that that I can create them, and change their properties by using a for loop. What...more >>

fscommand("exec","app.exe"); (?)
Posted by fury_lmd at 3/14/2004 2:50:28 AM
I can't for the life of me figure out how to make this command work. Here's the code: on(press) { fscommand("exec","app.exe"); } Doesn't work when run from the test player, the Flash player, the browser, or as a projector. I've tried it with the full path to the application (in a ...more >>

dynamic text field
Posted by Steve \ at 3/14/2004 1:19:32 AM
I have a dynamic text field called info_txt. The plan is to get text displayed in this field when rolling over movie clips by adding this to the instances of the clips: on (rollOver) { info.txt.Text="Home Page"; } It's just not working. what's wrong? ...more >>

Change color on a Listbox
Posted by Chizl at 3/14/2004 12:12:24 AM
I have gone through the ActionScript dictionary and google, yet I can't find anything on changing the color, font, etc on a listbox.. http://www.chizl.com/music/mp3/...more >>


DevelopmentNow Blog