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 > may 2006 > threads for tuesday may 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

How to Load a SWF in Dynamically Loaded HTML
Posted by JuliaO at 5/16/2006 10:57:43 PM
Hello, I have a Flash movie with a multi-line text field that loads HTML text. As per the below Macromedia documentation I have swfs as images inside my HTML text. I'm trying to find a way to pre-load these swfs - if I do loadmovie to load the swf, when the html file is loaded will it n...more >>

Array sortOn
Posted by SteveStall at 5/16/2006 10:31:57 PM
Hi there, Can any one tell me if it is possible to sort an array Numeric but in Descending order? // Array.NUMERIC deals with values as Numbers at not strings. But by default sorts in Ascending sortOn ("pos",Array.NUMERIC); Thanks in advanced ...more >>

Passing variables with attachMovie
Posted by Yan at 5/16/2006 10:31:52 PM
I'd like to create a photo gallery. To create the thumbnail I use these script and it works fine. BUT I can't pass to each thumbnail parameters, how can it be done? Here is the code : //*************************************************** //init FILTERS import flash.filters.*; var ombre:Dr...more >>

AS Button / hit state HELP!
Posted by riichieg at 5/16/2006 9:32:33 PM
I have a clip with a hit state that I want to target frame 1 of another clip on mouseover. (thumbnail effect) There is a stop command on frame one of that secondary clip. On click , I want the secondary clip to play from frame 2, till the end. My problem is that Im not experienced with a...more >>

HELP! PASS VARIABLE WITH ATTACHMOVIE DOESN'T WORK
Posted by Yan at 5/16/2006 9:02:37 PM
I'd like to create a photo gallery. To create the thumbnail I use these script and it works fine. BUT I can't pass to each thumbnail parameters, how can it be done? Here is the code : //*************************************************** //init FILTERS import flash.filters.*; var ombre:Dr...more >>

Moving to various scenes from movie clips as buttons...
Posted by Dan Raborn at 5/16/2006 8:16:38 PM
Hello everyone, I have what my be a simple question, but maybe not... When I change the movie's action script to go to a scene with the name of 2 or 3 etc it goes to that scene upon the release of the mouse when clicking on the movieclip. But when I try to link to a scene with a word for the n...more >>

Loading External Clips: Why is a new "instance" clip created?
Posted by jfred1979 at 5/16/2006 7:41:26 PM
When I load an external movie clip using loadMovie, or the MovieClipLoader class, there is always a subclip named "instance" followed by an instance number attached to whatever clip I am loading the external swf into. For instance, I have a clip on the stage called "container". I load an exter...more >>

'with' action failed
Posted by klaasp at 5/16/2006 7:28:32 PM
This is the error message I receive when i play my flash movie. "Error: A 'with' action failed because the specified object did not exist." The message appears when I switch from one page to another (frame "p_verpakking") in my movie. Inside this frame is a photo viewer with a scrolling menu b...more >>



Basic Actionscript
Posted by fharcyde at 5/16/2006 6:41:19 PM
I have no problem using tweening to create transitions, even have no problem scripting it in actionscrip. ut i cant make stop, break, change directions and sorts. can someone show me how to do this?...more >>

Movie pause according to mouse position
Posted by lhillyard at 5/16/2006 6:34:45 PM
Hi. I am trying to make an interactive flash menu of products. I want the entire flash movie to pause when the mouse is not over it. (I think it is disorienting to see it scrolling when it isn't being used.) When the mouse is over it, I want it to act as is. Here is a link to what I...more >>

Multi Language via string
Posted by flaki at 5/16/2006 5:50:48 PM
Is there any way to change language that is builded by strign with xml. I need to change it manually. thnx...more >>

Scroll pane height
Posted by blueolives at 5/16/2006 5:03:33 PM
I have a scroll pane which loads an swf with a dynamic feed which varies in height. How can I control the height display of the scroll pane? Thank you in advance.. ...more >>

Delaying a frame?
Posted by serg2049 at 5/16/2006 3:55:37 PM
How can I make the movie to stop on a certain frame for a few secons and then continue?...more >>

Using loadSound(); Does Flash store my .mp3's on my local machine? If so, where?
Posted by MichaelBlum at 5/16/2006 3:48:18 PM
I'm loading mp3s on a server into my movie in a browser. I want to confirm that a sound has been downloaded by checking for that file in a folder on my client machine. I've searched for the file that I have playing (and hence know that has been downloaded), and I can't find it. Does flas...more >>

string from xml to combo ui
Posted by gaurav_ch at 5/16/2006 2:37:30 PM
hi all, i have an xml as follows: <thumbnail sizes="s,m,l,xl,xxl" /> flash has read it and recognises it as a string - s,m,l,xl,xxl. now i want to put these sizes in a dropdown combo box as - s m l xl xxl so that the user selects the relevent size and a function is perform...more >>

Can you delete an OnEnterFrame from outside the function?
Posted by katyjack30096 at 5/16/2006 1:41:10 PM
I've got a an onEnterFrame that I'm using inside several movie clips - one at a time - to sync up the narration audio with the animation on the timeline. It works great if I let it run all the way through - it detects the end of the clip, deletes the onEnterFrame and callls the next clip in t...more >>

Sound in Movie
Posted by gorco at 5/16/2006 12:34:07 PM
I added a mute button to my movie and created a layer, on the main stage with the "ON click turn off all sounds" script, that will turn all sound off when the button is clicked. (on click). The problem is there are 5 more layers of sound within an All movie clip (there are actually 40 more la...more >>

missing something fundamental here... please help.
Posted by ACB at 5/16/2006 10:23:33 AM
Okay, I know the answer to this is going to be easy but I am at a loss. I have some movieclips that have been exported as SWFs, call them piece1.swf piece2.swf piece3.swf Then, I have a main movie with one empty movieclip on the stage with an instance name "holder". To start, I do the ...more >>

storing a call to a function
Posted by kevek at 5/16/2006 3:25:00 AM
What's the syntax to store a call to a function in a variable when different levels are involved? I'm trying to get some buttons in _level1 to tell _level0 which function on _level6 should be called after _level0 has loaded in content. Does that make sense? ...more >>

Building submenus/rollout menus. Stuck at road block.
Posted by complexity at 5/16/2006 1:52:38 AM
Hi all, I am having some difficulty getting around the idea of building a submen/rollout menu. Ok for example when I rollover my main option, I go to the on animation of my submens which is then stopped/paused (showing the full submenu). I got that ok. My problem is that what do I do ...more >>

Feeling really dumb..
Posted by targetplanet at 5/16/2006 1:13:08 AM
I am trying to build a class that, using Flash remoting, will check a name it is sent against names in a database to see if it would be a duplicate. The part that I am having trouble with is how to return the results to a variable calling the class function. so here is the class so far ...more >>

creating function in a loop
Posted by fourseamer67 at 5/16/2006 1:07:24 AM
hello -- my problem is that i am dynamically creating a bunch of buttons in a loop, and want to include a different "onRollOver" function for each button. However, the variables I am setting in the functions are all being overwritten with the value from the last pass through the loop. Ho...more >>

Follow lines
Posted by FlashIsTheCoolest123 at 5/16/2006 12:48:12 AM
Is there any ActionScript that will make an object follow a drawn line segment? I'm trying to make one of those orbiting ring molecule things, just for a better idea. Thanks :) --- Matt...more >>

Word Searchable Video ...
Posted by xfh100 at 5/16/2006 12:07:34 AM
Hi, I?m asking myself if it is possible to create a Flash8 video in the way that along to the video a written word layer could allow to search the video for certain words, get a clickable hit-list and then click and jump to the position in the video where the hit occures. If somebody knows...more >>

need countdown timer for game
Posted by spudless at 5/16/2006 12:00:00 AM
i'm making a shooting game i need a timer that counts down and then when it gets to 0 it goes to a certain frame. This is the code i'm using: var seconds:Number=10; time_txt.text=""; function countDown(){ var time=seconds--; time_txt.text=time; if(time=0){ gotoAndStop("lose");...more >>

So aggravating
Posted by Briancapo at 5/16/2006 12:00:00 AM
Hi guys, im trying to do some code, and it will not work. Im trying two things neither of which seem to be working for me. 1. I am trying to make a button, on the first click it dynamically loads a message. On the second click, i want the message to unload. If anyone could help me with this ...more >>

Actionscript for this xml
Posted by Dave at 5/16/2006 12:00:00 AM
Hello, Please could you give me the actionscript for read this xml thank you very very much for your help <? xml version="1.0" encoding="UTF-8" ?> <diaporama> <photo> <titre_diaporama>Title diaporama</titre_diaporama> </photo> <photo> <nom>images/1.jpg</nom> <titre>Title for p...more >>

Synchronisation
Posted by slawu at 5/16/2006 12:00:00 AM
Hi, I would like to know if there is some method of synchronisation of threads in Flash. I found one topic in the archives of this forum about threads in Flash. Someone said that there is only one thread in Flash but... When I use setInterval() the code is executed asynchronously. T...more >>

Why is this not working
Posted by wandrer at 5/16/2006 12:00:00 AM
Hello all, I am working under Flash Pro 8, following code is not working, could somebody explain me why? (I am trying to call frame/label from combobox): var cbListener : Object = new Object(); cbListener.change = function(evt_obj : Object) { gotoAndStop(paint_styl.getSelectedItem().d...more >>

Visual Studio Like IDE for AS?
Posted by Daticus at 5/16/2006 12:00:00 AM
I don't like feeding the big green monster (microsoft) more than I have to but I think Macromedia (adobe?) should make programming with action script more like programming in visual studio 2005. I program for fun and to be honest, its not that fun when you use a plain text editor or the run of...more >>

Variable Definitions - weird results
Posted by gadgetdonkey at 5/16/2006 12:00:00 AM
Using Flash8 I am getting some weird results when defining variables. In my Actionscripts I am trying to define and assign variables on the same line and then trace it as below : var light_critical_colour:String = "#FF0000"; trace ("light_critical_colour = " + light_critical_colour); ...more >>

help plz
Posted by Abyu at 5/16/2006 12:00:00 AM
can any bodyhelp me the actionscript is not working if (_y+_height/2 == 455) { trace("Collision"); } if i use 600 instead of 455 it is working but not working of anyother values other than 600; please help me :( ...more >>

Is it posible to change a color of a shape by using a extern document
Posted by Popoval at 5/16/2006 12:00:00 AM
Hi. I want to change the color of a shape based on what info i get from a Database. I would like some thing like this: if DB.txt contains 1275 then change color to green else if do nothing. Is some thing like thsi posible with flash? ...more >>


DevelopmentNow Blog