all groups > flash actionscript > february 2004 > threads for tuesday february 10
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
If Else if Problems
Posted by poopyman67 at 2/10/2004 11:42:09 PM
I'm making a e-mailer form on my web page, and I got a combobox that has as
choices all of the states. What I want it to do is that when a user picks a
state, it sends the e-mailto the appropriate person(denoted by names west,
east, etc.
heres the code i have so far. I get 2 errors. 1st s... more >>
HELP! Can't find path to text file
Posted by chrsjrngn at 2/10/2004 11:01:19 PM
Hi Everybody,
Someone PLEASE help me figure this one out! I am using a Flash template that
someone else designed. The movie I'm working on only has one Flash file (fla)
and four text files. At runtime, the swf imports the data contained within
these text files.
Now, when the Flash movi... more >>
How can I write AS to ignore a unique XML node?
Posted by Synergy Media at 2/10/2004 10:28:37 PM
I have a loop that I'm telling to read a XML file and I would like to ignore a
repeating unique childNode
How can I go about doing this
<QteLst
<EqtyQte name="Microsoft" />
<Err ErrNo="" ErrMsg="" /> <---- Would like to ignore the <Err> entrie
</QteLst
Thanks, Ro
... more >>
Preloader with progress bar component
Posted by johnny_XP at 2/10/2004 9:40:00 PM
I tried a lot with progress bar component documentation but i can't understand if you can create a preloader using this component. Any ideas?... more >>
Scrolling Text Action Script
Posted by cdeg at 2/10/2004 8:43:57 PM
I am trying to create scrolling text using scrolling buttons. However, when I
Control > Test Movie, I get a script error message
These are the steps I have followed to create the scrolling text
1) Created a Dynamic text field (Multiline) with an instance name of Findings.
2)With the Dy... more >>
Can I get the current page's URL?
Posted by Nan R at 2/10/2004 8:14:47 PM
I was wondering if there is a way to get the current page's url string via
Flash. I want to be sure my Flash file is only played on a particular
page... stop it being stolen and used elsewhere..
Any ideas?
Nan
... more >>
Flash functions not working in Director
Posted by Vimpact at 2/10/2004 8:11:49 PM
I have a flash movie in a director file. The flash movie is three frames long.
The flash movie has a function on frame one. It basiclly moves three circles
across the stage. The problem is when I play the swf outside director this all
works fine and dandy. But, when I bring the swf into direct... more >>
Embed button instance inside movie clip
Posted by gaGeet at 2/10/2004 7:59:09 PM
Hi people
Currently, I have created an empty movie clip, and loaded it with a jpeg
picture. Something like this..
createEmptyMovieClip("instanceName",1)
instanceName.loadMovie(picName)
Now I want to create an instance of a button inside this movie clip
I want it to be draggable, d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HELP PLEASE!!
Posted by quimkaos at 2/10/2004 6:12:56 PM
why i can't make this =20
if (Key.isDown(Key.w)) {
this._x -=3D 1 ;
}
work like this
if (Key.isDown(Key.UP)) {
this._x -=3D 1 ;
}
???
is any other way to rewrite this bit of code:
if (Key.isDown(Key.w)) {
this._x -=3D 1 ;
... more >>
resizing jpeg imported to a movieclip
Posted by can-am at 2/10/2004 4:57:45 PM
I am importing a jpeg into an empty movie clip, which then gets dragged/dropped
as part of a configuration tool.
I have several base items in the flash configurator, but want other (lesser
used) items imported when needed, to save file size. I can get the jpeg's to
import fine, but instead... more >>
Flash MX Dropdown Question
Posted by Reb80 at 2/10/2004 4:37:12 PM
Hi
I'm trying to create steaming audio using MX. I've put the mp3's into the
library. What I'd like to do is have a dropdown list with the song titles.
When you click on a song title, I'd like the streaming mp3 to play. I know it
can be done, as I've seen it on [L=the CandyButchers
w... more >>
Dynamic Text Box Mystery
Posted by Matt at 2/10/2004 4:19:58 PM
I'm inputting text such as "bake cookies" into a 2 line dynamic text box,
which has multiline selected, and for some odd reason it decides to put
"bake" on one line and then "cookies" on another and also randomly does this
in the middle of sentences, causing the text to not even fit.
anyone ha... more >>
Unloading a loaded movie
Posted by Helen_Hackwell at 2/10/2004 3:58:33 PM
Hi, I'm sure this is a pretty simple question, but I'm new to all this
I have a button that when pressed loads an external swf into my movie, when it
is clicked again I want it to unload the movie
Does anyone know what the code is I need to add to the 'if' statement
I.e -
onRelease
... more >>
Scrollpane Anguish
Posted by Flinchvoid at 2/10/2004 3:56:18 PM
Hi all. I'm banging my head against the wall with this one..
When using a graphics suite, like Fireworks or Paintshop Pro, the zoom tool
centers on the position clicked by the user. I need to duplicate this behaviour
in a scrollpane in MX2004, but the method I used in MX doens't seem to work... more >>
Opening popup window in flash
Posted by FlashAsh99 at 2/10/2004 3:19:30 PM
How would I get flash to open a popup browser window, when pressing a button?
If anyone cane help, it would be great!
Thanks... more >>
Help with audio player
Posted by element3media at 2/10/2004 3:01:00 PM
Hi there. I am looking to add a ?radio Player? to our site and I an in need of
a script or some help in setting this player up. I would like the player to
load and stream a series of mp3?s that we will store on our server.
If anyone has any suggestions, scripts or good tutorial sites it woul... more >>
attachMovie and object functions
Posted by sichallinor at 2/10/2004 2:27:27 PM
I'm having problems with calling functions inside an instance of a movie clip
that has JUST been added using 'attachMovie' command
It appears that i need to attachMovie and then call the function in the
following frame for it to work - should it not possible to add my clip then
call the fu... more >>
Dynamically set button property
Posted by Keith Dodd at 2/10/2004 2:21:27 PM
Am trying to set up a "hideButtons" function where I can pass an array of
button instance names and set the visible proberty to false
Code above gets the correct instance names (as verified by a trace), but my
set-property line seems to be ineffective. (If I hard code an instance name at
the... more >>
If test fails?
Posted by chrism59 at 2/10/2004 2:05:26 PM
I can't understand why this test fails every time Help Please
netInfo is a defined LoadVars the trace produces Success, yet the if statement
always goes to the else condition! Any suggestions
trace(netInfo.msg)
if (netInfo.msg == "Success")
trace(netInfo.msg)
initalizeFields()... more >>
Preloader for loaded movie
Posted by 2boggy at 2/10/2004 1:19:51 PM
Hi!
I load a movie with loadMovie function. I want to make a preloader for [u]this movie[/u] and I don't now were to place it.
Thanks.... more >>
passing variables to new HTML page
Posted by Freek2004 at 2/10/2004 1:15:18 PM
Im using a javascript search system combined with flash
This actionscript is used in the button
on (release, keyPress "<Enter>")
getURL("result.htm?Send=Search", "_self", "GET")
It works fine using the "test movie" window, but integrated in a HTML file it
fails... there are no ... more >>
Update movie via .txt file
Posted by Eric8000 at 2/10/2004 12:53:25 PM
Could someone tell me the or show me a snippet of code that I need to be able
to update the contents of a flash movie dynamically, via a text file that sits
on the server, which can be update by anyone
I've seen it done, but I am not much of a programmer. Any help would be
appreciated
T... more >>
Turning a negative number into a positive
Posted by Richard Atkins at 2/10/2004 12:49:57 PM
Hi, how can I turn a number such as -5 into +5
e.g. I have a variable:
myVar = -5
how can I turn that into:
myVar = +5
I'm sure there's an easy way to turn a negative into a positive
Cheers
----------------------------------------------
www.crazyrichie.net
... more >>
How to disable right click Flash player menu
Posted by findoutstuff at 2/10/2004 12:46:26 PM
Hi folks
I want to disable the right click menu in the flash player. I tried to use
FSCommand
fscommand("showmenu", flash);
just in the opening script of my flash movie but nothing happened. I need to
be able
to disable the users ability to print from that menu and their ability ... more >>
URL in loadmovie
Posted by urshome at 2/10/2004 12:41:46 PM
Hi ther
We discovered some strange behavior in the loadmovie comand/method. We try to
load a JPG (standard) into an existing movie instance. If the path (the URL) is
set to "image.jpg" the image can not be found. If we change it to "/image.jpg"
the script works well. It works well with "fi... more >>
fixed load spot for movieclip
Posted by thescorpion at 2/10/2004 12:37:34 PM
i have a flash menu..... i want to set the links off that (linking to movie
clips) to open in a fixed spot
if you don't under stand please look at my website www.scorpweb.co
all the windows load in various spots i want them all to load at the to
and moving them is impossible as they are ... more >>
Key.addListener ????
Posted by - = v i p e r = - at 2/10/2004 12:32:50 PM
Hi
Im trying to make the up button on my keyboard trace "hello" when its pushed
and "goodbye" when released
What am I doing wrong
Please help
Thank
And
myListener = new Object()
myListener.onKeyDown = function()
if (Key.isDown(Key.UP))
trace("hello")
}
myList... more >>
loadMovie *bug* or my mistake ?
Posted by phretor at 2/10/2004 11:34:22 AM
with these line
_root.createEmptyMovieClip( "myclip", 1 )
_root.myclip.loadMovie( "myclip.swf" )
then I preview and I can see that these variables exist
Movie Clip: _level0.mycli
Movie Clip: _level0.myclip.sub_item
*but* I read tha
trace( _root.myclip ); //OK: _level0.mycli
... more >>
flashmenu links
Posted by GlibberPN at 2/10/2004 11:19:14 AM
hello
i got a flash menu but i cant figure out ehy i cant create a link, it contains 5 boyyom in the menu it can be viewed at [L=menu]http://www.gymnastikoksboel.dk/0090-men.swf[/L]... more >>
Button over movie still continues during 'Press'
Posted by MattManchester at 2/10/2004 11:06:54 AM
I have a movie running during a Button 'Over' action. I also have a movie
ready to go when the button is clicked. However, I have to keep my finger on
the button in order for the movie to run continuosly. As soon as I take my
finger off the button, the movie ends immediately and the Button ... more >>
how to set a preloader?
Posted by princefrog at 2/10/2004 9:50:16 AM
Hi,
I have a SWF file as large as 1MB. I need to set a preloader above it so that it will not come out until it is completely downloaded. Would you please tell me how to do that?
Thank you!... more >>
i need to set a preloader
Posted by princefrog at 2/10/2004 6:34:14 AM
Hi
I have a SWF which is around 1MB. As you may know, it runs pretty slow if it
doesn't have a preloader. So, can you tell me how to create a preload movie
above the major movie so that the later will not come out until it is
downloaded completely
Could you please show me in detail? Ca... more >>
if and conditions
Posted by xJaNx at 2/10/2004 6:17:47 AM
i dont know script but this is what im trying to do and i wrote it out maybe
someone can help me with this
on (press)
if(anymovieclip is open )
close it by going to that movieclip that is open and gotoAndPlay{"close")
}
/*then go to*
_parent.cool_mc.g... more >>
Javascript and Flash
Posted by Twistercell36 at 2/10/2004 5:00:28 AM
Good Evening all
I'm trying to call my flash with javascript and tell it to go to a specific
frame and play? I'm using
window.document.Navigation.GotoFrame(5)
o
window.document.Navigation.GotoFrame("AddFavorite")
But this doesn't work. Why? If I use Play() it works fine, but I need... more >>
GetBytesTotal() only work on ver 5?
Posted by bhwong at 2/10/2004 3:05:11 AM
The actionscript "_root.GetBytesTotal();" work ONLY if I compile it for flash
player ver 5, NOT under flash player ver 7. Since flash player ver 7 remove the
support for "_root.GetBytesTotal();", does it provides another alterative to
get the total bytes of my flash movie
Boon Hon
... more >>
simple detection?
Posted by exor? at 2/10/2004 2:22:59 AM
is there a way to detect files stored on my computer in a particular folder,
that is simple atleast? i know i can write a script that will detect the error
to load a file then return a value so i know if files exist or not. for
example, if i have 5 mp3 files on my computer, in a folder named "... more >>
Client-server architecture
Posted by CooGuR at 2/10/2004 12:55:37 AM
Can someone tell me if Flash can support client-server interactions
I would like to be able to use flash as the client UI and accept http requests
from other Flash clients or a server so that I don't need the Flash client to
poll a webservice for status
Would remoting do the job and is t... more >>
Flash MX 2004 doesn't have scrollBar component???
Posted by Nixy at 2/10/2004 12:30:11 AM
I need to use scrollbar component that was in flash MX but now I'm usign Flash MX 2004 and it does not exit in the component choice. Where is it.
Any idea... more >>
Saving variables or data
Posted by Rev. Sixpack at 2/10/2004 12:02:00 AM
Hi everybody
I have a question about saving data via flash. Here is my scenario: I have a
swf movie (web site) that contains seminar dates. These dates need to be
changed fairly often, but that is about the only part of the web site that
needs regular updating. I thought of displaying the da... more >>
|