all groups > flash actionscript > march 2007 > threads for thursday march 8
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
detect brwoser close
Posted by golem2 at 3/8/2007 10:12:08 PM
HI,
Is there a way to detect from within a flash movie, that the user has closed the browser?
I want to send a variable to php page when a user is closing the browser.
Thanks.... more >>
Movie Clip array?
Posted by Capo64 at 3/8/2007 9:59:30 PM
Is it possible to put multiple movie clips in one array? So if I have myArray[1] = mov_mc, I can do myArray[1].gotoAndPlay(2) and it will do so.... more >>
Exponential Particle Decay
Posted by xaero at 3/8/2007 9:43:31 PM
I'm working on an animation that illustrates the concept of half-life (not the
video game). I already have the equation that correctly simulates exponential
decay. The idea is to start out with 1,024 particles spread out randomly in a
square area (about 320 x 320 pixels) and have them disappea... more >>
array holds instance name
Posted by jonnybennett at 3/8/2007 8:57:50 PM
I am looping through an array which holds the instance name of a checkbox.
Therefore the following code should check the correct checkbox.
for (p=0;p<categories.length;p++){
mc1.mc2.categories[p].selected=true;}
however I don't think that I can right the expression with an array as part ... more >>
Use a Button to Open CD Drive Directory???
Posted by ShaneFred at 3/8/2007 6:57:16 PM
I am designing a CD ROM that launches a flash .exe file when loaded. I want
one of my buttons on this .exe to open Windows Explorer and take the user to
the CD Drive on the computer. Therefore, allowing them to see the file
contents of the CD that they just put in their computer. Is there a... more >>
Action Scripting Books
Posted by mikeygilbert23_nap at 3/8/2007 6:37:17 PM
Suggestions? please...... more >>
Re: I need to get a handle on things
Posted by kglad at 3/8/2007 6:26:17 PM
i've written applications in jsfl that do all you want and more. they are
applications that users can access from the flash authoring environement.
open the flash help files, click on extending flash and read. if you are
proficient using actionscript you'll find jsfl is easy to use. if yo... more >>
Resetting dynamic text field
Posted by jeeepU at 3/8/2007 6:09:23 PM
I have created a form that loads data to certain dynamic text fields. This form
contains a "next" button that allows the person filling out the form to submitt
the current data and then load more data into the dynamic text field. How do I
make it to where when the person clicks "next" the dyna... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
need help with hitTest
Posted by joyelisabeth at 3/8/2007 5:58:23 PM
This is a project due tomorrow. I've been having trouble figuring out how to
make the fish hit the coral. If you can help, please e-mail me and I'll share
my .fla with you. I've never touched flash before this semester, and it's about
got me under the pile. Thanks!
Joy
jojoting25@yahoo.c... more >>
Re: I need to get a handle on things
Posted by kglad at 3/8/2007 5:47:26 PM
parts of an audio player
Posted by kesed millay at 3/8/2007 5:07:17 PM
i have the play/pause, next, and previous buttons done for my audio player,
which dynamically loads the mp3s from an xml file. i also have a volume slider.
the next item i'm trying to make is a progress bar/preloader. i want this to
show the user how much of the song is loaded, and i also want... more >>
Learning Action Scripting
Posted by mikeygilbert23_nap at 3/8/2007 4:48:00 PM
What is the best way to teach yourself Action Scripting? Suggestions please... thanks all... more >>
a cross platform functioning button
Posted by bb73 at 3/8/2007 4:40:58 PM
I'm building a hybrid CD that has buttons in it that launch .pdfs.
To do so on the PC side I'm using JStart so that when a button is clicked it
runs an executable that launches the .pdf in Reader:
on (release) {
fscommand("Exec", "JSTART_GS_02gs.EXE");
}
FYI - "JSTART_GS_02gs.EXE" ... more >>
Alert Component with OnKillFocus Causes Infinite Loop
Posted by IDM New Media at 3/8/2007 4:30:38 PM
I have this script...
txtPPM.onKillFocus = function(txtPPM)
{
import mx.controls.Alert;
Alert.show("blah blah");
};
When my focus shifts away from the txtPPM textfield I get an infinite loop
error. I haven't been able to find a successful method to fix this. Any
su... more >>
FLV streaming through PHP help
Posted by infoVac at 3/8/2007 3:51:36 PM
First of all i know nothing of PHP, but after this incident i will teach myself.
I found this link:
http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take
-two
It shows you how to stream FLV's and use a scrub bar without using a streaming
server using a PHP fi... more >>
Finding Movie Clip Name
Posted by leej_w at 3/8/2007 3:24:16 PM
Hello,
I have 108 movie clips on my stage which make up a grid. The grid was
generated dynamically using movieclips a while loop.
Each movie clip has been given its own unique instance name.
Now i want all the movie clips to have the same functions. I did not want to
write lines a... more >>
My Array battle (change value)
Posted by mbowles at 3/8/2007 2:53:42 PM
I have some code at this post
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=28
8&threadid=1245453&highlight_key=y&keyword1=array that I was using and now
thanks to kglad I am fading images instead of scrolling. Anyway, I did a
search on arrays here and tried a... more >>
cuepoints - usage?
Posted by stephan.k at 3/8/2007 2:43:36 PM
Dear List
I'm looking into my options on the achieving the following:
1) A progressive download of an .flv file (we don't have media server,
otherwhise we'd stream).
2) Once whole file is downloaded display all the cuepoints in the flv file on
the timeline (with some sort of markers)... more >>
Quick Question on scene selectors
Posted by DelinquentMe at 3/8/2007 2:40:27 PM
in a single scene you can specify the particular instance you're after via:
blah.blah.gotoAndPlay();
is there code that allows you to spec out a particular scene so it would be
something like:
"Scene 2".blah.gotoAndPlay();
... more >>
NetStream.Buffer.Empty doesn't fire
Posted by TaoHunter at 3/8/2007 2:16:18 PM
When I'm buffering a Video I want to show the Clip 'bufferclip'
The problem is that "NetStream.Buffer.Empty" doesn't seem to fire.
I put traces in the code to see what's going on and it only returns "full"
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = n... more >>
Save file problem
Posted by delwyw at 3/8/2007 6:28:16 AM
I am doing a CD-ROM by using Flash 8. I got a problem that when click a button
to download a file, it open a new browser at i.e. or netscape coz i use getUrl
function. Does any one know that any other actionscript has similar function
that after click a button, then a zip file/pdf file is bein... more >>
Bufering sound in Actionscript
Posted by Arunkkumar2207j at 3/8/2007 6:07:12 AM
Required suggestion on following issues.
1. When playing a song, if it can not be accessed within 5 seconds, the player
advances to the next song
2. When playing a song, the player will buffer the next song.
3. When buffering the next song, if it can not be accessed within 20 seconds,
t... more >>
dot notation
Posted by laphlegm at 3/8/2007 5:05:48 AM
I am new to action script, but as of now I am creating a site where an intro
plays out and then returns to a movie clip that is two levels above it. So I
can easily write _parent._parent.gotoAndPlay("site"); which works out fine and
plays perfectly. But I know there is a way to define someth... more >>
gotoAndPlay
Posted by WarrenWalsh at 3/8/2007 4:47:42 AM
The script validator is rejecting the gotoAndPlay event that I have attached to
a button.
I am trying to move from one frame to another within the same scene using this
code;
stop();
SiteDetails_btn.onRelease = function(){
gotoAndPlay("SiteDetails_frm");
};
The following messa... more >>
Milisecond synchronisation
Posted by jochanan at 3/8/2007 12:00:00 AM
I am sorry, my question can be slightly of topic, but I hope that AS3.0 and
faster AVM can be solution for my problem.
I am an electrophysiologist working in vision. One of the major issues in all
our experiments is visual stimuli design. Just now I am looking for a suitable
design tool to... more >>
problem loading flash 5 swf in flash 8
Posted by Horea4 at 3/8/2007 12:00:00 AM
The problem is this:
I am trying to load a flash 5 swf movie using the loadMovie function.
The problem is that it loads on my computer, but it doesn't on the client's
computer! I have Flash Player 8. Could this be a problem? Could it be that he's
having an older version of Flash player? I ... more >>
getBytesLoaded() and getBytesTotal() return nothing when loading content from another domain
Posted by gpcola at 3/8/2007 12:00:00 AM
I have created a movie that loads various media using loadMovie() and then in
many cases performs actions on the newly loaded MCs once the loading is
complete. I'm relying on getBytesLoaded and getBytesTotal to know when to run
these actions.
This works just fine when the content is on th... more >>
Re: Help attaching a video to a dynamic movieclip
Posted by LuigiL at 3/8/2007 12:00:00 AM
Well, you don't parse the xml for the video... With your code you only get the
first node 'Category 1' (if you put a trace on totalCategories it will return
6) . So, first you need to change the way you parse the xml to get the data for
'Category 2'. The code to show the video seems correct.
... more >>
Is it possible to use a StyleSheet to color A MovieClip?
Posted by Michealnl at 3/8/2007 12:00:00 AM
Hello,
I was wondering if it is possible to use a external stylesheet to color a movieclip.
Or is this only possible with Text?
Regads,
Micheal... more >>
Help with Progress Bar
Posted by ndisdabest at 3/8/2007 12:00:00 AM
Hi --
I am using the Progress Bar component to build a simple preloader and noticed
while simulating downloads at slower speeds that it does not show up until the
movie is about 95% loaded. I have attached my code below... why does this
occur? How can I get it to pop up right away so th... more >>
tween programmed animation
Posted by castten at 3/8/2007 12:00:00 AM
Hi,
I want to fade a clip that has some dynamic animations inside (attatched
clips etc). It seems to me that the whole clip won't do an alpha tween
anymore when using a keyframe tween. Are there any rules to know when it
does and when not?
TIA... more >>
check variable for NAN
Posted by castten at 3/8/2007 12:00:00 AM
How can I check for NAN value? I need it for debuggin.... more >>
|