all groups > flash actionscript > december 2005 > threads for friday december 2
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
Setting variables in after loading a movie
Posted by clem_c_rock at 12/2/2005 11:40:19 PM
I'm making a dynamic movie loader that first creates an empty movie clip and
then loads and external movie clip w/ a dynamic text field.
Here's the code I'm using to load the movie:
_root.creatEmptyMovieClip( "clip_name", 10 );
_root["clip_name"].loadMovie("movie_to_be_loaded.swf");
... more >>
Transition Class
Posted by Bowersox at 12/2/2005 11:07:16 PM
Is it possible to stagger transitions (zoom, wipe, fly, iris, etc.); for
example, attach a movie that appears on stage with a wipe effect, and when
transition is complete, attach a second movie that appears on stage with a
transition, and so forth. The tween class has onMotionFinished. Is ther... more >>
action script load/unload movie
Posted by roroarro at 12/2/2005 11:04:38 PM
Dear all, I'm an Italian industrial designer that needs a little information.
I'm actually working on a site made by an intro - .swf - file that, on the
last frame, have an action that load another .swf into the main stage. This
..swf contain a menu bar with 100 buttons (approx)
Each butt... more >>
can't change a mc's properties from the main timeline?
Posted by SBAR_weenie at 12/2/2005 11:02:05 PM
When I try to change a nested MCs property from the main timeline, I get no
response. I can run the same code inside the MC and I have no problem. Is it
possible to target a nested clip to change its properties?
... more >>
loadvars help needed
Posted by plpro at 12/2/2005 10:23:48 PM
what is wrong in this script (can't see the text)?
**Warning** Symbol=Symbol 551, layer=Layer 5,
frame=2:Line 10: Case-insensitive identifier 'loadVars'
will obscure built-in object 'LoadVars'.
test = new loadVars();
Total ActionScript Errors: 1 Reported Errors: 1
... more >>
BitmapData help!
Posted by c0nsurrexistis at 12/2/2005 10:15:32 PM
hi guys, i want to do something pretty easy....
everybody knows that we can create capture wih flash 8...
the thing im trying to do is:
take a snapshot from the webcam , resize it and grab pixel to send to php
there is no problem taking snapshot, and passing it through php
but HOW ... more >>
motion guides + actionscript
Posted by mongo1515 at 12/2/2005 9:54:23 PM
is it possible to assign a motion guide via actionscript?
in other words, could one use the drawing api to create the path, then assign it as a motion guide for a movie clip?
... more >>
special characters like &apos
Posted by stephan.k at 12/2/2005 9:33:51 PM
Hello
How can I display special characters that I'm loading in through xml / php / mysql.
Characters like : ' & " appear as "&apos"
What's the best way to solve this.
Thanks
stephan
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
new to XML -> Flash
Posted by nikerfl at 12/2/2005 8:42:48 PM
Hi. I'm new to using XML in FLash. To be honest i'm new to XML at all. I used
AS help and found out how to perform basic operation with XML. But the problem
is hot to access a value of a particular node. All tutorials i read before was
referencing to childNode. For example, i have XML file rea... more >>
scrooling movieClip
Posted by makmarkit at 12/2/2005 7:57:57 PM
please help me! I have MovieClip larger than movie size, how can i make it scroll, and it must stop in the end!... more >>
using lineTo
Posted by gordonshero at 12/2/2005 7:25:10 PM
This code, which I've copied and pasted from the actionscript dicitonary on
this webpage doesn't seem to work, or more likely than that, I just don't
understand what's happening.
_root.createEmptyMovieClip ("triangle", 1);
with (_root.triangle){
beginFill (0x0000FF, 50);
... more >>
More digits ?
Posted by nintybloke at 12/2/2005 6:43:30 PM
Well, for a game I'm doing, I have a dynamic textbox with the var name 'score',
which obviously displays the score.
Problem is, I need the score to be displayed with 4 digits, like 0000, 0010,
0125, etc.
When I enter _root.score = 0000, and test it, it just displays '0', any help
please ?
... more >>
navigating timelines
Posted by Vee at 12/2/2005 6:18:07 PM
I am having a hard time figuring out why I cant target correctly anymore
without having to use absolute paths. The set up
is three MC's on the stage named:one_mc , two_mc and p4. Both one_mc & two_mc
contains an MC with an instance name of trigger_mc inside of them. I am trying
to target ... more >>
Need help re: randomly playing MP3s from an array
Posted by sandyrivers at 12/2/2005 5:57:58 PM
Hi all,
I have been racking my brain trying to figure this one out, and have posted on
a few other boards with limited success:
I am trying to stream externally loaded mp3's randomly so that once and mp3 is
played it is removed from the playlist (thus eliminating repeats). I'm having
p... more >>
Re: Help with setInterval.
Posted by DadrianKaelan at 12/2/2005 5:57:49 PM
Wow all because I forgot a pair of parenthesis. Jesus...I feel stupid. lol. Thank you for the help LuigiL. Works perfectly now.
--Mike... more >>
variable and function question
Posted by Brian at 12/2/2005 5:52:01 PM
I have series of variable that will be the captions for my hover
captions. They look something like this:
theCap_1 = "Portfolio 01"
theCap_2 = "Portfolio 02"
theCap_3 = "Portfolio 03"
..
..
..
theCap_16 = "Portfolio 16"
These should go into a function setting the roll over and out ac... more >>
fl.browseForFileURL
Posted by jbwii at 12/2/2005 5:27:09 PM
I have a class that extends movieclip
I am trying to open a file selection box using:
var FileURL = fl.browseForFileURL("open", "Select file");
The error I am receiving is:
There is no method with the name 'fl'.
var fileURL = fl.browseForFileURL("open", "Select file");
It s... more >>
Actionscript to load images in a folder
Posted by John Jackovin at 12/2/2005 5:23:18 PM
I currently have a 1 frame file with 2 layers.
Layer 1 is my actionscript and layer 2 is my movie clip.
Here is my ation script..
********************************************
//set counter
i=1
//set number of pictures
pictures=5
//set function
function pictureloader(){
... more >>
Banner scrolling
Posted by Jamal S at 12/2/2005 5:20:23 PM
Hello,
http://www.2n2media.de/V2/2N2.html
I need your help guys, im wondering how he does this, by moving the mouse to
the left - the movie move to the left, the more you move your mouse to the left
- the faster the movie moves to left ?
//Jamal
... more >>
External swf file going back to main timeline
Posted by Mordred58 at 12/2/2005 4:58:30 PM
First off, I am using MS 2K4....
I am in the process of making an e-learning module (teaching a process, and
then quizzing the user at the end) -- and I'm running into trouble with the
last section. I have created my main file which has the course content, and my
quiz for this content is t... more >>
Open up a file (such as a .doc)
Posted by Mikeb88_69 at 12/2/2005 4:43:50 PM
I would like my flash to open up a file (.doc) outside of flash....what would be the code for it?
on (release){
//Open up resume.doc
}... more >>
Loading To Random Points On A Timeline
Posted by nateml at 12/2/2005 3:14:02 PM
Is there a command that will start a flash movie at a different random point on
the timeline everytime it is loaded? I have a .swf file that has 4 movie cips
in it, each movie clip is on a seperate frame. When this .swf file loads on a
website, I want it to start a different one of those 4 mov... more >>
confused... need help with simple action please
Posted by Russell at 12/2/2005 3:13:48 PM
Three frames of actionscript copied below:
This code is only an example stripped from my larger app' of various layered
mc's etc
Basically i want to hide all duplicate mc's until i have tested that they
have all been populated properly.
When the test is true, i then want to un-hide (make visi... more >>
Reduce speed of movie clip on mouse over
Posted by Oli_Wales at 12/2/2005 12:10:07 PM
Hi Guys,
I just want a button that's on a timeline (spining around) to reduce speed
whilst in mouseover, i've seen this done tones of times, but finding it
impossible to achieve.
Here's my flash:
http://www.soulcalibur-3.com/en_GB/index.html
... more >>
appendng a variable to an object
Posted by gisjames at 12/2/2005 11:55:33 AM
Hi All,
I've created an application which places data records into a dataGrid
component called my_grid. I would like to extract the data for a specific
column in that record. So I created an object called myRow which references a
particular item in the dataGrid.
var myRow:Object ... more >>
loadmovie scale problem
Posted by The bloke from stoke at 12/2/2005 11:32:26 AM
Hi there
I want to load in a game flash movie into a main flash file which is acting as
the games interface/holder. The problem is that the loaded movie is smaller
than the main movie and has to be kept to the exact height and width for the
game to work.
e.g. main movie = 800x600, game... more >>
loadMovie
Posted by TacitCracker at 12/2/2005 10:23:23 AM
I have a question about the loadMovie function. When I open the movie on my
site how can I position it where I want it to play on my page. The movie opens
up in the top left corner when I want it to open on the right of the page.
... more >>
action script problems!
Posted by Ramsay de Give at 12/2/2005 9:39:11 AM
:( ~~~ This is killin me yall! I am new to Flash, so go easy if this is a
rookie maneuver. I am creating slideshow within movie clips on a timeline
(scene). I have a button linked wiith script to take me into one of the
layers. The problem is that the button isn't taking me into the layer.... more >>
Naming MC dynamically...
Posted by jcavardfromneta at 12/2/2005 12:58:04 AM
Hi! I need to create a empty movie clip but this return undefined
my_listener.onLoadStart = function(target_mc:MovieClip){
holder = eval("holder_"+target_mc._name); // <----- this
preloader = "preloader_"+target_mc._name; // <---- this....
_root.createEmptyMovieCl... more >>
Help with Countdown
Posted by chocolate999 at 12/2/2005 12:56:14 AM
Here's the fla:
http://www.nictitatingrabbit.com/downloads/info_file.txt
Please help me with this one! I've already made a countdown, but I'm
converting it to read from a text file. Please help!
... more >>
To FlashTastic and David Stiller
Posted by Graff|ti at 12/2/2005 12:44:11 AM
I was reffering to the functions of the class FLfile, FLfile.listfolder() to be
precise. They are in the help files from within Flash 8! However, and this
shattered me, they did not work! I found out later they were from the
Javascript API, and did not work in Actionscript Ran them from within... more >>
Help with Listeners!
Posted by Roks-1 at 12/2/2005 12:10:51 AM
Hi all,
I believe I need help with a listener object I created for the
movieClipLoader() class.
What is happening is when the movie loads a button gets clicked and tells this
code to run, everything works fine the first time around. But if you tell this
code to run a second time it see... more >>
code to modify .fla's
Posted by William_Donelson at 12/2/2005 12:00:00 AM
Is there a way to modify scripts in movies via another script? I have 300
narrated slideshows to make, each one with different sized sets of pictures.
Thus, the shape of the stage, and the position and size of the timeline and
controls is different for each one. It would be nice to be able t... more >>
SetFocus to textfield
Posted by v_gyku at 12/2/2005 12:00:00 AM
Hi all !
This is my post as i have switched to flash just 2 days before.
I am new to flah and trying to learn flash.
I have a button called "submit" on click of this i want focus to be on
textfield(dynamic) textfield name is feedback.
Does anyone has the solution...
Thanks...
... more >>
get click coordinates
Posted by zx.zxcv at 12/2/2005 12:00:00 AM
how can i get the coordinates of a mouse click inside a movieclip or inside the main movie??
thank you... more >>
Mouse Location
Posted by Michel H at 12/2/2005 12:00:00 AM
I want to take this very simple, stock, but slightly modified script and add
one more element to it. It works now except for I want to do something like
this----
onmousedown move cursor to xmouse=320, ymouse=240 (center of the screen)
Is there ANY way to do this.
thanks
Mike
... more >>
How can a event Listener return a variable;
Posted by Amitabh_is_here at 12/2/2005 12:00:00 AM
Hi,
can a EventListener function return any variable. If no then,
is there any way out for this.
Like this : // this code is not returning anything.
var myXml:Xml = new XML()
myXml.load(url);
myXml.onLoad=function(success){
myXmlVar = this.firstChild
return ... more >>
|