all groups > flash actionscript > april 2006 > threads for sunday april 9
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
How do I assign different Actions to letter keys?
Posted by WeirdGuy at 4/9/2006 11:39:09 PM
Well that's only half the question. Is there a way to make //if
(Key.isDown(Key.RIGHT)) command but work with other keys like the WASD keys. I
want to make something move with the WASD keys instead of the Arrow Keys.
However when I plug the commands into it I can't get it working with the
... more >>
trying again: getURL issue
Posted by hsheffer at 4/9/2006 10:03:53 PM
I'm trying to make a boton linked to an HTML file, (that contains swf), and I
want to skeep the first swf frame, and start playing in second frame.
normaly i'd use
on (release) {
getURL("projects.html", "_self");
}
what should I do in this case?
thanks!
... more >>
Help me make sense of this actionscript! Simple question.
Posted by guttyguppygmail at 4/9/2006 10:00:08 PM
I have a movie clip named ball on the stage. I have this script:
this.ball.onEnterFrame=function() {
trace ("hello");
}
Great, it traces hello a million times. So, why doesn't this make the ball
move across the stage?
this.ball.onEnterFrame=function() {
trace (this.ball._x+=5);
... more >>
Re: geturl 2 frame, how do i write the actionscript?
Posted by hsheffer at 4/9/2006 9:55:33 PM
exactly!
I mean to make a link to swf file (in html file), but to get in and start in second frame, skip the first one.
any idea?
thanks
... more >>
ActionScriptConundrum
Posted by Damnnationx at 4/9/2006 9:34:20 PM
Ive followed this tutorial to the letter.
http://www.webwasp.co.uk/tutorials/b04-menu-swing/01.php
Now at the start of the tutorial it uses the page dimensions of 525 by 200
which means for this tut the problem is not present..
Ive taken this tutorial and done it on a bigger page so whe... more >>
write classes
Posted by supersevica at 4/9/2006 9:09:42 PM
I just want to know if there are some organised tutorials or good book about writing classes in AS 2.0, and use .as files in proper OOP way .
thanx !
... more >>
Can Actionscript play a RANGE of frames?
Posted by Angyl at 4/9/2006 8:11:50 PM
What's the Actionscript that would tell a movieclip named ballOne, for example to
on(release)
this.gotoAndPlay(2);
and STOP playing at frame 18?... more >>
Movie Clip Loader Question
Posted by incubox at 4/9/2006 8:10:35 PM
I am using the movieClipLoader method. No problems there. But I notice that
when I load a movie over another movie that contains rollover actions, the
rollovers are still functioning beneath the higher level movie even though you
can't see them (I was wanting the higher level movie to preven... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do I check if user closed flash
Posted by palsforpals at 4/9/2006 7:05:15 PM
Im making a small login page, which can be used by only one user to login to a
site. For this purpose, Im connecting to a database using JSP. In the database
I have stored the current username that is "logged in". So...Im able to allow
only one user to login at a time. smile.gif
But now my... more >>
This is driving me nuts-can't get a simple function to work!
Posted by guttyguppygmail at 4/9/2006 5:24:21 PM
I have this on my frame:
function showMessage(someText:String):Void {
trace(someText);
}
this.myButton.onRelease=showMessage("hello");
I have a button on my timeline with the name "myButton".
Output traces one instance of "hello" when the movie is tested. Pushing
myButton does no... more >>
PHP and Flash form
Posted by Verstile at 4/9/2006 5:20:46 PM
Hi i need to simulate this html form into flash.
<form action="index.php?action=browse_res&browse=search" name="res_search"
method="post">
<tr>
<td width="214" class="box">City:</td>
</tr>
<tr>
<td class="box">
<select name="search_city" id="search_city">
<option value="" select... more >>
stop action
Posted by EBTurner at 4/9/2006 5:17:09 PM
Hey Everyone...
i put the stop action at the end of each keyframe where my first scene ends.
and it stop the animation from looping, but the images dont stay up after... it
loops back to the first frame and stays there.
what i am trying to do is get it to stop and have that image it s... more >>
How i make it so _x is not greater or less but inbetween 2 numbers
Posted by rbr1234 at 4/9/2006 4:56:19 PM
_x > = 200
_x < = 700
But do you say
_x is between = 200 , 750
Thank you for your time
Sincerly,
rbr1234... more >>
Set root/global variable from LoadVars
Posted by Timothy Robertson at 4/9/2006 4:22:51 PM
Hi,
I have used a "LoadVars" to get some data from an ASP file and would like to
set a variable in it to be used later in my script but can't seem to set the
_root variable, what am I doing wrong?
My code is below. You will see I have put two traces in to test, the one
within the function r... more >>
Are there two implementations of startDrag()?
Posted by sparky1962 at 4/9/2006 3:56:12 PM
Inside a MovieClip instance's Acction panel, the following code show one "code
hint"
on (press)
{
startDrag( this, true , 0 , 0 , 550 , 400 ) ;
}
the following code shows a different "code hint" suggesting there are two
different implementations of startDrag()
on (press)
{
... more >>
Duplicating MovieClip & Fixing Position Troubles
Posted by Rapatski at 4/9/2006 3:07:53 PM
Dear flash collegues,
About: Infinite scrolling of a movieclip.
I have a question about how to let Actionscript copy and stick a duplicate
movieclip to the edges of a scrolling movieclip so it can be endlessly
scrolled. Obviously I first went searching the boards and came across a post ... more >>
Why is "this" different in Button event handlers?
Posted by sparky1962 at 4/9/2006 2:53:28 PM
If I define a Button event handler in the Actions panel of a Button instance
"button" as follows:
on( press)
{
trace( this) ;
}
I get a different result than if I define the handler in the Actions panel of
the parent timeline's keyframe as follows:
button.onPress=function()
... more >>
detecting functions
Posted by JesperBisgaard at 4/9/2006 2:06:29 PM
Hi,
I am building a system where I can control a swf file inside another swf file
from a remote location. What I do is that I load one swf file into my control
swf and when ever i register a mouse down or up i iterate though every object
in the loaded swf file using a for(prop in root) loo... more >>
How to download several files using Flash
Posted by JimmySlam at 4/9/2006 11:47:32 AM
Hi, I have been looking though the net to find out how to download several
files from a server quickly. The user has to download around 200 files and i
dont want to create a system that forces you to download file by file,(can u
imagine). There must be something more usefull, doest anyone have... more >>
geturl 2 frame, how do i write the actionscript?
Posted by hsheffer at 4/9/2006 9:09:07 AM
hi
I want to make a link to an html file, but to start in second frame. the
regular actionscript is
on (release) {
getURL("projects.html", "_self");
}
but how do I add the "2 frame"?
thanks
... more >>
Glitch with depths?
Posted by l_andrew_l at 4/9/2006 6:22:21 AM
I have worked on this problem for HOURS now thinking there was something wrong
with my understanding...
I trying to duplicate a movie clip in array fashion with actionscript, and
decided to use a nested FOR loop. However, movie clips kept disappearing! It
appeared that getNextHighestDepth(... more >>
alerts and menus not working
Posted by sneakyimp at 4/9/2006 5:02:28 AM
I have a very elaborate flash movie that has a tree view and stuff. it works
fine when it is displayed directly in the browser.
when i try to load this movie into another movie clip (which, sadly, i must
do) then suddenly the menus and alerts stop working. I have checked and double
check... more >>
MP3's fail to load completely
Posted by mspres at 4/9/2006 4:00:28 AM
Player version(s): 7.x, 8.x
Browser: Firefox 1.0.x, 1.5.x
Platform: Windows XP SP1 & SP2
Some of our testers are reporting "chopped off" audio files. For example,
narration should say, "The quick brown fox jumps over the lazy dog.", but
instead it only says, "The quick brown fox jumps o... more >>
A getURL Problem
Posted by pxstorm1 at 4/9/2006 1:05:26 AM
I?m having a problem with, what should be a simple getURL
on (release) {
getURL(www.cpnproductions.com/Links_Page, "_blank");
}
Does it work? No!
It will open an new browser page, but I get this in the address bar:
http://www.cpnproductions.com/NaN
and this error:
No... more >>
Data
Posted by Star Tail Pro at 4/9/2006 12:49:35 AM
IS it possibile using another code like php, C to create a file using data sent
from flash and then sent to the user pc. It then asccesibile to the flash
programme. I do understand about sercurity issues.
... more >>
What is DONT in actionscript language?
Posted by rbr1234 at 4/9/2006 12:34:36 AM
What is DONT in actionscript language?
Thankyou for you time
Sincerly,
rbr1234... more >>
Compatibility Problems from Flash Player 6 to 8
Posted by nprc system at 4/9/2006 12:24:43 AM
For my preloader I have following code:
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_pare... more >>
|