all groups > flash actionscript > february 2006 > threads for saturday february 18
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
Mc Folling Mouse
Posted by Ross111 at 2/18/2006 11:37:25 PM
Hi There,
I've made a simple mc that follows the cursor using this code:
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 5;
}
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x += (endX-_x)/speed;
_y += (endY-_y)/speed;
}
all is simple but i'm wond... more >>
telling playhead to stop at a frame for x seconds
Posted by vrish88 at 2/18/2006 10:45:28 PM
how can you pause on a certain frame for like a definable amount of seconds... more >>
Object Control
Posted by finalcutexpress at 2/18/2006 9:54:57 PM
I have a movie (we'll call it myMainMovie.swf) into which I am calling another
movie (mySubMovie.swf) on button press using
this.createEmptyMovieClip("mySubMovie_mc",2). I have scripted an element of the
sub movie (subMovieCharacter_mc) to be controlled by key commands using
(abbreviated):
... more >>
dynamically display spanish tildes/accents using actionscript
Posted by Erin...stumped again... at 2/18/2006 9:33:31 PM
I have a captions array setup in my actionscript so when a videoclip1.flv is
playing the first paragraph of text displays in a text box at the bottom of the
screen. When videoclip2.flv plays then the second paragraph appears in the text
box and so on. The paragraphs are included within the ac... more >>
Flash XML Problem
Posted by t_wooton at 2/18/2006 5:39:11 PM
I've been attempting to integrate a dynamic navigation menu for a flash website
I'm building. I cant figure out why this is not working, though I've checked
several documentation sources. I'm sure is something obvious, maybe you guys
can catch it. Thanks in advance! Here's my actionscript code... more >>
error with Math.round(Math.random..... code
Posted by Meatoaf0123 at 2/18/2006 5:13:47 PM
hi,
im pretty new to actionscript, and this is really my first attempt at ever
coding in it... I'm trying to make a random number generator as coding
practice, and hitting some bumps.
i want the generator to generate numbers from a range. this range is declared
by the user in Input box... more >>
Sending and Array to ASP from FLASH
Posted by JimmySlam at 2/18/2006 4:50:57 PM
Hi im triying to send an array to an ASP file with SEND. but it doesnt work.
-------------------
----flash side.----
-------------------
var MiLoadVars = new LoadVars();
MiLoadVars.hola[0]="holahola";
// MiLoadVars.saludos="";
MiLoadVars.send("http://www.granc..,"_blank");
stop();
-... more >>
Html code
Posted by xtremeheat at 2/18/2006 4:27:13 PM
Hey
I'm pretty new to flash action, and i really need this code below to work in
flash. Some help would be nice..
Alright thanks
<div align=center>
<style type=text/css>.test {display:none;
visibility:hidden;}</style></form></script><form name="Form" action="index.php"
target="_self... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Please help re-psoition Loaded SWF
Posted by snurg at 2/18/2006 2:56:32 PM
I have a Flash app main screen that is
1024 x 768 and I have a an empty movie clip
where I want to load SWFs
My loaded SWF is much smaller about
300 x 400 and it comes in on the upper
left of the screen
I want it re-positioned in the middle right
How do I do this?
thank you
... more >>
flash php email form
Posted by dirkness at 2/18/2006 1:34:55 PM
hi
I've set-up the flash php email form contained in this tutorial
(http://www.kirupa.com/developer/actionscript/flash_php_email.htm).
It was working fine until I put the form movie clip within another movie clip
(so the contact.swf with the email form is loaded into a movie clip holder ... more >>
problems with html rendering
Posted by codescodescodes at 2/18/2006 4:35:56 AM
Hi everyone, has anyone experienced improper rendering of html tags? I'm
trying to render two images next to each other, but I'm getting a layering
effect in the text field. I know the code is right because when I test it in a
Notepad text editor, it renders fine. Here's the code:
// ma... more >>
Transfer numbers from one movie to the next
Posted by Snej at 2/18/2006 4:07:34 AM
So I have a value in movie1 say x=8
I load movie2 into level 5
loadMovieNum("movie2.swf", 5)
In movie2 I can pull the x value into a dynamic box with:
_parent.x
One would then think I can use _parent.x to work with the number say:
_parent.x+10=
But NO. I realize I don't get the... more >>
Scaling movie clips
Posted by clcarter at 2/18/2006 3:47:05 AM
I'm certain there is a simple solution to this but I just can't see it. I have
a map with a number of individual movie clips plotted as markers. I want to
scale all the layers, but the markers won't stay in place. I have been
incrementing/decrementing _xscale and _yscale. Is there another way ... more >>
spokesperson template/synch graphics
Posted by bucktown at 2/18/2006 2:44:22 AM
anyone try the TIMELINE VERSION (not the SLIDES version) of the "spokesperson"
template? Dan Carr did not include any script to stop the thing when it gets
to the end. i tried 3 things:
1) using the Component Inspector for the FLVPlayback componet, i changed
autoPlay to false -- that had... more >>
Fade button on rollover
Posted by MoonPilot at 2/18/2006 12:54:17 AM
Well, I have a few buttons. The button of the page that is loaded has an alpha
value of 100%. The other two button show at 50%. I simply want the button to
increase alpha value from 50% to 75% on rollover. I cannot get this simple
script to work . Please help.
object: button_test (????)
... more >>
_root good?
Posted by ck1mark at 2/18/2006 12:47:22 AM
my ? is should i be using root or another method or class. How would i code it
is my ? thanks
I am using a window component that has a movieclip inside.
This movieclip contains a button that controls a movieclip on the main stage.
button. onPress = function() {
_root.myMovie._width += 1... more >>
An effect
Posted by unlockadmin at 2/18/2006 12:00:00 AM
Hello,
I have a sample file.
I want to know hopw to make this effect.
http://www.mysharefile.com/v/7439317/intro_2.swf.html... more >>
Array problem
Posted by doug777 at 2/18/2006 12:00:00 AM
I have a variable myResult which can contain an array or a string.
When it is an array, myResult might contain e.g.: "1", "2", "3", "4"
If I write: var results:Array = ["1", "2", "3", "4"];
results.length = 4,
But if I write: var results:Array = [myResult];
results.length = 1.
How can ... more >>
More Rollover help
Posted by MoonPilot at 2/18/2006 12:00:00 AM
You guys will see I am a newbie and learning as I go. I had a question answered
earlier about alpha effect and rollovers. Now I am adding an additional effect.
I have no idea how to go about it however. I actually got the effect to work,
but not in a logical manner.
Pretty basic stuff I th... more >>
For loop with stepped increment
Posted by doug777 at 2/18/2006 12:00:00 AM
How do you write this line in ActionScript:
for (var i=0; i<myArray.length; i++) {}
if you want i to increment by a number other than one?
Doug... more >>
text selection
Posted by vt_arun at 2/18/2006 12:00:00 AM
Hello to all those who see my message. i just want to know how to get the
selected text in a text fild... i mean that if there is a text box and a
button in a screen.. when i click the button it has to store the texts which i
have selected in the text filed. .. you know when we click out of ... more >>
mediaController component
Posted by William_Donelson at 2/18/2006 12:00:00 AM
Is there a (simple) way to use Gray instead of green for the color and
highlighting of the play bar of the Media Controller component?
I have tried to read about Skins, but don't understand how to apply them to my
controller.
Thanks
... more >>
|