all groups > flash actionscript > march 2004 > threads for friday march 26
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
Typecasting?
Posted by True-Edge at 3/26/2004 11:54:33 PM
I'm still having trouble with my game. I'm using the syntax of:
_root["object"+count].variable
so i can access an objects variables that i made. The problem is that I can't
modify the variable. Is it because when it runs into the line, it doesn't know
what kind of object it is yet so ... more >>
Flash Combo box/ PHP question..
Posted by th3monk3y at 3/26/2004 11:07:22 PM
Hi All,
I have come to find out the hard way, that the flashMX combo box doesn't
actually work like an html drop down! Label, Value, and form variable name...
Well not without some action script...
Ok, so I found a tutorial on this site that makes the combo box act like a
real html drop ... more >>
Scope
Posted by matthew_morvant at 3/26/2004 10:42:46 PM
I am having some issues understanding scope in Flash MX 2004. I have loaded an
XML document in Frame 1 of a movie. Specifically inside a function called by
the onLoad method. I have then placed an instance of a movie clip on the
stage. I need to access the XML data that I previously loaded... more >>
Counting Words
Posted by anamar? at 3/26/2004 10:12:06 PM
Hi!
I need to fill a text field with 200 words. But [b]exactly[/b] 200 words. No
more, no less. So how I count the words??
I need some script to tell me that I have 200 words and if a got less, notice
me that also. And viceversa. Please help me with this, I'm stuck with this!!
Anamar?
... more >>
Starting point
Posted by asht at 3/26/2004 10:00:21 PM
I'm about to start learning action scripting and I've flash mx 2004. I note
from reviews that there aren't many books available yet that cover the basics
and from the forum that the "basics" of action scripting have gone in the 2004
version.
Does anyone know of some really simple exercises... more >>
condition Problem
Posted by loudmouth72 at 3/26/2004 9:10:04 PM
i want to have a condition if the result is between two numbers.
here is my if statement:
if(level >= 50 ???? and
_root.myScrollPane.loadTemp.mc_plans.intermediateStop !=1)
???? is where i need the other number to be <=99 but I keep getting this error
in my output window:
Operator 'and... more >>
ContentPath problem
Posted by jaded5150 at 3/26/2004 8:57:53 PM
I've got a main swf that has a frame called DesignMenu.
That DesignMenu is set to not autoload but will load when I tell it to.
In that new design.swf, there's a menu bar with various menu items added like
below.
Problem is, when the other swf is loaded in I get :
Failed to create a ne... more >>
LoadVars Undefined Error
Posted by acornelio at 3/26/2004 8:49:24 PM
I am trying to load a .txt file ino a dynamic text box. everything seems to
work fine untill i insert the swf into my HTML page and publish preview in my
browser. The text does not show up in the dynamic text box, instead i get a
message that says "undefined". The movie is pulling the .txt fil... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
button animation
Posted by propatria at 3/26/2004 8:45:47 PM
hey everbody, I've been working in flash for about 3-4 months, and I was
wondering..... How do i put animation in a button? i mean like, on over the
button would have a color gradeint, or I dunno...
any, and ever post will be helpful, thanks Cody.
... more >>
Catch when the mouse leaves the Flash movie?
Posted by dygfloyd at 3/26/2004 7:46:27 PM
Does anyone know a way to catch when the mouse leaves the Flash movie? I have
an embedded flash navigation that uses drop downs. If the user moves off the
nav too quickly, the drop down will stay in place because flash has not
registered a "mouseout" event.
Does anyone know if there's a w... more >>
F1 Key
Posted by snootches at 3/26/2004 7:44:38 PM
Does anyone know how to force the F1 Key to go through the flash player while in a browser instead of opening the help?... more >>
switch statement prob.
Posted by JPI at 3/26/2004 7:18:05 PM
This code works, but only for lower case a and b....anyone know why it won't
work for the uppercase possibility?
keyListener = new Object();
keyListener.onKeyDown = function()
{
aString = String.fromCharCode(Key.getAscii());
switch (aString)
{
case ("A" || "a"):
f... more >>
Dynamic text + external data load
Posted by anusal at 3/26/2004 6:43:25 PM
Hello!
I expected a very strange behavior in one of my macromedia swf file.
I want to load datas dynamically from a html formatted txt file to a dynamic
text field.
I use some some html tags and an <img> tag in the text file to load a movie
clip instance with a linkage identifier
to t... more >>
Problem with Textfields and Forms - Guru required
Posted by jaded5150 at 3/26/2004 6:09:52 PM
Two questions in one so here goes:
1) Is there anyway to clear every textfield on a page without actually setting
each with textfield.text="". I've got about 15 textfields on one page and would
rather find a quicker and easier way to clear them all.
2) I'm using frames (FlashMX Pro) and ... more >>
fscommand and levels
Posted by eLearningDave at 3/26/2004 5:38:16 PM
Hello, we are using fscommand with LMSSetValue and LMSGetValue to create a
"bookmark" for a Learning Management System. The fscommand sets the variable
to the page name and then when the user leaves the flash movie and comes back
to it in the LMS it brings them back to where they left off. W... more >>
variable recognized, but not really
Posted by grover970 at 3/26/2004 4:48:41 PM
I'm trying to change a color of a movieClip based on a node value from my XML
file.
The variable name is "finish". And it will always be a numeral value.
If I trace (finish);
I get the values. no problem.
I know the if statement is being recognized because the color is always
getti... more >>
Help information false
Posted by Heros_Darkness at 3/26/2004 4:30:29 PM
When I was searching the help files here on macromedia.com I located the key
codes for flash mx and I copied them all down and printed them out. I tried the
key codes and none worked. Or at least they did not work with the key they were
listed to. For example.
Letters
Key Code Key Code
... more >>
Email forms, php and cgi - Nothing works?
Posted by EdMX at 3/26/2004 4:18:33 PM
I've spent the last two days trying to find a functioning flash email form I
can implement on my site. So far I've downloaded about 8 different methods,
using an assortment of technologies cgi / perl, asp and php. Despite following
all instructions to the letter and knowing enough about server... more >>
Action Script HELP!!!
Posted by Orcer at 3/26/2004 3:26:37 PM
can some one help me i doing a physics simulation. i have a tank with water in
it. the water is a symbol with this action scipit in it
onClipEvent(load){
//various values used i the symulation
time = 0.1;
A1 = 50
A2 = 30
Z1 = .90
Z2 = .95
p1 = 6
p2 = 4
g1 = 10
g2 = 10
//... more >>
loadMovie into mc and can't move mc, what's up?
Posted by PetStarr at 3/26/2004 2:59:03 PM
I have an invisible movieclip on my stage, 'contentholder', into which I am
loading an external swf, 'clients.swf'.
After the swf has been loaded i wish to use actionscript to move
'contentholder' about as an onRelease button function, but it wont work. When
'contentholder' is empty or con... more >>
dynamic picture menu
Posted by ezzangelgirl at 3/26/2004 2:48:59 PM
Hi,
I am hoping someone could help me? I am trying to find a tutorial on how to
create a dynamic sub menu to load swfs? the link bellow is an example of what I
want to achieve in the portfolio section. If anyone knows of a sample tutorials
that can be downloaded or something ...please let me... more >>
getURL
Posted by juane moore at 3/26/2004 2:43:48 PM
Gawd, I feel like an idiot with this new "professional" approach in
actionscripting.
I just want to make a button that points to a page in my root. However, I cant
remember how to script it out. Is there anyway to revert back to the previous
versions layout? Where if you add the getURL com... more >>
HELP! Variables, scenes & levels
Posted by edgedesign at 3/26/2004 1:52:30 PM
HELP!! variables, scenes & levels
ACTIONSCRIPT 1.0
It seems variables are affected by scenes and perhaps levels.
I've constructed a seemingly simple navigation system by passing a variable,
but the addition of scenes causes the playhead to jump additioinal frames. Add
1 scene and th... more >>
Mouse following navigation
Posted by Tushya at 3/26/2004 1:41:24 PM
Hi
I am new to Flash. I would like to develope a navigation box which follows mouse. I want to develop this in Flash. It will be greate healp for me.
Thanks in advance
Tushar... more >>
preloader for external sound
Posted by Mic at 3/26/2004 1:38:40 PM
Hello,
I would like to create a reloader scene for an external sound file.
what I did is, create a loading scene with the "if Frame Loaded..."etc.
and on the second scene there is only a script to load an external sound
file.
I probably need to use a deferent script then If Frame...beca... more >>
v2 component bug
Posted by the fleece at 3/26/2004 1:28:15 PM
have found a bug in the scrollPane (and those components that use it eg the
tree).
when it gains focus for the first time it loads a mc into its _parent called
depthChild0. this mc is visible and is basically one corner of a very large
green square. whats this about??
have a very clu... more >>
PHP to Flash text
Posted by gerkintrigg at 3/26/2004 12:17:32 PM
I'm using the following code in my movie to get a php variable to display as
text in my animation
[Q]
myLV = new LoadVars();
myLV.onLoad = function(success) {
if(success) {
// this works only in test movie mode;
trace(this.quote);
} else {
// handle error;
}
}
myLV.lo... more >>
Java or C++ x Flash Integration?s
Posted by ViniciusRomero at 3/26/2004 12:09:07 PM
Hello people!!!
how you doing ???
i?m fine...ok...but i want to know something...i don?t know if you can
response to me...ok...lets go!!!
which would be the maxime level of integration with Flash(ActionScript) ???
Thanks!!!
Vinicius
... more >>
scaling bitmaps, help!
Posted by nellytheelephant at 3/26/2004 11:53:21 AM
Hello, I,ve created a program that has bitmap images in. I have put them in to
my presentation at quite a low resolution so I do not have to rescale. However
my program has an autoscale command in to fill the monitor, and of course when
it does this the quaility of the bitmap goes.
Is ther... more >>
What to call this technique ???
Posted by shahgillani at 3/26/2004 11:43:54 AM
Hi Everyone !
This is shahgillani
Here with the attachment is a flash file with an effect like "Focus Out" like
one in analogue cameras.
I would like to know that "What to call this technique ???".
So that I can search its scripts online.
I shall be grateful
Hassan Sajjad
shahgil... more >>
dynamic textField + autoSize (or not)
Posted by Huge beer at 3/26/2004 11:17:51 AM
From the actionScript help reference it should be possible to use the methods
and properties of the textField(object). I have a textField (created as an
instance and named "keyBox" in the property inspector). I want to resize it to
enable the placement of another text field ("box2"), and used
... more >>
disable buttons in certain coordinates
Posted by dbento at 3/26/2004 11:15:37 AM
I have a movieclip that contains several buttons side by side.
I just want to know if there is a way to disable every buttons that are in a
certain _x coordinate without having to specify each button.
... more >>
Text doesn't fade out (though it should)
Posted by Xafion at 3/26/2004 11:05:30 AM
Hi,
i have a problem with this
[L=Preloader]http://www.webreaktor.net/loader.html[/L]....
the "LOADING xx%" should also fade out. it's part of a movie clip that is
fading out (alpha--> 0)
Thanks
oh, and do I have to mention that the label for the "Loading xx%" is a dynamic
label?... more >>
Moving between movieclips
Posted by Stephen Savage at 3/26/2004 10:59:49 AM
This is hard to explain, so please bear with me:
I am creating a site in Flash at the moment which has 13 pages. Each page is
made up of an animated movieclip (13 in total) which plays in and then
stops. I have a drop down menu with 13 buttons, which access the different
pages. When the us... more >>
SCrollbar position
Posted by Aire at 3/26/2004 10:54:59 AM
Anybody knows how to configure the ScrollBar that appears into he
components?
How to make that in a Tree component, the scrollbar appears on the left??
How to change the color of the scrollbar?
... more >>
Problem with _parent + _root (again)
Posted by Tim Robertson at 3/26/2004 9:53:29 AM
I received help with _root on here last week and got a manual to help me
with it, but I'm up against another road block.. I'll try to describe it
cleary.
Movie clip 01: (reside)
Main Stage, Scene 4 Frame 2 > movie clip named "test"
Movie clip 02 : (resides in)
Main Stage, Scene 4 Frame 2 >... more >>
using set(var,exp)
Posted by BronwynL at 3/26/2004 9:48:57 AM
Don't know what's going on here - having real trouble posting this message...
Hi all
I'm feeling pretty shtoopid - I can't get text into a field in a movieClip. In
this project, kids drag an item to a basket then see how many helium balloons
it takes to raise it.
I've tried setting the... more >>
Getting the browser type using AS
Posted by praxis at 3/26/2004 9:03:15 AM
I have a web site up which uses an interesting javascript that functions the
way I want it to, through a fair bit of effort. It works beautifully in IE for
windows. It also works well in IE for MAC and Safare. Where I am running into a
problem is with Mozilla 1.6. The entrance page to the site... more >>
Calling Dynamic Text within a Movie
Posted by nortonyodles at 3/26/2004 8:20:28 AM
small problemo regarding using variables inside movie clips.
I want to populate dynamic text fields.... It seems they will only display
the proper text when the text fields sit directly in the root movie's timeline.
I need them to populate within a movie clip.... AHHHHHHH!
please help!... more >>
Boundary
Posted by mud991 at 3/26/2004 6:32:22 AM
How can i make a boundary for an object?
I have a truck that moves side to side but it can go all the way out of screen. How do i make it so it stops before leavign screen?... more >>
launching applications from a projector movie
Posted by ra1N at 3/26/2004 5:40:43 AM
How does this work exactly????
fscommand("exec", "path to application or file") as written in the help
section does not work. I've made some research and found out that somehow you
had to place all your applications into one folder called fscommand.
Is there no other alternative to this?... more >>
referencing attached movie variables !?!?
Posted by pharaohman98 at 3/26/2004 4:50:14 AM
Greetings all!
This is my first message on the forum, but rest assured it won't be the last.
I'm creating a game in Flash MX for my Senior year of college which will
ultimately be "finished" this time next year, so I plan on making plenty of
friends with the problems I'll have! :oP I've o... more >>
5 lasers
Posted by True-Edge at 3/26/2004 4:39:45 AM
I'm making a top down shooter. I've made one type of laser fire (the normal
kind) and now i'm trying to fire a laser that spreads out when you shoot.
Here's my game right now:
http://members.shaw.ca/twd108/spaceship.html (without the laser spread)
....o o o o o. lasers......
.......[... more >>
preload images
Posted by abbot at 3/26/2004 4:38:56 AM
I am using Flash MX. I have a site,"rosaleschristopher.com" and the pictures I
have in the portfolio area load dynamically using the load movie function.
Each pic loads when it's thumbnail is clicked. I would like to have all the
images preload though, in a loading screen before the portfol... more >>
Minimizing a projector window using flash button
Posted by rajavel at 3/26/2004 4:11:27 AM
hi
I have a movie running in the full screen projector mode. I want to provide a
minimize window button in the movie itself to simulate the action of standard
windows minimize button. How can i do this ?
TIA
... more >>
Applets inside a Flash file
Posted by vikasflash NO[at]SPAM yahoo.com at 3/26/2004 2:36:20 AM
Hello,
I have an applet developed by some other developer that I cannot
modify but want to use in my Flash file. Is this possible? How can I
do this?
Thanks in advance.... more >>
Draggable Objects
Posted by jcbrew at 3/26/2004 1:47:51 AM
Hi All
I am hoping someone can help me. I am creating an online "test". I created two
draggable objects. I would like the user to be able to drag each object into
one of two boxes - they will do this for each object. Once they drag the
objects into the boxes - they will click a button. If ... more >>
Gotoandplay Bug
Posted by stuartatxm2 at 3/26/2004 12:51:42 AM
Hi Guys,
An interesting error occurs only when playing in Mozzila Firefox and Mac
browsers when executing a simple actionscript.
I have a loader situated on the _root layer which is reading the amount loaded
of a SWF into a MC on the _root layer. The SWF that is being loaded has a STOP
... more >>
|