all groups > flash actionscript > april 2005 > threads for saturday april 16
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
Actionscript defunkulator required
Posted by zz99z NO[at]SPAM netscape.net at 4/16/2005 9:06:19 PM
Please help me! Flash MX 2004 Pro.
I have a text box called "text" as well as an Up button and a Down
button for scrolling the text.
Attached to frame 1 of the timeline (there is only one frame) is:
function scrollF(){
text.scroll++;
}
Attached to the Down button is:
on(p... more >>
Button nested in Movie Clip does not work
Posted by physix2 at 4/16/2005 12:00:00 AM
Ok.
So, in the _root level, i have a movieclip.
you press on the movieclip and it goes to
frame 2 which starts some animation.
after the animation is done, there are
two buttons that allow you to navigate
along the movieclip's timeline.
but, when i click on ANY of the button... more >>
Problem with numbers and .value
Posted by lookche at 4/16/2005 12:00:00 AM
Hi,
I'm making a game and it has a scoring system (as all games should ;)) and
i'm having a problem with the system. I have the following code on a movie
clip:
onClipEvent (enterFrame) {
if (hitTest(_root.character) == true) {
_root.score += 10;
}
}
and in the frame i have:
... more >>
syntax checker mistakenly reports error
Posted by lreadl at 4/16/2005 12:00:00 AM
I defined the following 2 classes in .as files, and saved each under the same
name as its class, in the same folder. class ClassOne { var prop:ClassTwo;
var name:String = 'ClassOne'; function ClassOne() { } } class ClassTwo {
var prop:ClassOne; var name:String = 'ClassTwo'; functio... more >>
if...and statement in ActionScript?
Posted by tpolson at 4/16/2005 12:00:00 AM
i have a conditional statement the requires "if (condition) and (condition)
then (result) end if"
This statement obviously doesn't work, but it shows what i'm going for. are
there any other ways of creating this logic statement?
if (x=0) and (y>0) {
dropbit=1
} else {
... more >>
Triggerring setInterval and Clear Interval with rollOvers
Posted by MikOne at 4/16/2005 12:00:00 AM
I am trying to trigger a function to begin executing after I roll over one_btn
and stop executing when I roll over btn_two or alternatively roll off button
one. If I omit the one_btn.onRollOver line and let the interval begin at the
time when the frame is read then the clearInterval function ... more >>
Can someone PLEASE help me with buttons?
Posted by Spot2004 at 4/16/2005 12:00:00 AM
Everytime I make a regular button, place it in, place any ActionScript, it
gives me an error like:
**Error** Scene=Scene 1, layer=Layer 5, frame=1:Line 1: Statement must appear
within on handler
gotoAndPlay(1);
Total ActionScript Errors: 1 Reported Errors: 1
How do I get rid... more >>
Action Script Help
Posted by Armality at 4/16/2005 12:00:00 AM
Can someone please help me with some action scripting. i am having trouble
trying to make an object flip horizontaly when you press a key in my case i am
making an interactive game and when you press the left or right key i want the
caracter to face that way. and i dont know what the tag is.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
switch question
Posted by Egui at 4/16/2005 12:00:00 AM
Can someone tell me if this is legal? Any idea why it does not work?
switch(myCBa.selectedIndex && myCBb.selectedIndex){ case 1
&& 1: trace(myCBa.selectedItem.label + myCBb.selectedItem.label
+ ' chosen'); break; case 1 && 2:
trace(myC... more >>
open and close
Posted by tuffkille.tk at 4/16/2005 12:00:00 AM
I've got a couple of buttons that play a movieclip, textBox, when clicked on.
The idea is that each button should load a different text in the textBox.
Picture this: a button has been pressed and the textBox appeares. Now another
button is pressed.
If the textBox is "open" it should close... more >>
soft edged mask
Posted by rolorolo at 4/16/2005 12:00:00 AM
Is there a way to have a mask that has softened edges?
I tried 'soften fill edges' but that didn't work.Please help.
Thanx,
Steven... more >>
how to create .txt file from the flash...
Posted by zeenu at 4/16/2005 12:00:00 AM
Hi, Pls help me to create .txt file frm Flash where i can send data to new
..txt file.. where all the data automatically store when ever i press any button
contain some text on that.. and will store and automtically update in my .txt
file, pls help me out. Thanx and Regards Yojana
... more >>
using loadMovie to target a frame
Posted by pptdgc at 4/16/2005 12:00:00 AM
I have a movie clip button in one movie and I want it to load another movie at
frame 17. I have the following code attatched to the button:
on (release) {
_root.preloadI = setInterval(_root.preloadF, 80, "_level1", 17);
_level0._visible = 0;
loadMovieNum("movie.swf", 1);
}
It lo... more >>
User login using SO's
Posted by pickle jar at 4/16/2005 12:00:00 AM
Think I should change my name to Pickle SO I have queried the subject so much
over the past 48 hrs but heres whats on. My mate developed a user login script
using a tutorial from this site (for an address book I think) and had problems
with it in Flash Player 7 when updated (or attempted to) ... more >>
spinning record
Posted by expuddle at 4/16/2005 12:00:00 AM
Ok I am new to flash, so I hope it's not too difficult to help me with my
problem. I want to create a flash animation of a spinning record for a DJ
friend of mine. I made the record as a jpg but I run into two problems when
animating it. First of all, I want there to be a shiny wedge on eac... more >>
+sign not acceptable when loading variable from .txt
Posted by zeenu at 4/16/2005 12:00:00 AM
Hi,
i am facing problem when i m loading the .txt file and it wont accept the sign '+'. Pls give the ulitmate solution..
Thanx and Reagards
Yojana ... more >>
Return to Movie Clip At Frame Label
Posted by DaveDmd at 4/16/2005 12:00:00 AM
Can anyone help with this simple problem to replay a movie clip at a specific
point of the clip. I have 1 scene only and,
I have a movie clip called "main", when it reachs a certain point I have a
stop() then go to another movie clip "menu" and play from frame #21. the
problem I'm having is ... more >>
Working with the Tab Key in version 7
Posted by Jester_boy at 4/16/2005 12:00:00 AM
Hello, I was wondering if someone could help me. I have a form and I am trying
use the tab key to go from one input box to another. I used to be able to do
this with Flash 5 but for some reason the exact same code fails in version 7
Here is the code I am using can someone please look it over a... more >>
timeline gotoAndStop & loadMovie preloader failing to work together
Posted by kevindauth at 4/16/2005 12:00:00 AM
hello there:-) this is the link
http://members.optusnet.com.au/~kevindauth/preloadWorkEx.html when you click
from one button to the next without letting the preloader finish it stuffs
up.I've got all the buttons in different frames on the time line and have the
gotoAndStop() function go to ... more >>
ActionScript obfuscator problem
Posted by Billy Porter at 4/16/2005 12:00:00 AM
I'm using aso (http://www.genable.com/aso/) to obfuscate my SWF files. This
works great except for when I'm using any of the "mx.components" components
in which case the skins of the components fail to show up.
Anyone else had this problem?
... more >>
Why is mc down in the corner?????
Posted by Rich146 at 4/16/2005 12:00:00 AM
I am having trouble understanding why the contents of this mc is all down in
the rgiht hand corner. I know it is simple but I can't figure it out. I put it
on my web so it can be downloaded. Click on the 'easy_cap_mc' in the library
and you will see what I am talking about. Hugs and Kisses ... more >>
How to make a function available from outside a movie clip?
Posted by napx at 4/16/2005 12:00:00 AM
Hello; A relative ActionScript n00b here looking for some help... I want to be
able to define a function in a movie clip called say, 'setData' and then call
my_mc.setData() from somewhere else in the main movie where that movie clip
(my_mc) exists. Is this possible? How would I do this? When I... more >>
getURL with parameter not working offline
Posted by Frank Thorstens at 4/16/2005 12:00:00 AM
Hi,
I have a problem:
In my flash movie i want to open a html-page locally with a HTTP paremeter:
getURL("../test.html?module=122", "_blank");
But this only works online, not locally. How can i make this also work
offline?
(I must provide this parameter, because the html page evaluates it... more >>
Deleting a movie clip after a hit test = true
Posted by lookche at 4/16/2005 12:00:00 AM
Hi,
I'm making an RPG game and after a hit test is detected i want the mc the
character collided with to delete itself. I have the command for the hit test
working, but the delete isn't working. The thing that i want to delete's
instance name is thing1, and i tried a whole load of delete... more >>
Why is my mc down in the corner???
Posted by Rich146 at 4/16/2005 12:00:00 AM
http://richacls.com/mc_r_corner.htm... more >>
on ("keepPressing"){
Posted by Mr Speed at 4/16/2005 12:00:00 AM
S.O.S.
I am looking for a script that works while mouse is pressed or down, that is, if the user press it during 3 seconds, that function works during the same time.
Thanks... more >>
Shared object .. ? help :)
Posted by DN at 4/16/2005 12:00:00 AM
hi all dudez
want to know .. how to do that thing :
if user enter site for first time .. -> goto scene 1
if user reloads page -> goto scene 2
after 30 min of user looking things in site -> goto scene 1
??
don't understand .. bookz don't help :((
... more >>
changing styles of cuePoint text
Posted by mmh166 at 4/16/2005 12:00:00 AM
I just learned how to add text based on FLV playback via cuePoints. Does
anyone know how to change the font style, color etc? I'm guessing I need to
use CSS but can't figure out how you can assign styles and stylesheets to
cuePoint text. Anyone know? THANKS!
... more >>
real time color sampler
Posted by andrewsus at 4/16/2005 12:00:00 AM
Let's say I've got a simple swf that loads images. Is there a way to sample a
color from an image (like a color picker) in the swf and then have flash
automatically update the color of a background movieclip with the sampled
color? I've seen several color picker components, but those all work ... more >>
user input via keyboard :(
Posted by ro354 at 4/16/2005 12:00:00 AM
Hi, I am not an expert in Flash, I was wondering how it is possible to assign a
button on the keyboard a function (e.g. load a another movie when a user press
Enter key) , I know how to do this with a button that appears on the screen,
but I can't figure out how to assign the codes to they ... more >>
|