all groups > flash actionscript > october 2006 > threads for saturday october 14
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
Doesn't work when loaded
Posted by thejokerman05 at 10/14/2006 10:35:19 PM
I have a main movie where I'm loading .swfs into using MCL. When this .swf is
loaded it just don't work. Any idea on this? Here's the code and
http://www.gregory.se/example.fla if anyone is up to it.
// how many nav buttons
var picNum:Number = 5;
// start
containerMC._alpha = 0;
... more >>
Counting
Posted by thejokerman05 at 10/14/2006 9:24:02 PM
How do I write this to load the appropriate image? I want to load the same
number as the button I click on. Now I have a trace action where the loading
should occur and that only show that I'm loading image number 15 all the time.
Anyone?
function hitButton(nbrID) {
btn = _root["bt... more >>
Actionscript
Posted by derbys1 at 10/14/2006 8:49:09 PM
What im needing to do for a course im doing is to create a little movie, so im
not looking for the answer as such, just for you to give me a few bits of
advice, guidance etc.
So i want to create a movie that has a series of small bars in which the
height of these bars change randomly over ... more >>
Coding issues
Posted by space21uk at 10/14/2006 8:12:15 PM
I have added this code to my button that controls a small audio file, my
problem is that when you click play, it starts to play for a quick second, cuts
off and then plays the whole file. I have just added a very small part of the
song as i am still testing the site.
if you wish to see what ... more >>
how to make an object follow the mouse but still being able to move the pointer inside the object
Posted by korubana at 10/14/2006 5:36:50 PM
Hey!
I have a little problem with the following code
onClipEvent (load) {
_y = 0;
speed = 3;
}
onClipEvent (enterFrame) {
endY = _root._ymouse;
_y += (endY-_y)/speed;
}
what i want is that the object doesn't start moving directly with the mouse
pointer but when the pointer... more >>
ExternalInterface.call not working in Firefox?
Posted by Ubi at 10/14/2006 4:50:55 PM
I want to call a javascript function from a Flash application and I am using
the following:
ExternalInterface.call("songStarted", soundCurrent);
This should trigger the javascript function "songStarted" with the
value of soundCurrent (which is a number) as parameter.
On IE, the javascrip... more >>
Adding Problem
Posted by The_Real_Ciber at 10/14/2006 2:11:32 PM
Okay, i'm makeing a bank-like thing, heres the script:
Code:
on (release) {
if (_root.cash>=_root.bankdeposit) {
_root.bankbalance+=_root.bankdeposit
_root.cash-=_root.bankdeposit
} else {
_root.notice = "You can not deposit that much!"
} }
When they type the number to depo... more >>
syntax replacing tellTarget?
Posted by raouldelorez at 10/14/2006 4:42:30 AM
Documentation say tellTarget is deprecated;
Instead of
tellTarget ("_parent."+_parent.firstnr+".obj"+this._name) {
play();
}
what is the correct syntax?, tried
["_parent."+_parent.firstnr+".obj"+this._name].play();
but does not work.
anybody knows?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Simple Number display-- ActionScript Help!
Posted by dmcdonou at 10/14/2006 2:31:02 AM
Hey, I know this is a bonehead question, but I'm brand new to ActionScript and
I don't even know where to begin looking:
I'm using Flash 8, and I need to do the following:
I have a bunch of buttons that simulate a number pad, and I need the to alter
a text box to reflect the numbers pres... more >>
movieClip Button
Posted by cupaball at 10/14/2006 2:04:05 AM
Hi All,
I was hoping someone could help me out. I have some code for my movieClip and
I cannot figure out how to make the button stay on the rollOver state and play
out whatever button was pressed, when pressed.
tn1.mctext.stext.text = "01. home"
btn1.onRollOver = function() {
this... more >>
How can I play some frams after 2 seconds?
Posted by Bogdan_ro at 10/14/2006 12:00:00 AM
I am working to a flash movie, and I have some frames that I want to play at
1fps... I can't change the frame rate, because it is changing to all movie, I
want only these frames to play after 2 seconds, how can I do this with an
action script?
Thank you!
... more >>
|