all groups > flash actionscript > february 2006 > threads for saturday february 25
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
action script 2.0
Posted by kewlj at 2/25/2006 11:48:52 PM
I'm using the script below (from theFlash pro 8 training guide) to load two
videos (one after another). The way it's written it continuously loops through
both videos. Is there a way to play both and stop at the end - ready to replay?
var videoLoaderIndex:Number = 0;
var videoPlayerIndex... more >>
Special Effect
Posted by SEPHlROTH at 2/25/2006 10:25:18 PM
Hi I just found a cool swf today and I really want to learn how to write the
script to make it happen, I know it must have something to do with random() and
alpha since there are growing light come out and fly in a random direction then
fade out, and also one thing is very interesting that if ... more >>
History with in Flash movie?
Posted by rogerpoole at 2/25/2006 10:16:55 PM
I have a site with 4 nav buttons on the right. This nav is the same on 5
seperate scenes.
On mouse over I would like to show a page from one of 4 destination scenes.
On click you should go to your selected scene.
On roll out, you go back to the scene and frame that you were when you rolled... more >>
Error: cannot create Flash movie. Not enought memory available
Posted by aa at 2/25/2006 9:52:31 PM
The .fla file which used to get published and run OK suddenly started take
too long to publish and then throws and error "Not enought memory"
It nevertheless creates a swf file of enormous size (16M) whereas it used to
be 250K
What happened?
... more >>
Some advice please
Posted by ActionScripter1 at 2/25/2006 9:03:00 PM
Hi Guys,
I am attempting to create a login screen which sends and loads the variables
using php, php will query the database and print out a variable which wil then
be loaded back into flsh and tell flash which frame to go to.
the little issue I'm having is, I did this two weeks ago and ... more >>
Troubles with Tree component.
Posted by Ensness at 2/25/2006 8:45:15 PM
Hi all!
I got some trouble with Tree component. I have a button on my stage named
MakeChild. That button makes currently selected node a child of the previous
sibling. The code is provided below.
The problem is that the result of the function are TWO new nodes that are
identical and one ... more >>
Dynamic Text Wont Display
Posted by sacrilage at 2/25/2006 8:32:17 PM
So I am having this problem with dynamic text boxes that makes me want to throw
my computer off a 10 story building. I know everyone has had those
days....weeks? So anyway to the point.
I have a dynamic text box that I have either tweened, or put inside an MC that
is tweened. If I embed... more >>
Sounds not loading in Firefox (only in IE)
Posted by mraak at 2/25/2006 8:26:46 PM
Very strange problem indeed. I'm loading sounds from the queue, aprox. 800
sounds. So, after each of the sounds is loaded with loadSound(), the next one
is called to load an mp3 into itself. I've done this locally in it works really
great. But when I put it on the server the problems are arisi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
script target help
Posted by _gary_ at 2/25/2006 8:24:06 PM
aScript from a button,
loading a swf file into a instance of loader (component)
the loading works, but not the step through playing of the frames?
successive clicks reload swf
on (press) {
this._parent.picLoader.loadMovie("show_01.swf");
}
on (press) {
if (this._parent.... more >>
actionscript noob needs help
Posted by bruceMcGoose at 2/25/2006 7:47:22 PM
bah.. recently decided to venture into actionscript, and.. well i don't have a
clue what to do for this:
I want to recieve a value from a .php file, and display it in a textfield,
with the instance name commentField.
After reading through various tutorials (most of which didn't make much s... more >>
What is wrong with this short script?
Posted by MoonPilot at 2/25/2006 7:45:52 PM
Been trying to begin writing basic script. In the following I have a stage with
a movieclip (ball). Embedded in the movieclip is the same graphic (ball) that
be converted to a button. The movieclip simply tweens the ball from alpha 100
to alpha 30 and back over 30 frames. Very slow, very basic... more >>
Trace and button code questions
Posted by bubba_puck at 2/25/2006 7:42:14 PM
If I leave trace() commands in my code will it effect the animation when it is
running on a website? Below is my code. I have a page that loads (the first
three chunks of code is a preloader). When the user clicks one of the buttons,
it goes to a certain page. The user says when she clicks the... more >>
set variable
Posted by MoonPilot at 2/25/2006 6:52:13 PM
i want to set a variable when a mouse rollover occurs but can't seem to get it
right. I simply want to set Variable: mouse =1. How is this coded for
actionscripts?
I get syntax errors with the following:
on (rollover) {
set variable ("dummy" = 1);
}
... more >>
FLV time question. ..
Posted by Russell at 2/25/2006 6:41:32 PM
Please assist if you can...
How can I determine the time length in seconds of external FLV clips
dynamically speaking with actionscript "prior to loading" them into the FLV
player?
Thats it in a nutshell ... I can grab the time once they are loaded into the
flv-player, but i really need ... more >>
Yet another _root question
Posted by faajohn at 2/25/2006 6:36:25 PM
Situation:
I have a custom (extended through actin script) movie clip "B" that is loaded
into another movie "A" via the MovieClipLoader class.
The load code work great, but a few of my methods (in the extended class)
reference _root and will not work.
"A" uses a MovieClipLoader to load "... more >>
Extending class
Posted by SimonBoris at 2/25/2006 6:26:53 PM
Hi everybody,
By default, XML class extend XMLNode Class.
I would like the XML Class to extends XMLE, my class that extend the XMLNode
Class.
How do i do that, without changing/editing the XML.as of macromedia ?
XML.as (macromedia) --> XMLE.as (my class) --> XMLNode.as (macromedia)
... more >>
Loading JPGs
Posted by Gionex at 2/25/2006 5:52:23 PM
Hey
Im really pissed of ive been working for like an hour and i can't get this
damn thing to work. How can i simply load a jpg into a movie clip and either
get a function to tell me when its fully loaded, or find its getBytesLoaded /
getBytestTotal properties. My problem is that i have a num... more >>
copy MovieClip into a different parent
Posted by elmuerte_tds at 2/25/2006 4:56:55 PM
How can I copy\move\etc a MovieClip to a different parent.
for example:
_rootmc1mc2mc21
I want to copy\move mc21 to become a child of mc1.
I'm working on a flash application that consists out of a viewer and an admin
applet, the admin applet is loaded on request and I need to add mov... more >>
load external swf from frame
Posted by _gary_ at 2/25/2006 4:44:24 PM
:confused;
my actionScript knowledge is basic
I am using studioMx, flash Pro 7 on mac
i am trying to load a external swf "Thumb_01.swf" into an instance of
component Loader "instance name is thumbLoader", the "thumbloader" is on the
stage on a layer, I want to load the "Thumb_01.swf" i... more >>
FS Command to open a PDF
Posted by kwp at 2/25/2006 3:49:23 PM
I am trying to use the fscommand to open a pdf file.
I am using the following parameters to do this. I must be missing something as
the file does not open. It is sitting in the same directory as my flash file.
Any suggestions would be helpful.
fscommand("exec", "my.pdf");
... more >>
setting object attributes dynamically
Posted by Tom at 2/25/2006 3:02:47 PM
i'm running through an external xml file, and i'm assigning the nodes
to a custom object defined in an external .as file (the object is
called Folder, defined in Folder.as). i'm treating the object as an
array (i.e. folder[0].attribute, folder[1].attribute, etc). basically
i'm trying to set th... more >>
Calling unknown MC
Posted by Gionex at 2/25/2006 2:06:33 PM
Hey
I have an a menu movieclip and in it i have item1 to item20.
If I call this in the menu it would work fine, but i cant figure out how to do
it from the _root. I have tried many ways:
menu._x
menu._x
this.menu._x
this_x
and nothing works!?
There must be a simple sollution.
T... more >>
endless background
Posted by rohai at 2/25/2006 12:48:01 PM
Hi,
this is what I wanna do. The scene is a room. The user has a feeling he/she is
standing in the center of that room. When he/she moves the mouse to the left,
the room spins around and it doesn't stop when it reaches the end. Instead in
countinues with the start of the room. And the same... more >>
HTML/JavaScript into flash compatible action script
Posted by WeQCcom at 2/25/2006 4:41:01 AM
Can anyone help me convert the following HTML/JavaScript into flash compatible
action script? I have a new flash site and need to reproduce the old login
"POST" form in flash as actionscript.
<script language=javascript>
var showinfowin
function showinfo(){
if(showinfowin) showinfow... more >>
directing a movie clip to a frame
Posted by agent007marc at 2/25/2006 2:59:41 AM
i need help on my movieclip. i will call my movieclip MC and it is nested on
two more movieclip, specifically MC_parent_1 and under it MC_parent_2 and then
MC. i want that when i click MC it will bring me to another frame in the _root
timeline of another scene. i used this codes but it doesn't... more >>
movie clip resize listener
Posted by Stasa at 2/25/2006 2:09:53 AM
Does enyone kow how to make listener that
will be listening transformation
of movie clip (resizing, scalling, rotation...)?... more >>
Child movie not playing
Posted by HenrieMediaInc at 2/25/2006 1:06:34 AM
I have created a SWF that has a link to another SWF containted in it. The
parent SWF loads the child SWF fine, but the child won't play. Any ideas why?
The parent SWF is only 2 frames long, it just loads a 'loading' page in frame
1 and then other movie in frame 2 and then stops. The child... more >>
Novice in a Jam
Posted by Capt&Coke at 2/25/2006 12:42:16 AM
OK - quick background. Learned Flash 4/5 never did any scripting. Haven't
touched it in a number of years. My flash designer is on maternity leave and I
need to get a Flash self assessment interface completed in a month.
Self Assessment consists of 12 questions which will display a dynamic ... more >>
hitTest gravity trajectory stuff
Posted by Jimmathy at 2/25/2006 12:06:00 AM
im making a pinball game and i just cannot figure out how to give the ball
gravity so it rolls down. also i cant figure out how to make it so if the ball
gets hit by the flipper when it flips up it will go up, like a pinball machine.
If i make this game good i will get paid so please help!
t... more >>
clickable areas in mc buttons
Posted by KeithRT at 2/25/2006 12:00:00 AM
is there any way to make certain areas in a movie clip button clickable and
others not? For instance, i have a shape and text inside the button but i only
want the shape to be clickable and not the text.
Any ideas?
Thanks, Keith
... more >>
noob question loadMovieNum
Posted by p8ntblr at 2/25/2006 12:00:00 AM
ok I'm really new to flash and am trying to load a slide show into my movie
using the loadMovieNum command. I got it to load but I can't seem to control
it's position. When I did a trace of the x position I get undefined. Here's
the code I used:
btSlideShow.onRelease = function():Void ... more >>
Can I create a window with a sort of 'Google Maps' functionality?
Posted by rich NO[at]SPAM ripe at 2/25/2006 12:00:00 AM
A kick in the right direction wanted please.
Hi all. I'm unashamedly begging for some help, or at least a pointer to where
I can find a tutorial or something similar to what I'm after.
I would like to create a flash window within my html page that performs just
like the google maps windo... more >>
Randomizing Arrays
Posted by nintybloke at 2/25/2006 12:00:00 AM
Alright, i'm making a card game in flash, and i decided to add all cards into
an array (cardArray).
All 52 cards should be added in this array, and then, the array should be
shuffled.
Look at the example:
BEFORE
cardArray = new Array();
cardArray = card1;
cardArray = card2;
cardA... more >>
How to put one MClip into another MClip
Posted by ANDR_ew at 2/25/2006 12:00:00 AM
Hello!
Imagine, we have 2 MovieClips on the stage: _root.mc1 and _root.mc2.
How can we put the second MovieClip into the first one via ActionScript to have _root.mc1.mc2?
Thanks!... more >>
Randomize xpos and ypos
Posted by makate at 2/25/2006 12:00:00 AM
:confused; my country is holding local elections, so i want to create a ballot
box. the thing is when the user intend 2 select the candidate i don't like, i
want the focus movie to run away from the mouse, i.e. change its xpos & ypos
randomly.
... more >>
import Class problem (*help*)
Posted by miquael at 2/25/2006 12:00:00 AM
i've created a fairly complex 3D FLash application using the Quaternion 3D
Flash engine:
http://www.jalaka.com/shikhara
the FLA imports several external .as files, and a number of custom classes.
everything had worked fine when i created the application over a year ago. now
when i go... more >>
No images in slide show
Posted by jbeck62 at 2/25/2006 12:00:00 AM
I downloaded the trial version of Flash 8. I have never used flash before so I
was doing a tutorial. I was doing "Building your first Flash application". Upon
completion I have no errors in my action scrpit but my images will not appear.
Can someone tell me why this is happening?
... more >>
|