all groups > flash actionscript > january 2007 > threads for tuesday january 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 31
Calling functon before un-loading
Posted by jupitron at 1/16/2007 11:59:20 PM
I need to remove the mouse listiner with this function before the page unloads
function removeML() { //removes mouse listener
//Call this function before unloading the pageflip
//if you don't do that, the next time you load a
//pageflip, the mouselistener will not work!
... more >>
Sound linkage when loading movies into movies
Posted by Cerealkiller916 at 1/16/2007 11:53:56 PM
I have an intro.swf file that is basically a movie with sound that is exported
for actionscript but not exported in the first frame. I just stuck it in a
movie on my timeline and it works great and the preloader works because it
doesn't load the sound before the preloader. I use :
musicSoun... more >>
How can I script a Flash .exe file to always stay on top of all other windows?
Posted by oorickoo at 1/16/2007 11:39:59 PM
Hi All,
I'm new to action script, and I just need this one script > How can I script a
Flash .exe file to always stay on top of all other windows?
Basically what i want to do is have a flash-created step-by-step instructional
movie, but for the movie to remain on top of all windows so the... more >>
detecting enableJSURL and enableHREF
Posted by frz1 at 1/16/2007 9:54:23 PM
its common knowlege that myspace and other sites set enableJSURL and enableHREF
to false automatically to keep flash widgets from using getURL to launch new
windows. looking at the youtube player it seems that they deal with this issue
by forcing you to cut and paste the target url into a new ... more >>
referencing loaded clips
Posted by cokefour at 1/16/2007 9:40:44 PM
I have an index file which loads he navigation and home page files like this
//create home page holder
this.createEmptyMovieClip ("rotateClip", this.getNextHighestDepth ());
//load homepage
rotateClip.loadMovie ("home.swf", [GET]);
//create nav holder
this.createEmptyMovieClip ("navCli... more >>
goto scene2 - please help with script!
Posted by ulalume at 1/16/2007 8:19:01 PM
Sorry guys, but I am new to Flash and I have a horrible teacher who isn't able
to explain this well. I have 2 scenes. I have a button in scene 1 that I would
like to link to scene 2. Can anyone please help? I tried several versions
gotoandstop ("scene2"); gotoandstop ("2", 1), I just don't kno... more >>
listbox - xml integration
Posted by Ldavinci at 1/16/2007 7:53:49 PM
....please help...
var webLinks_xml:XML = new XML();
webLinks_xml.ignoreWhite = true;
webLinks_xml.onLoad = function(success:Boolean) {
if (success && this.status == 0) {
for (var aNode:XMLNode = this.firstChild.firstChild; aNode != null;
aNode=aNode.nextSibling) {
webLinks_cb.... more >>
Flash elements interracting with each other
Posted by dan6398 at 1/16/2007 7:40:50 PM
Hey Guys,
I have a semi-urgent problem, any help would be appriciated!
Basically, I am designing a web page for which the client didn't want it done
entirely in flash, so it's an html page with a number of embedded elements.
What i was wondering was, is it possible for these seperate ele... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Help!
Posted by Dj... God Lov.... at 1/16/2007 7:29:46 PM
Well.... let me try to xplain what I want...
I'm over my thesis, and I am doing a software for kids!.... I have seem a few
time ago in abobe website a sample where you change colors by an action script
code... I was wonder how do they that?... does anybody know?... please share it
with me
... more >>
Button Script Needed
Posted by gettechnical at 1/16/2007 7:11:35 PM
I'm fairly new to the Flash world and recently downloaded Flash 9 Prof to try.
I am creating a CD with a Flash animated menu and several button options. Is
there and ActionScript that will open an external file in its associated
application (rather than in a browser w/ getURL).
Perhaps f... more >>
help creating a path using variables.
Posted by oscmejia at 1/16/2007 6:46:27 PM
HI
I;m trying to create a path to a movievclip created with attachMovie. I need
tio create the path using variable:
_root.var1.var2.gotoAndPlay("something");
How can I teel flash that var1, var2, etc are variables and not a relative
path?
Tks,
... more >>
javascript bothers double-byte character desplay
Posted by kokochka at 1/16/2007 6:25:40 PM
When I open a popup window with on(release) commande in a menu bar, all the
Japanese characters in the bar (dynamic text) transforms into half-byte
characters which causes display problems with non-Japanese OS PCs.
Even on Japanese OS, you can see double-byte transforms into single-byte. Wh... more >>
Real time scores in a game
Posted by mattyfwesh at 1/16/2007 6:22:03 PM
:confused; i am a beginner to flash and actionscript. i dont seem to have
problems with flash just the actionscript.
I have a game which i am producing as part of a uni project. it is just a
simple bat and ball game and i would like to put a real time score on the game
page which will add... more >>
Play All Sounds after StopAllSounds is used
Posted by pde1 at 1/16/2007 5:57:56 PM
I am trying to create a mute and unmute button. I have the 2 buttons in a
movieclip. On the first frame I have the unmuted button with this code:
on(release){
stopAllSounds();
gotoAndStop(2);
}
In frame 2 I have the muted button but don't know what code to make the sounds
... more >>
Sound issues - Captivate in Flash
Posted by Matt_C_developer at 1/16/2007 5:10:28 PM
I've been working on a flash demonstration app for a client which simulates a
user interacting with a website. I've captured all the interactivity using
captivate in chunks and have built a container flash file to house the segments
of demonstration. I have been having a few teething problems ... more >>
synchronous and asynchronous xml loading?
Posted by Aware at 1/16/2007 5:04:57 PM
I have a nested xml.onLoad within a function (with a return statement in the
function)
I need to wait for the xml.onLoad to be triggered before a return statement is
sent.
Flash does not wait for the xml to finish loading it will just return
"undefined"; If you list variables in the debu... more >>
Submit Button
Posted by desertdiana at 1/16/2007 4:29:10 PM
Yes, new to this and starting out simple. I am able to send my feedback form
data created in Flash to an email, but after it is sent an open window is
still there. What do I do to remove that window or atleast direct it to a
thank you message? Here is my script so far:
on(release) {
... more >>
Inserting PHP in to flash
Posted by iNik at 1/16/2007 4:19:52 PM
I wonder if its possible to insert php page with TABLES in to flash? I
succeeded inserting php page loaded with simple text and photos. Looks like
tables or divs are not supported or I am using a wrong technique??? Does anyone
knows how can I solve this problem?
... more >>
scripted animation
Posted by Zybrunn at 1/16/2007 3:44:09 PM
Does anyone know if it's possible to dynamically attach movieclips from the
library, to existing motion guides which are already on the stage, and let
them tween?
We also wanna give each animation an own speed, independend of the framerate
of the
movie.
(Our goal is to let busses dr... more >>
FLVPlayback Component in Standalone EXE
Posted by thedarkangel333 at 1/16/2007 3:31:56 PM
I am exporting an FLVPlayback component into a standalone exe file and it seems
the buttons for playback (play, stop, etc) have disappeared. Is this a known
issue? Is there a way around this, or do I have to create my own buttons?
... more >>
Progress Bar?
Posted by Goo101 at 1/16/2007 3:26:19 PM
Hi There,
I have a graphic saved as a movie clip which I'd like to convert to a progress
bar component (or at least to act like a progress bar component) . . . how is
this done? Is it even possible?
Any help would be greatly appreciated!
Thanks,
Kevin.
... more >>
how did they do this???
Posted by Ldavinci at 1/16/2007 3:25:32 PM
.....please look http://www.nagaoka-id.ac.jp/gallery/gallery.html ...how to control movie clips using mause scroller...?... more >>
combobox and xml integrations
Posted by Ldavinci at 1/16/2007 3:03:20 PM
...please give me some script how use combobox component using xml files....... more >>
Simple FLV Listener Error
Posted by Daren Hawes at 1/16/2007 2:32:04 PM
Hi,
I have a Flash 8 movie that has two frames. In the first is a picture of a
TV and a click here button.
When you click the button it goes to frame 2 what has a FLVPlayer move (I
just imported the FLV file, no coding and called it "Commercial") and it
starts playing.
What I need to... more >>
Waiting for 2 swf to load
Posted by NeilT31 at 1/16/2007 1:38:12 PM
Hi i want to load two external swf files in frame 1 before i animate the fade
effects alpha that is on top of them to reveal them in frame. I can get it to
work fine for 1 swf file but cant see how to get it to work for 2???
Any help would be great thanks
Neil
... more >>
Key and button clash
Posted by flatcoat99 at 1/16/2007 1:34:17 PM
Hi. Not sure what is going wrong here - hope someone can help.
I have a class (skeleton code attached) that takes care of all the button
presses and key stroke admin. I have set up an evennt listener for a play
button, and a listener for the space bar, - both should call a common function.
W... more >>
external movieclips Unload one
Posted by Joe T at 1/16/2007 12:31:02 PM
I have loaded two external movieclips as below.
From within "frontwork.swf" I would like to click on an existing button and
have the first movie clip unload.
How can that be done? Code appreciated
Thanks
_root.createEmptyMovieClip("logocontainer", 1);
logocontainer.loadMovie("logoStelle.... more >>
setRGB using external variable (LoadVars)
Posted by OutiK at 1/16/2007 12:16:36 PM
Hi!
I'm trying to do following: I'm loading a hexadecimal color value (like
0xFFFFFF) from an external file into a Flash-movie. I'd then use the value to
change a movie clip colour.
I'm using Flash 8 Professional, but my code should be compatible with MX 2004
/ Flash 7 too.
I succeeded... more >>
movie clip nested array
Posted by jagguy99 at 1/16/2007 11:43:09 AM
I have an array of movie clips and want to make the clips nested so i can click
on them.
..
this.createEmptyMovieClip("mcc"+i,this.getNextHigh estDepth());
..
To make them nested and be able to click on a MC how can I refer to each MC
with a button press with array notation eg
How ca... more >>
casting movieclip name
Posted by deni.esposito NO[at]SPAM gmail.com at 1/16/2007 11:01:03 AM
Hi,
I receive the name of a movie clip from an xml file as a string. I want
to be able to use that name to issue an gotoAndPlay command. Is there
any way of casting a String into a MovieClip name. This is what I have
so far
highlight_xml = new XML();
highlight_xml.ignoreWhite = true;
highli... more >>
Re: Random text question, how?
Posted by Shan-Dysigns at 1/16/2007 10:19:53 AM
[q][i]Originally posted by: [b][b]khalidebrahim[/b][/b][/i]
i am new to actionscript, can you explain how to attach this code.
many thanks[/q]
If you are new to actionscript, this code is way beyond beginner status. You
should go backwards and learn some more fundamentals. We could spend hou... more >>
Button script
Posted by tohenric at 1/16/2007 9:14:50 AM
Lets say I have 10 scenes.
Every scene fades in from 0%-100% Alpha from frame 0-30 and then stops
Then there are 10 extra frames after frame 30. (30-40) That fades, moves.. the
scen to white again.
The scene goes to frame 30 and stop.
Then when the user click on button X > go from 3... more >>
[Q] how to change lines in dynamic textfield
Posted by haram21 at 1/16/2007 6:21:26 AM
Hi, I am struggling to change lines of loaded text from xml.
Basically I wrote few sentences in one child of xml file but when i loaded it
to dynamic textfield I cant change the lines.
(i tried with <br> /n both didnt work, textfield was multilined)
thank you for your time
... more >>
loadvars value
Posted by jagguy99 at 1/16/2007 5:53:43 AM
Hi,
I can't get the value of the loadVars value outside the onload function. IT
works inside the function but I get no display outside.
var nameVars= new LoadVars();
var txt1:String;
nameVars.onLoad=function(){
trace("Loading");
//text_var=nameVars.my;
txt1=nameVars.files;
... more >>
attachmovie code
Posted by wesm9787 at 1/16/2007 3:27:22 AM
i'm trying to do a basic fighting-type game in flash. so far i have the
preloader, the enter your name box, the code so it won't let you continue until
you enter your name, and the code so that guy moves, the code for the bounding
box so people can't leave the screen, and the code so that the ... more >>
combobox glitch
Posted by mikeDoh at 1/16/2007 2:20:48 AM
I ran across a bug using the combobox change event listener with an Alert.show
call.
The movie runs into a recursive loop that is caught and stops the movie.
1) add a combobox to the stage and name it 'cb' - add two labels using the
parameters tab
2) drag an alert instance from the compo... more >>
Text fields, instances or variables
Posted by Beatie3 at 1/16/2007 1:16:33 AM
Hello,
I've received some conflicting information about how text fields should be
referred to and I'd really like to clear it up. One place I read that you
should always use the var field in the text field properties panel to give your
text field a variable name, and you shouldn't use the ... more >>
Screengrabs for Flash
Posted by Social Psyence at 1/16/2007 12:51:59 AM
Hi there, quick question...
Is it possible to have Flash do a "screengrab" of what is currently on a
screen (or in a specific part of the screen), and have it saved as a .jpg to be
used later?
Any info would be most helpful..
... more >>
|