all groups > flash actionscript > january 2005 > threads for saturday january 15
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
for loop
Posted by mediumbear at 1/15/2005 11:03:51 PM
why does the following not work, assuming the dot syntax is giving proper path to MCs?
for (i=1980; i<=2021; i++){
_root.map._visible = false;
}... more >>
Loading .SWF - controlling timeline
Posted by trabac at 1/15/2005 11:00:08 PM
Hello. I have a main.swf, and I need to load sub.swf into it. I can get the
sub.swf to load, but depending on what link was clicked in main.swf, it needs
to jump to the appropriate section in sub.swf . Can anyone please help? Thank
you!
... more >>
Button question
Posted by mikepeloso at 1/15/2005 10:54:36 PM
This works:(Button Actionscript) on(press){ var songa:Sound = new Sound();
songa.loadSound('http://www.ampsoft.com/Sean/media/95south.mp3',true); } But
this Doesnt(Timeline Actionscript, Everthing is spelled correctly)
bonga_btn.onPress= function(){ var songa:Sound = new Sound();
so... more >>
"Passing around" a JPEG loaded using loadMovie
Posted by AlexMaghen at 1/15/2005 10:44:47 PM
Let's say I'm going to load a JPEG file into my flash movie using loadMovie(),
but then I want to use that loaded JPEG in many different places without having
to re-load it. Is there a way to effectively pass the graphic object around by
'variable' within flash and instantiate it whenever and ... more >>
How address embedded sound?
Posted by Markus Ernst at 1/15/2005 10:24:53 PM
Hello
I made a movie with an embedded sound (dragged in from the library). How can
I set it's volume with Actionscript? I know how to do it with a sound
object, but as I did not import the sound with Actionscript there seems to
be no object I could address with the setVolume() method...
... more >>
ActionScript "SCOPING" Problem
Posted by AweSIM at 1/15/2005 10:14:56 PM
hi.. im new to action scripting.. and there's a problem bugging me since quite
a while now.. i've already read Flash MX Help files that come along about event
scoping.. scope of this keyword.. etc..
in my honest opinion.. i am very much disappointed by actionscript 2.0.. you
can create cla... more >>
number trapped in variable
Posted by mediumbear at 1/15/2005 9:55:52 PM
i have a variable set to value 1985. year = 1985; i would like to have a
button, when pressed, send the movie to frame '1985' not frame number 1985.
i've been using: on(press){ gotoAndStop('year'); } of course this is not
working. any help? thanks!
... more >>
Buttons
Posted by ReidarAxl at 1/15/2005 9:37:00 PM
I'm new with MX 2004, so here's there Quiz:
I've made a button, and this is what I want it to do: When I rollover the
button with my mouse, I want it to GOTO and play a frame, on a movie inside the
button. And when I rollout, I what it to GOTO and play another frame....
How????
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Strongly typed variables and _global variables.
Posted by Tankshell at 1/15/2005 8:43:23 PM
In order to use strong typing in Flash MX04 you have to use:
var myVar:String;
My question is. How can you use strong typing with global variables. You
cannot do this:
var _global.myVar:String;
or this:
_global.myVar:String;
so how is it done? I like to make all my timeline... more >>
Load Bar to Monitor # of MCs loaded
Posted by mediumbear at 1/15/2005 8:16:54 PM
I have multiple MCs loading data dynamically and i'd like to put a loading bar
on the collective group to allow the movie to begin once all movie clips are
loaded with .jpeg images. Sample: map1.loadMovie('maps/1.jpg', 1);
map2.loadMovie('maps/2.jpg', 2); map3.loadMovie('maps/3.jpg', 3);
m... more >>
Instance property undefined from a custom listener
Posted by clrk at 1/15/2005 8:09:52 PM
Hi.
I'm kinda new to this oop thing.
Anyway, here's the problem i'm struggling with:
I have two classes, one is Ball and the other one is Caller.
When i'm doing a trace of the object property when the event is broadcasted,
it returns undefined, but when i call my method with myBall.... more >>
easing help
Posted by Sourabhkothari at 1/15/2005 6:47:54 PM
in the attached code ,when i drag the central box the other 3 connected boxes
follow it (finally coming to their initial distance from the central box) with
easing.
PROBLEM : consumes a hell lot of CPU.
PROBLEM 2: now i want that when i drag any of the other 3 boxes the other 3
follow ... more >>
Moving the _y of one line based on user input in textfield
Posted by Pluda at 1/15/2005 6:37:57 PM
Hello,
I have a simple form here, using one triple line input textfield.
above the textfield, making a kind of untherline I have one line (movieClip)
He is at _y = 20
I want him to self move to _y = 40 if the input text exceeds the _with of the
textfield (171)
If the user input... more >>
Alert Box Beep Sound
Posted by MikeMedia2 at 1/15/2005 6:01:01 PM
I've been beating around this sound syntax until I'm disgusted. Please help me
understand exactly where to put what the names of the sound file and the
associated movie clip. if (everythings ok) { gotoAndStop(2); }
else { setProperty ('_root.alertbox', _visible, true);
///... more >>
Robert Penner Equations
Posted by bknowlden01 at 1/15/2005 4:05:21 PM
I am pretty familiar with AS 2.0 and have recently stumbled upon the opensource
Robert Penner equations, but can not get them to work. Has anyone had any
experience implementing them? Any online tutorials to look at? Thanks in
advance :: blk ::
... more >>
onPress trigger onRollOut and onRollOver
Posted by highlander_1 at 1/15/2005 1:54:15 PM
What?s the correct If-statement to solve these problems?
In main timeline in myMovie.swf I have a nested myParentMc that I want to act
as a button.
(myParentMc whith the nested myChildMc.)
onRollOver - I want to play a animation in myChildMc (frame 1-30 loop)
onRollOut ? I want the an... more >>
MVC AS2 forums
Posted by dubya at 1/15/2005 1:17:23 PM
....because i can see myself having a lot of questions on this subject in the
coming months and the few times i have posted to this forum previously my
queries have generally not be answered. thanks people.
... more >>
seeking movie clips
Posted by chinese_democracy at 1/15/2005 12:02:50 PM
i have a slight problem i am trying to make one movie clip detect where another one is and follow it for a game but have yet to suceed plesae help me sort the problem... more >>
Dupplicating movieclips and applying a dynamic mask on it.
Posted by cainarachi at 1/15/2005 12:01:51 PM
Hello, I?ve got a dynamic system of buttons(botao) using one Mc with a button
inside and than i duplicate the Mc, i also keep the mc?s names (botao1 ,
botao2, etc..) in one array(nomes) THE PROBLEM IS .... when i try to use a
dynamic mask over the button it only covers one button and not the ... more >>
Find duplicate form an array
Posted by indigonation at 1/15/2005 11:14:05 AM
Please help me to find duplicate elements fom an array ..and how to
remove the first one from the duplicates and shift the remaining
upwards.. in the array... more >>
text formatting confusion
Posted by lusalry at 1/15/2005 7:00:37 AM
i am using the following code to set up a dynamic text field on a black
background:
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = "my font";
my_fmt.color = 0xffffff;
my_fmt.size = 18;
this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 160, 120);
my_txt.wor... more >>
Movie Clip VisibilityHide the Movie Clips on the stage
Posted by indigonation at 1/15/2005 6:37:25 AM
I have 25 movie clips in my stage. When the Flash movie start I want all the 25
movie clips hidden ( _visible = flase) on the stage.
I wrote code like the following.
mc_0._visible = false;
mc_1._visible = false;
mc_2._visible = false;
-
-
-
-
mc_24._visible = false;
this ... more >>
loading movies dynamically
Posted by Lilibeta at 1/15/2005 5:28:20 AM
I have a page in flash that profiles characters. Each character is listed at
the top of the page. When you click on their icon, two movies relating to each
character (one of images, the other of facts) are loaded into the page. I can
get the first one to work but none others. Here is the ... more >>
can't play sound on _level1
Posted by vcirilli at 1/15/2005 3:26:30 AM
Hi guys,
I have a site which includes mp3 files in it. The site works fine as is but
it's a bit large so I built a preLoader to load it. The preLoader lives on
_level0 and the main site ends up on _level1.
Everything works fine except
my mp3's will not play?
In trouble shooting I've rel... more >>
Determining the end of an FLV
Posted by nintendo-n8dawg at 1/15/2005 1:24:15 AM
The FLV file is loaded into a video object and I'm trying to determine the end
of the video so that i can perform an action.Ie. When the video stops playing,
it goes to another frame.
Enclosed is the code I'm trying to use. Unfortuneately it doesn't work. Any
ideas are much appreciated!
... more >>
automatic text field height?
Posted by lusalry at 1/15/2005 12:55:45 AM
I am trying to import a large chunk of text via actionscript, and want the dynamic text field to adjust its height automatically to fit all the text. is this possible?... more >>
Can you mask a dynamic text field?
Posted by tallscot at 1/15/2005 12:44:05 AM
I need to animate separate dynamic text fields within a mask so they scroll in
and out of the screen. When I apply a mask to four layers, each with a
different dynamic text field, the fields do not get filled with text when it is
published. If I get rid of the mask, they work perfectly. Than... more >>
link to mc/textbox from xml menu?
Posted by gungus at 1/15/2005 12:35:42 AM
Hi,
I've been trying to get an answer to this but lost my original info. Is it possible to code a link in a xml menu to target a text box rather than an external link? Much thanks in advance!... more >>
|