all groups > flash actionscript > april 2006
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
Understanding variables
Posted by Park2 at 4/30/2006 10:50:42 PM
I am from a delphi background. In delphi I either declare a variable as
public (the variable is available throughout the project) or private (the
variable is used within a function).
In flash what is the relationship throughout the project?
_root
_level10
this.
etc etc......
Also h... more >>
how do I control size and font if a dynamic text?
Posted by aa at 4/30/2006 9:53:52 PM
how do I control size and font if a dynamic text?
... more >>
Are score and game_score reserved names in AS?
Posted by aa at 4/30/2006 9:17:28 PM
Are score and game_score reserved names in AS?
The Flash8 buit in editor does highlight them as such, yet variables with
these names return strange values
... more >>
How do I force a dymnaic text to show in two lines?
Posted by aa at 4/30/2006 7:36:41 PM
How do I force a dymnaic text to show in two lines?
... more >>
mask button
Posted by josp at 4/30/2006 4:34:42 PM
hello,
I have some buttons and above those buttons I have a movielclip, which
hides the buttons. But when I move the mouse aver the movieclip, I still
get the finger and I am still able to pres the buttons.
But I want the movieclip to hide the buttons completely, also they must
not be ab... more >>
images with text in a text box
Posted by burpin_mac24 at 4/30/2006 4:24:26 PM
how can i get text and images together in a dynamic text box. text box is dynamic so i could use a scroll bar... more >>
Deleteing all available variables
Posted by gregmax17 at 4/30/2006 3:57:15 PM
Just like the topic says: Is there a way to delete all existing variables? Also, it seems when I use the command 'delete', it doesn't delete what I tell it too.
... more >>
Levels, buttons, etc., disappearing.
Posted by dubiety at 4/30/2006 3:44:48 PM
I have a main menu on my site, but anytime i click one of those buttons and the
secondary button list/movie clip comes up, the initial set of buttons (menu)
disappears. The problem is, also, that I need to keep the secondary set of
buttons up (which are thumbnails in my portfolio site) because... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Button within a movie clip
Posted by burpin_mac24 at 4/30/2006 2:25:02 PM
i made a movie clip and within the movie clip (my menu) i put the buttons on in
layers and applied the neccesary actionscript,
but when i drag the movie clip onto my main scene, and preview the swf, the
buttons dont work, however the mouse actually changes to a hand when i hover
over them... more >>
testing for current frame?
Posted by Brian at 4/30/2006 11:47:17 AM
Is is possible to test what frame the playhead is on?
Something like?
if(currentFrame == "wait"){
//do something...
}else{
//do something else...
}
What would currentFrame be in AS?
Thank you for the help!
Brian
... more >>
Flash Games
Posted by Blak3dsnake at 4/30/2006 11:26:30 AM
PLZ ALL users write here all you know about making gams in Flash... more >>
techniques to model an expolosion or similar effects
Posted by aa at 4/30/2006 10:41:46 AM
What are techniques to model an expolosion or similar effects when a number
of objects start moving apart?
Could somene please provide a link to a relevant resource?
... more >>
Creating a hyperlink inside a movie clip button
Posted by jonnathan82 at 4/30/2006 10:26:50 AM
I have several movie clip buttons. I select the button, go into actions and
type:
getURL("http://www.beaniebabycastle.com/beaniebabies/c1.htm", "_blank");
When I view the published .html file, the button links automatically pop up in
the browser without even clicking on the buttons. I do... more >>
call php file
Posted by art-v at 4/30/2006 9:29:52 AM
HI
I need to send data from flash to php file, or use getURL but with out open
the page, or if open the page make it hide,plz help
* I make a game that can control with external xml file , used in TV chennel
,now I need send data from the game when finsh the action to the data base xml... more >>
inactivity timer - p2
Posted by Brian at 4/30/2006 9:00:05 AM
kglad, kindly gave me the bolow code for a mouse inactivity timer. I
tried to modify it a little bit, but it still is not completely doing
what I want it to. I would like this to count down, and if the time runs
out, to move to a different frame. If the mouse does get moved, to just
reset th... more >>
Determining number of folder items
Posted by wesohaire at 4/30/2006 8:43:02 AM
Is it possible for actionscript to return the number(and possible names) of all
the files in a specified directory? I find myself wishing that I could write a
code that could automatically display the contents of a folder for a possible
gallery or mp3 player. Thanks.
... more >>
Passing Variables from One SWF Movie to Another
Posted by DuhChamp at 4/30/2006 6:27:40 AM
Is it possible to pass variables from one swf movie to another swf movie. The
variables that will be passed will come from the first swf, which on a button
click will load the second swf. How can u pass the variables to that new swf
movie without making them global variables?
... more >>
AS-generated MC with centered registration point?
Posted by kevmedia.com at 4/30/2006 5:43:38 AM
Hi, thanks in advance for any guidance on this.
You know how you can change the registration point of a MC in the properties
dialog box? I'd like to do the same thing for an empty MC created via AS, so
that I can position the thing in the center of the stage easily.
If it were only one... more >>
Follow mouse exactly
Posted by Web Maven at 4/30/2006 4:23:31 AM
I have been working on this with no success. I want to follow the mouse but
not like what is currently out there. I want to follow the mouse exactly. With
the current follow mouse what happens is if your moving your mouse an you make
a sharp turn the object following make a quick turn missin... more >>
Unique onPress for a number of buttons
Posted by matecito at 4/30/2006 12:54:58 AM
mmkay... sorry for the lame posts. Hopefully this one is more informed.
I have an 8x8 grid of buttons - each 44 pixels wide and long. I want each
button to behave differently when a user clicks it.
I have this code...
(note that I use depth as intended but it also serves as a uniq... more >>
Simple Preloader
Posted by punisher2001 at 4/29/2006 11:53:43 PM
Hi,
i want learn how to make a preloader using flash 8.
I've searched but havent found a Tutorial.I want to begin with a very simple preloader,can somebody help me?
Thanks for ur feedback.
jimmy... more >>
loop a different flv after the first .flv ends
Posted by gwu630 at 4/29/2006 11:53:30 PM
Can someone point me to a tutorial or page to make this idea work?
I want to loop a different .flv after the movie player played the initial .flv file.
Thanks... more >>
Mechanical system application
Posted by BKearney1 at 4/29/2006 11:33:19 PM
Is this a crazy idea using Flash?
What I am thinking about trying is creating an application for sizing
mechanical equipment. This application would use predefined graphic
shapes/icons from various equipment type menus that reperesent pieces of actual
mechanical equipment (compressors, pum... more >>
loading external jpeg
Posted by hushhurt at 4/29/2006 6:49:19 PM
hello, i am new to actionscript, so please bear with me. I am trying to load
an external jpeg list and having issues. here is the code:
i am not sure what the issue is - the first slide displays fine, but everytime
i click the next button, it just flashes and shows the first slide again.
... more >>
Clearing an array without deleting it
Posted by DuhChamp at 4/29/2006 6:06:10 PM
What would be the fastest way of clearing an array without deleting it? Could
you set all values to null or undefined and it would work? For example, say I
have an array of 4 numbers: 3, 4, 5, 6. Now, for some reason I want to clear
all the values and set only one value, so now I have an ar... more >>
change var using equation
Posted by jondro at 4/29/2006 5:21:49 PM
Hi I hope you can help:
I have a dynamic textbox with the var set to "pres" and a text file named
"bio.txt" which contains the following variables:
&pres=something
&page= test
&page1=something else
&page2=etc.
When i click the button called "next_btn" for the first time I want it t... more >>
File path
Posted by marko_85 at 4/29/2006 3:06:42 PM
Hi, everybody!
Can somebody explain, is there any chance of getting file path working with
FileReferenceList?
This is the code:
var listener:Object = new Object();
listener.onSelect = function(fileRefList:FileReferenceList) {
trace("onSelect");
var arr:Array = fileRefList.fil... more >>
Problem with buttons on Flash8?
Posted by JimmySlam at 4/29/2006 3:04:49 PM
I create a button on a MC that button is only to go next frame everytime i
press.
Well if i select a text somewhere on the flash and i press the next
button.It will work but on next frame if I dont move the mouse and try to
click again it doesnt work the button....
If i move the mouse ju... more >>
emptying sound object
Posted by pjjj at 4/29/2006 2:53:39 PM
im working on a site at www.trad-guitartuning.com, when im playing mp3 if move
to another page which is on another frame sounds just keep randomly repeating
im using the below script on a button to load mp3s in to a sound object eg six
six.loadSound("notes/6d0_dadgad.mp3",false);
the s... more >>
inactivity times
Posted by Brian at 4/29/2006 1:58:52 PM
I would like to build a timer that counts down and triggers a timeline
action once it gets to 0. Everytime the user clicks on anything inside
that file, the timer would reset itself and start over. So as long as
there is activity, it would not get to the end, but if the user would
abandon th... more >>
Working out a financial quote from submission form
Posted by Pylo at 4/29/2006 12:54:00 PM
Hi,
I have perhaps rashly undertaken the challenge of developing a form for an
accountant. The customer will input a range of numerical data and this will be
processed into a final quote for a years services. The form is spread out over
several frames to keep it visually clear.
I hav... more >>
Adding a listener to ALL buttons
Posted by matecito at 4/29/2006 4:55:39 AM
I have about 70 buttons on a page - and I want all of them to get the same eventlistener... can I add it to all of them with one fell swoop?... more >>
Loading existing menu
Posted by tnahas at 4/29/2006 3:17:41 AM
I have a menu that I created as a seperate fla file. It has rollover effects on
and off.
I now want to bring that menu into a different fla file (like a top header to
the page). If I bring it in as an SWF the rollovers do not work.
Is there a way to include an existing file and still have ... more >>
depth stuff
Posted by Jimmathy at 4/29/2006 3:04:20 AM
how wouldi go about setting up the action script so that if the _y of character
is equal to or greater than the _y of tree that the tree is in front of the
character, else the character is in front of the tree? Im not sure how to do
this please help.
... more >>
Play Head Control
Posted by ALI SHAFI at 4/29/2006 2:14:33 AM
:moon; Hey, I have three quesetions regarding movie control through action
script
1. How Can I Play a specific range of Frames in a Movie clip? (eg from Frame#3
to Frame#29 total of 30 Frames)
2. How can i Reverse a movie clip in frame to frame animation? (eg 9 8 7 6 5 4
3 2 1)
3. How ca... more >>
sendAndLoad flash player 8
Posted by Chris at 4/29/2006 1:32:24 AM
I just created a dynamic flash jigsaw puzzle that uses a sendAndLoad to
read in the fastest time info from my database and then write to the
database if a new record is set. Since I'm using the bitmap api, my swf
requires the 8 player and works great with 8,0,24,0. However, some users
said... more >>
How to change FPS?
Posted by DJ Sick Nick at 4/29/2006 1:19:42 AM
How can I change the FPS of a WHOLE flash movie with actionscript added to a timeline frame? Is this possable? Thanks in advanced.:beer;... more >>
need some kind of dynamic variables/globals =)
Posted by mrmille at 4/29/2006 12:52:54 AM
Im creating a pretty advanced "split-down-strings-to-arrays" page and got the
idea of making it dynamic in flash. This is clearly possible, however one want
to make it as neat and sweet as possible. Thus...
I got some functions...
-----------------
myLoadVars = new LoadVars();
myLoad... more >>
Movice Clip vs Button
Posted by brendafos at 4/29/2006 12:38:46 AM
I'm new to Flash but come from a Java programming background and I'm finding
Flash with ActionScript a great tool.
I'm building my first all Flash 8 website. It's going well. I have several
MovieClips that act as buttons using AS. I'm keeping all my AS in a single
frame, mostly.
My ... more >>
passing URL to loadMovie( )
Posted by aa at 4/29/2006 12:23:45 AM
loadMovie("filename.swf",0);
works fine
However
var filename="filename.swf";
loadMovie( filename,0);
does not.Why is that?
... more >>
Using Listener Objects
Posted by l_andrew_l at 4/29/2006 12:00:00 AM
I've recently been trying to wrap my head around the Listener Object (which
had always seemed confusing to me). Tutorials made its workings clear, but what
they don't seem to touch upon is the WHY and WHEN of using it...
First, what I've read has said that "Your listener object can be any o... more >>
testing my movie
Posted by batgirl_Sa at 4/29/2006 12:00:00 AM
Ok i am testing my movie... when i got to test movie from going to the menu
(control---> test movie) my movie works fine... things are moving like they
should be and text is being loaded where it should be .
(i am actually loading a movie dynamically using loadmovie and that movie is
loa... more >>
using load movie and load variable
Posted by batgirl_Sa at 4/29/2006 12:00:00 AM
Ok i am having a problem with my movie... when i test it using test movie it
is fine but when i preview in HTML or run the SWF on it own i am having a
problem... and i spotted the items i am having a problem with but problem is i
dont know why.
i am loading a movie dynamically in my m... more >>
change color
Posted by Abyu at 4/29/2006 12:00:00 AM
hi
can anyone say how to add a fuction to a button that when the button is pressed
it should change the background color
and say the procedure for a movieclip also :)
please
HELP:confused;... more >>
preloader before dynamic loading?
Posted by mballom3 at 4/29/2006 12:00:00 AM
Hello,
I already have a swf file. it is big. it is 4MB. I want it to be dynamically
loaded on demand. How can i make a preloader to appear during the loading
process?
General question: is preloader best embedded within a movie or the way iam
trying to do is also correct?
Thanks
... more >>
Actionscript and attachmovie syntax problem
Posted by LeeA at 4/29/2006 12:00:00 AM
I have the following code :
on (release) {
var leveli;
var intro2:MovieClip = attachMovie("Man_mc", "man_mc1" , leveli);
manname._x = 208.85;
manname._y = 142.4;
leveli = leveli +1;
This loads the movie onto the screen bu the _x & _y cords are wrong
If I use .
on (release) {
... more >>
Music player with 2 swfs using LocalConnection
Posted by outshineweb at 4/28/2006 11:33:19 PM
Hello,
I'm creating a site that will have two seperate SWFs on screen. One will be
playing music, the other will contain a start/stop button for the music. I'm
using LocalConnection to communicate between the two SWFs.
I have this working, sort of. The music will start playing, I can stop ... more >>
How do I check from AS if Mouse is shown or hidden?
Posted by aa at 4/28/2006 11:26:04 PM
How do I check from AS if Mouse is shown or hidden?
... more >>
onKeyUp/onKeyDown does not react to Escape
Posted by aa at 4/28/2006 11:15:42 PM
This bit of code copied from a tutorial works fine except Escape key reacts
only if any other key was pressed before.
If after loading the file Esc is the first key pressed it does not react no
mater how many times it is pressed.
In other applications Esc works fine
Is this a known problem or I... more >>
Kerning Dynamic Text through actionscript
Posted by Bill O at 4/28/2006 10:34:41 PM
Hey,
i know there is a way to assign a numeric leading property to dynamic text
throught us the AS TextFormat class, and there is a boolean value to determine
if text is kerned or not through TextFormat.
What I want ot do is assign a kening number to the text like you can using the
... more >>
|