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 > june 2004 > threads for tuesday june 22

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

url encoded
Posted by paulr1984 at 6/22/2004 11:59:22 PM
Hi! i'm using xmlsockets to send data between two remote flash applications. If one of them sends a message containting apostrophes ('), <, >, etc, it becomes URL Encoded. So the examples above become &apos;, &lt;, &gt; respectively. How do I convert it back to its simple (non-url-encoded) for...more >>

Working with conditions
Posted by Simon Jakobsson at 6/22/2004 11:36:10 PM
Can someone here explain just basic, how to work with statements, i'm having an idea when i want a condition to be set, then another action is going to read if the condition is set, if so, it should move to the page who has set the condition. Working fine, but how to set them, and how to check...more >>

combo box variable?
Posted by sq2adam at 6/22/2004 11:03:54 PM
how do i set a variable to a combo box...more >>

Check if the sound is played till end.
Posted by Naseem at 6/22/2004 10:24:56 PM
How can I check using actionscript that if external mp3 has played and finished? THanks ...more >>

Error msg question
Posted by Who? at 6/22/2004 9:39:13 PM
Hiya, I've inherited a project with uncommented code. Great. Its from MX and Im from MX 2004. Super. After Ive loaded the proj into MX2004, i ctrl enter and i get the following error msg; Scene=Scene 1, layer=mc - controller, frame=1:Line 15: Left side of assignment operator must be va...more >>

button problem
Posted by JPI at 6/22/2004 9:12:49 PM
I can't seem to get this button to trace("hi"); Can someone take a look at it? Just change the filename from ".txt" to ".fla" Thanks in advance anyone....more >>

using java in actionscript
Posted by rfan622 at 6/22/2004 8:16:07 PM
is there any way to use existing java functions in actionscripts?...more >>

javascript open window in datagrid?
Posted by MattMooney at 6/22/2004 8:15:32 PM
Hi all, I've finally go my data grid pulling dynamic data, and have been successful using HtmlCellRender to get the links to work. However, I'm at the end of my rope trying to call a javascript function to open a new browser window, that is a specific size, no tool bar, etc. I've been ...more >>



Please help - Flash authoring environment and PHP
Posted by Nacho at 6/22/2004 8:13:11 PM
I'm sending data to a PHP file on the www, using the next action: formData.sendAndLoad ("http://www.mysite.com/process.php", replyData, "GET"); when the SWF is on the same webserver that the PHP file, or when I launch the SWF embedded on a HTML file from my localmachine, it works ok, bu...more >>

Accessing variables in functions
Posted by Spiff12421 at 6/22/2004 7:55:00 PM
I can't seem to get my functions to modify variables that I declare outside of the function. Here's my code: numProducts=0; *****Declare variable here****** myVars = new LoadVars(); myVars.load("Products.txt"); myVars.onLoad = function(success) { if (success) { ...more >>

Flash Context Menu
Posted by t2eagle at 6/22/2004 5:54:25 PM
Hey I have a few questions about context menus... 1 - I've seen some sites that were able to dim the "Settings..." command in the context menu. Example: If you right click on the top of this page (where the Home, Products, Showcase, etc. buttons are) you will see that the Settings option i...more >>

Flash over HTML
Posted by sarahbella at 6/22/2004 5:40:07 PM
Hey there, Ok so I have a pencil ad (really thin small ad) that is going on my site. I want it to expand open on top of the HTML. I've used the Flash Ad Kit successfully, however come to find out we don't have the DoubleClick Motif capabilities on our server, so we can't use MTF files. ...more >>

coding line breaks and the & symbol in a text file
Posted by garroyo at 6/22/2004 5:35:29 PM
I?m loading a text file like so: var printerData:LoadVars=new LoadVars(); printerData.load("printers.txt"); printerData.onLoad=function() { txtPrinter15.text=printerData.printer15; } and the text file (printers.txt) currently looks something like this: &printer15=NFZ15PS Lazer...more >>

load multiple movies problem
Posted by Alshira at 6/22/2004 5:17:59 PM
Hi every body! ok i have a problem, i try to load many(15 ) clips in a frame at same time, but only "some" of them is loaded, if i refresh the page i get others, but never all of them, im using this code: zona1.loadMovie("fondo1.swf"); zona2.loadMovie("fondo2.swf"); zona3.loadMovie("...more >>

TellTarget qustion
Posted by Hogan at 6/22/2004 4:25:56 PM
Are you able to tellTarget between two swf's? If not, is there a way around this? ...more >>

Keyboard scan code question..
Posted by Richard Ragon at 6/22/2004 4:10:25 PM
I'm creating a game using Flash MX 2004. The game utilizes near every key on a average keyboard for something. I set up Key.addListener and some pretty complex scripts to detect which keys are being pressed. However, I can't seem to determine the difference between "Left Shift" or "Right ...more >>

Terminate a build??
Posted by Clacker at 6/22/2004 3:57:06 PM
Gah! I have a movie Ive been working on for hours and just put a test bit of code in to control something and in my haste a typo made it run an infinite loop. I thought flash terminated on over long loops, but for some reason it isnt and im just getting (Not Responding) from the app.... ...more >>

Excluding Variables with loadVariablesNum
Posted by plecoguy at 6/22/2004 3:40:18 PM
Hello, I am looking for suggestions on how to exclude a declared variable required for my form to work locally, but do NOT wish to be included when other variables are Posted using loadVariablesNum. I have attached the code below, the variable I would like to exclude is in bold. Any ...more >>

Custom methods
Posted by rss2003 at 6/22/2004 3:23:02 PM
I am trying to add a simple custom method to the Math object - as follows - Math.roundTo = function (num, roundToInterval) { if (roundToInterval == undefined) { roundToInterval = 1; } return Math.round(num / roundToInterval) * roundToInterval; }; trace(Math.roundTo(Math....more >>

Changing RadioButton from Actionscript.
Posted by nickgs at 6/22/2004 3:20:03 PM
Hello all. I am working on an application were I need to set the selected property of an MX 2004 Radio Button based upon the value of a string. For some reason I cannot dynamically set the value of the radiobuttons within my code. I have also experienced this with the new textfield compon...more >>

how to load another swf file in a arrays...
Posted by Suyi at 6/22/2004 3:07:32 PM
hello..i m facing a problem that i choose certain swf file to load.i save my choices in an arrays. when i click "play"button,my first choice will show .when i click "next" choice, my second choice will show and if i click again, my next choice will show accordingly. ...more >>

Mouse Pointer - Actionscript
Posted by Peter Fettes at 6/22/2004 3:07:23 PM
Just wondering, Is thier an Actionscipt I could apply to a button, that would retain the mouse pointer arrow, rather than swap it for the hand icon. Thanks, Peter Fettes. ...more >>

problem loading dynamic text in multiple scenes
Posted by tbiscuit at 6/22/2004 3:01:21 PM
I have a multi-scened movie wherein each scene has a dynamic text box. These text boxes obtain their variables from a text file stored in the same directory as the flash movie. When I run the movie locally, the text loads into the dynamic text boxes just fine. However, when I post the text fil...more >>

Dynamic Layers
Posted by the ville at 6/22/2004 2:29:43 PM
I've seen a similar post, but not quite the answer I'm looking for. I'm trying to load a movie dynamically into a masked layer. I have the original movie in the masked layer and that works okay but whenever I load the new move (using duplicateMovie) it appears on top of everything (including...more >>

Roll-Over / Roll-Out Question.
Posted by Peter Fettes at 6/22/2004 2:11:55 PM
I have an image, when the user roll's-over it, I want the playhead to jump to a frame in the timeline. And when the user rolls-off the image I want the playhead to jump to a frame in the tmeline also, probably where it was before the initial roll-over. What do I write in the Actionscript ...more >>

TextArea Component , backgroundColor
Posted by ERNYNAP at 6/22/2004 12:37:28 PM
Hi ! I have to change the backgroundColor of a TextArea component in "transparent" but there is not a property with name TextArea.backgroundColor for this Component . how can I do it ? thanks ! ...more >>

gotoAndPlay() doesn't play
Posted by bvdpoel at 6/22/2004 12:24:33 PM
Hi, I have this Flash MX movie wich executes a movieclipname1.movieclipname2.gotoAndPlay(3) from a function. The first time the function is called, all is fine, but if I call the function again, the playhead is moved to frame 3, but the movieclip is not playing. There is no stop() in the...more >>

Import from library to stage
Posted by Beijufas at 6/22/2004 11:51:44 AM
Hello everybody! Well my problem is something like this: I have a library item and I want to import it to the stage using actionscript 2, the problem is that i have to create a lot of instances of that item so i usign this code: _root.attachMovie("caixaletra", "caixa", num); where:...more >>

function script works here but not there
Posted by Van Garnett at 6/22/2004 11:12:41 AM
I have this script in the first frame of the root timeline. It works perfectly with the mc it references. navigation_MC.nav_MCbuttons.MC_button_practice.onRollOver = function () { trace ("does this see practice?") this.MC_spinner.MC_pulse.gotoAndPlay("pulse"); this.MC_spinner.MC_slider.gotoAn...more >>

script on a duplicated mc
Posted by behived at 6/22/2004 10:39:55 AM
I have duplicated an mc several times using the following code: for(i=1;i<10;i++){ duplicateMovieClip("a","a"+i,i); c=eval("a"+i); c._x=((a._width*i)+10*i)-400; c._alpha=100; c.onPress = function() { loadMovie("pict"+i+".jpg","_root.pictures"); } } the problem that...more >>

Full screen
Posted by M. at 6/22/2004 10:12:52 AM
Hey all :) is it possible to set a movie to play in full screen mode? How do I do this, please? I am working on a presentation on CD, will be using a projector (*.exe). I am using flash MX. thank you m....more >>

controlling loaded SWF from another loaded SWF
Posted by Cheekydevil at 6/22/2004 9:01:51 AM
I am having problems controlling a SWF file that is uploaded into an empty MC using the loadMovie command. Basically the main SWF has 6 layers with an empty MC in each. A SWF file is loaded into each using the loadMovie command. The SWF files all load and then then stop on frame one. The ...more >>

Timer
Posted by Belal_BD at 6/22/2004 8:49:21 AM
HI all, i am a new user here, i don't know it's possible or not, i would like to know how i will stop 10/20second on a frame with action script, if you know any body or it's possible please feedback me. Thanks Belal ...more >>

RollOver problem
Posted by ShrM at 6/22/2004 8:10:57 AM
Hi all... I'm facing a strange problem with rollover event of a movie clip. Using an empty movie clip, i am drawing vertical lines dynamically by duplicating the movie clip for each line to be drawn. In the on (rollOver) event of the movie clip, i have to display some data, which is dif...more >>

Shaking Flash and IE Windows
Posted by equinox007 at 6/22/2004 8:05:33 AM
Surfing the net long enough (particularly around movie related content) you would undoubtabley have noticed the flash promo animations... The latest incarnation of in particular often have a fist or something hitting the screen, upon the hit, the Browser window that contains the flash animat...more >>

Dynamic textfields help!!!!!!
Posted by iamGandalf at 6/22/2004 8:03:17 AM
Hi , I am relatively fresh to ActionScript since all my work so far has been done in the "graphic" part of the flash. I would like to know if it is possible to create more than 1 dynamic text box with createTextField command and followed by setTextFormat? If I tried to do it in a row Flash w...more >>

Runtime sharing with sounds
Posted by earthguy at 6/22/2004 7:16:58 AM
Hi, I'm having trouble getting sounds to work via runtime sharing for some odd reason. I went back and read something in the forums here which mentioned including the word "this" when the new sound is declared, however this has not helped and I have tried a variety of methods. To mak...more >>

Dynamic Text Box HELP!!!!
Posted by gfunc at 6/22/2004 5:34:10 AM
Hi, I have a probem- I have a movie with scrollable text boxes in different scenes. The problem is every time I open the file, the tex boxes are no longer condensed, they are expanded all the way. I need to then spend 15 minutes going to each scene to make the boxes the size I need them to ...more >>

Finding out when the las frame of a mc is played
Posted by rangewalker at 6/22/2004 4:26:55 AM
OK, I'm not a genius when it comes to ActionScript...I'm bangin my head trying to figure something out so if one of you could show me the simple answer and make me feel like the "special kid" that I am I would greatly appreciate it. I have used sorensen squeeze to compress a video into .swf....more >>

variables for jpg?
Posted by nate9000 at 6/22/2004 4:04:11 AM
What would I have to do to get a jpg pulled dynamically (from a folder) and "held" for a predetermined amount of time before the movie switches to a different jpg file? Would I use a 'loadvariables' pointing to the MC that I'm loading the jpg into, and then use 'loadmovie' into that MC? I'm re...more >>

CSS in IE Won't display??
Posted by sheedy at 6/22/2004 3:06:34 AM
I have used the stylesheet features in MX 2004 and all works fine except in IE. I have a SWF that loads the .txt file then I load that SWF into a main movie. It works fine when I'm viewing it on my computer but through a browser (IE) it shows up as HTML code. I am in way over my head on this...more >>

Action Script HELP! ask me a question/I'll answer!
Posted by flashtoflash at 6/22/2004 1:33:19 AM
Just ask me a question and i'll give you the answer!!!!!...more >>

flash doesn't load sounds
Posted by rumpelstilzchenlang at 6/22/2004 12:49:23 AM
I created a flash with background sounds using the "new Sound" function. Tried it locally, without any problems. Tried it online by directly accessing the flash... all the sounds do stream. The sounds work, if online and integrated into HTML, but only if the *.swf-File is located in the same f...more >>

dynamically loaded movie won't respond
Posted by pbjork at 6/22/2004 12:08:43 AM
i am loading an external swf into another swf i am calling functions in the child movie from the parent movie. the child movie is getting the calls, but movie clips inside the child movie won't respond to play commands the first time they are called. but for some reason they respond the...more >>


DevelopmentNow Blog