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 2006 > threads for friday 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

Music player with 2 swfs using LocalConnection
Posted by outshineweb at 4/28/2006 11:33:19 PM
Hello, I'm creating a site that will have two seperate SWFs on screen. One will be playing music, the other will contain a start/stop button for the music. I'm using LocalConnection to communicate between the two SWFs. I have this working, sort of. The music will start playing, I can stop ...more >>


How do I check from AS if Mouse is shown or hidden?
Posted by aa at 4/28/2006 11:26:04 PM
How do I check from AS if Mouse is shown or hidden? ...more >>

onKeyUp/onKeyDown does not react to Escape
Posted by aa at 4/28/2006 11:15:42 PM
This bit of code copied from a tutorial works fine except Escape key reacts only if any other key was pressed before. If after loading the file Esc is the first key pressed it does not react no mater how many times it is pressed. In other applications Esc works fine Is this a known problem or I...more >>

Kerning Dynamic Text through actionscript
Posted by Bill O at 4/28/2006 10:34:41 PM
Hey, i know there is a way to assign a numeric leading property to dynamic text throught us the AS TextFormat class, and there is a boolean value to determine if text is kerned or not through TextFormat. What I want ot do is assign a kening number to the text like you can using the ...more >>

GetCurrSel ?
Posted by David Fostor at 4/28/2006 10:17:47 PM
Can anyone suggest a reasonable way to determine what the current insertion point or selection range is in an Input Text field? E.g. if the user clicks in the middle of the field, so that the blinking cursor is between the 3rd and 4th character that they typed in, how can I get that location ...more >>

Conditional statement variable change
Posted by jondro at 4/28/2006 9:59:30 PM
I want a button called "next_btn" to change a variable called "pres" to whatever variable is next in the sequence. So on the first click it will change pres=vice and then the second time it is clicked it will change it to pres=vice2 and the third time pres=sec and the fourth pres=trea. I a...more >>

restarting a Flash game afresh
Posted by aa at 4/28/2006 9:52:15 PM
When a user restarts an FLASH game I have to remove all the objects dynamically created as well as to reset all the variables which were changed in the course of the game. Is there a function in AS which fould have an effect of closing down and resrating an swf file so that the new game will sta...more >>

tweening several objects
Posted by aa at 4/28/2006 9:18:06 PM
If I wanted to make a firework clip there a number of objects spead from one point outside, I place all the object into one point in the first keyframe, and spread them round the sceen in the final keyframe. How do I tween them? ...more >>



Slide Show Group Picture Selection
Posted by rkrak at 4/28/2006 8:46:54 PM
Hello i'm, using Flash MX 2004. i have a slide show that is working but i would like to add a control or controls for users to be able to select from diffrent categories. Such as, the default slide show is Group#1, but they may want to see Group#2 slides or Group#3 etc. What would be the ...more >>

I am looking for e learning for flash
Posted by Dave at 4/28/2006 8:29:50 PM
Hello, I am looking for e learning for flash 8 pro I would like to know how can we do for draw cartoon thank you ...more >>

Accessing Local MP3's from SWF on Server
Posted by anyavailable at 4/28/2006 7:24:09 PM
Is it possible to access local MP3 files from an SWF that is located on our server? We have an ActiveX plugin that creates MP3 files. We'd like Flash to play them. It seems like the Flash 8 security model doesn't allow this. If not, then can I solve this problem with cross-scripting? We coul...more >>

flash.geom.Matrix
Posted by Cole - Pulsar Design at 4/28/2006 6:57:25 PM
I'm attempting to do something as simple as importing the flash.geom.Matrix class with Flash 8 and I'm unable to do so. I keep getting this message: **Error** Scene=Scene 1, layer=// Action, frame=20:Line 12: The class or interface 'flash.geom.Matrix' could not be loaded. var bglgbox:Ma...more >>

Case of the Dissapearing Text
Posted by speedeee at 4/28/2006 6:44:38 PM
Can anyone give insight into why the text dissapears when I place the textField object (navText) inside of a movieClip (linkClip_mc)? I know the textField is there because I can rollover it and trace that action. If I remove the movieClip and just attach the text to the root it shows up fine. ...more >>

HELP! unable to view text typed into TextInput
Posted by RacerX55555 at 4/28/2006 6:42:20 PM
I seem unable to view text that I am typing into the TextInput component when I attach it dynamically the second time around. I have a method that attaches the TextInput component. This first time around, it works fine. When I call another method that also attaches an instance of the Text...more >>

Dear Macro... er Adobe
Posted by etg7 at 4/28/2006 6:38:15 PM
Dear Adobe, Flash is great. I have a request though. Can you guys make the player render faster (per millisecond) when embedded in a browser? that would be greater. thanks enter the garden...more >>

Flash8 can't read spaces in dynamic text?
Posted by luciewong at 4/28/2006 6:20:26 PM
Hope, that someone can help me out, text has been written into a input text field and has been submitted. The text contains spaces like: "I write some text here and at the next line I move 5 spaces in from the left edge." When the text is displayed in a dynamic text field, Flas...more >>

open pop up window..what isthe best way??
Posted by batgirl_Sa at 4/28/2006 6:09:03 PM
ok i am going nuts.... what is the BEST way to open a pop up window from my flash site? when i click the button i want a pop up window to open that opens to the right of the site and its size is 400 by 500.. i tried several ways but i am having a problem testing it..... the ways i tr...more >>

Product CD Projector Linking Problem
Posted by c_skillet at 4/28/2006 5:57:38 PM
I am creating a product CD projector and everything is going well. But I am having some linking trouble. I am trying to link to a HTML document that will also be on the CD. The problem is that when I play the projector movie, the link does not work at all. Nothing pops up. How do I solve this ...more >>

rendering speed of flash player
Posted by etg7 at 4/28/2006 5:06:00 PM
Good People! i've yet another stumper... i have some text that i update every millisecond...it works fine using the standalone player, yet when it's embedded in a web page that player only updates every second...it's all code using set interval so frame shouldn't be an issue should it? ...more >>

create sound
Posted by WoBuHui at 4/28/2006 4:48:55 PM
Any one can teach me how to play a sound when button play click , stop the sound when button stop click , mute the sound when button mute click., i try to use attach.sound() but it doesn't work... I need it urgently, is there anyone can help? ...more >>

Setting button rollOver state via script
Posted by jerry NO[at]SPAM fcds at 4/28/2006 4:41:36 PM
I'm creating a separate "dropdown" menu when a button is rolled over. Can I put script in the dropdown so that it will cause the button to stay in its rollOver state when the cursor is actually over the dropdown clip instead of the button? I'm sure doing this with movie clips is probably more ...more >>

LoadVars from a Projector ... bit of trouble
Posted by David Stiller at 4/28/2006 4:33:45 PM
I wrote a Projector app that uses a LoadVars instance to send form POST data to a PHP file. The PHP kicks back a string, and the app proceeds based on the results of that string. Everything worked beautifully until recently. Nothing in the SWF has changed, but I'm not one to point a qui...more >>

How do you change a movie clip's tint and alpha?
Posted by Tenshin at 4/28/2006 4:29:58 PM
Well I've tried: movieclipname.colorBlueAmount = 200; movieclipname.colorAlphaAmount = -50; Nothing seems to happen. I've checked the help file, as far as I know, I'm not doing anything wrong. Can I get some help with this please? Thanks. ...more >>

Printjob -- orientation property
Posted by magus_mike at 4/28/2006 4:26:08 PM
Trying to cause a page to print "landscape". Print job is sent to printer and prints OK, just ignores my setting of the orientation. My code is attached. Any help is greatly appreciated. -mike function doPrint(){ // create PrintJob object var my_pj:PrintJob = new PrintJob(); ...more >>

How to assign movie clip's center point?
Posted by programmerG at 4/28/2006 4:06:33 PM
My dilemma: I) I create an empty movie clip in flash via actionscript. 2) I use the "lineto" command multiple times to create a polygon (as part of the movie clip) and then I fill it. 3) Everything works great, the drawn movie clip is on the screen. 4) I write code to rotate the movie clip...more >>

New Flash8 Tweening Class?
Posted by ropeGun at 4/28/2006 3:55:31 PM
Hello Community, I have been using a pretty cool technique for controlling motion / alpha / scale of various instances on my stage with this technique where you read in the MX Tweening Class and then set up these variables that changes the motion / alpha / scale over time. And, if I place ...more >>

sendAndLoad
Posted by spinmar at 4/28/2006 3:39:00 PM
Hi, I'm using LoadVars and the method sendAndLoad to send a lot of data to a cgi of mine. I create a loadvars (send_lv) with a property whick I fill with random string (naerly 300 bytes), then I use the method sendAndLoad: the content is sent without problem but I can't find a method to di...more >>

htmlText not working
Posted by VernMan at 4/28/2006 1:27:14 PM
I am using the following to load a file that I have put some html code <b> that is not being rendered as html. This is the script I am using. Am I missing something? myData = new LoadVars(); myData.onLoad = function(){ content_pc.htmlText = this.var1; }; myData.load("pp.txt"); s...more >>

TextFormat.getTextExtent() forgets text
Posted by Mark Bagnall at 4/28/2006 1:12:41 PM
Hi As part of a larger printing problem (involving printing dynamic text without scrolling problems), I have created an empty movie clip (printClip) and inside an empty text field (printArea). However, the text field seems to be forgotten by Flash after using the TextFormat.getTextExtent()...more >>

problem in loading images at runtime
Posted by Varun Tekriwal at 4/28/2006 1:08:39 PM
hi ~ I am facing some problem in making a dynamic flash application. Actually i have to loading certain images from a remote database at runtime into a pre-existing flash file. i have tried it by putting static images and converting them movie clips. urgent help required. Thanks, Va...more >>

how do i make this happen ...
Posted by rbr1234 at 4/28/2006 4:45:19 AM
Hello This is the action script i think i need but can you give me the correct 1 on (release) { getURL( www.kangafantfarms.com ) }...more >>

load as. xml in flash - prob loading image
Posted by --Superman-- at 4/28/2006 4:25:46 AM
I have trouble getting my images to load on my flash stage. I tried using the movieclipLoaderClass() as you suggested but I can't get it to work. Appreciate any help. ///// script in as. file: import mx.events.EventDispatcher; class wxml.InfoXML2 { private var page_array:A...more >>

XML vertical menu slider
Posted by mdawg0916 at 4/28/2006 3:50:20 AM
Hello all, Does anyone know of any good tutorials that show how to create a vertical menu slider using xml and actionscript. Here is an example of what I am talking about. Look on the right side of the page...it is a vertical scroller of tools. http://www.cooperpowertools.com Than...more >>

FLV wont go to the end
Posted by PythonDude at 4/28/2006 3:47:38 AM
I have a few FLVs that wont go to the end and they get stuck 1 or 2 seconds before they are done. A few other FLVs ive created work fine though. Is there some issue with some videos? I'm using the built in components. I cant figure out why its doing this. :( ...more >>

HELP NEEDED! "_root.link"
Posted by Sai_Zelion at 4/28/2006 3:42:32 AM
I am using a template. I'm trying to understand the ".link" portion of the code. Here's the code: This piece of code controls the button's behavior, and it advances the movie down the timeline to the next frame or whatever, but I don't understand how it advances. on (rollOver) { ...more >>

using built in sortOn method
Posted by DuhChamp at 4/28/2006 3:12:37 AM
I have an array of cards that I need to be sorted by rank. I am trying to use the sort on method, but I am not sure what parameter I should use. Here is what I have: handArray.sortOn("Card.getRank()"); //hand array holds the cards that need to be sorted, get rank returns the rank valu...more >>

input text row limit
Posted by golem2 at 4/28/2006 3:11:23 AM
Hi, Anyone knows how to have a multiline input textfield, that can take only 3(or any defined number) lines of input. So when the user try to type another word that would wraps to a new line, he can't. Thanks. YText ...more >>

IF statement evaluate correctly the 2nd time????????
Posted by Eric Arean at 4/28/2006 3:00:49 AM
Hi Guys!, The problem is this, I need to load my_array with data from an ASP, but the else statement runs twice, this means the trace action runs twice, when it shouldn,t because the second time my_array should be defined (NOTE: there IS data in my_array, checked). I also tried separated I...more >>

loadMovie jpg projector
Posted by ugo at 4/28/2006 2:25:51 AM
Hi, I'm going crazy trying to load jpg into a exe projector. using the normal sintax: this.loadMovie("myPicture.jpg"); it's doesn't work. All fine if I try to load a swf file, but nothing for jpg. Any ideas? Thanks ugo ;) ...more >>

drag and attach to object
Posted by lummoxcooties at 4/28/2006 2:25:13 AM
I am trying to create some scripting to make an object (bandage) to be draggable, then be able to pickup/stick/attach to another object (an egg) http://wcedu.pima.edu/~jekloff/Project5.swf is my swf file. If you look at it, I basically want it to perform the same thing as the embedded movie I ...more >>

Loading swfs to library
Posted by schleper at 4/28/2006 1:51:25 AM
What i need to do is pre-load 8 swfs, and place them on stage dynamically. Any ideas? I have run into this problem before and haven't found an answer. The only possible solution I've come up with is to use a dynamic library, but I have to imagine there is a better way. Maybe some way to lo...more >>

Flash buttons with mouseout state
Posted by odysseyphotography.net at 4/28/2006 12:00:00 AM
Hi there, I'm trying to build a navigation sysytem like this: http://www.bisazza.it/eng/index.html (the one running along the bottom of the page). The best I can do is here, though its not working properly: http://www.giraffeads.com/clients/nz/button_test_3.htm The flash fil...more >>

Passing a parameter to the swf file
Posted by schnizZzla at 4/28/2006 12:00:00 AM
Is it possible to pass a parameter to flash like: myflash.swf?action=show Or do I have to use javascript?...more >>

setFocus Problem
Posted by Devendran at 4/28/2006 12:00:00 AM
Hi all here with i have attahced the Code, Its working fine for Text to text,... But If new Focus is Combo box, its not working. My aim is to get last Focused element when i focused on combo Here is the simple code this.createTextField("input_txt",this.getNextHighestDepth(),1...more >>

getting only the date value from a date field component
Posted by Justin at 4/28/2006 12:00:00 AM
Hi, I'm using the date field component in Flash 8.. What I want is to get only the date value.. like if the selected date is 25 Mar 2006.. I need only 25 as the output.. I'm trying to use the .selectedDate property and trying to trim out the un necessary part, but is there a better way of d...more >>

help needed in making a login screen
Posted by gaurav_ch at 4/28/2006 12:00:00 AM
hi all, i need to make a login screen in flash in which a user enters a password and username and both are checked from an xml file. i need your help in making it. could anyone redirect me to some tutorial or if anyone can post the code here, i would really be grateful to you. thanks, ...more >>

play and stop at...
Posted by brunel_96 at 4/28/2006 12:00:00 AM
Hi, When i click a button on screen i need the timeline to play and stop at a certain frame (so something like playAndStop(15); if that makes sense!) but that doesn't work and i can't seem to find anyway of doing it! I'm basically making a scroller for a frequency bar on a radio dial th...more >>

Urgent help needed to get this home page up!
Posted by beyondthebrand at 4/28/2006 12:00:00 AM
Hi, I need urgent help with this and it is driving me crazy. For some reason my animation starts at its fastest and won't stop until you click the area then it works properly. I have no clue why it is doing this and only seems to do it on a PC browser not on a Mac. Can anyone help ple...more >>


DevelopmentNow Blog