Have you pressed F1 on your keyboard to bring up the help menu? That would be a good place to start. [quoted text, click to view] "Froborr" <webforumsuser@macromedia.com> wrote in message news:c69ath$svg$1@forums.macromedia.com... > Student, just starting out with Flash MX. I have the basics of animation and > music down, but my project requires some actionscripting that I'm having > trouble with. > > Here's what I need to do: (1) Clicking on certain spots in the animation > should open up a URL in a new browser window. These links should be in some > frames but not others. (2) At the end of the animation, close all daughter > windows and the window containing the animation. > > I'm pretty sure the last, at least, requires fscommand, but I can't for the > life of me figure out how to make fscommand work. Any help? >
Student, just starting out with Flash MX. I have the basics of animation and music down, but my project requires some actionscripting that I'm having trouble with. Here's what I need to do: (1) Clicking on certain spots in the animation should open up a URL in a new browser window. These links should be in some frames but not others. (2) At the end of the animation, close all daughter windows and the window containing the animation. I'm pretty sure the last, at least, requires fscommand, but I can't for the life of me figure out how to make fscommand work. Any help?
I'm pretty much a beginner too, and I also had trouble figuring out fscommand on the one occasion I've needed it so far. However, I learned that you can send out javascript commands without using it, and that worked okay for me. This is the code I used: on (release) { getURL ("javascript:NewWindow=window.open('pop_genRep_patch01.html','newWin','width=955 ,height=600,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizabl e=No,fullscreen=No'); NewWindow.focus(); void(0);"); }
Storyman: Help was the first thing I tried. However, I found the help for fscommand more confusing than helpful, hence the reason I came here. ol_yello: Thank you muchly, I will try that script for the new windows problem. Anybody have any suggestions for the second problem? Will this work as generic code: on(event) {"javascript:close.window(windowname)"}
Don't see what you're looking for? Try a search.
|