Making nav buttons "STOP" ...

Hi. I have a question about a couple of things with AS3. And,
I am really excited about my energy towards wrapping up my first
Flash CS3 site.
First off, is it possible to make nav buttons stop a Flash
video from playing (without pressing stop directly from the
component). I've made numerous attempts, but I have decided to just
start from scratch. If so, how is it done?
All the AS3 I have done has most been on the top layers of
the main timelines. I get a little confused about public and
private and sprite, but I do know how to paste that content into a
.AS class file and test it.
What is a Sprite? Is it difficult to learn and use
comfortably? Can I use it with the actionscript on the top layer of
the timeline. I just made a scrolling thumbnail panel. But, now I
am thinking about turning it into a photo gallery, so I can display
larger images.
Jntspecialty

I see the flvplayback class in the help files, with all the
methods and properties listed in one spot. I even tested the
example code and got it to work.
So, for me, 1st develop the .swf file with the nav buttons
and be sure to include
" import fl.video.FLVPlayback;
trace(FLVPlayback.VERSION);"
on that page. Right?
2nd- Then, make a page called "PressToPlayVideoPage.swf" and
"ThePageWithTheFlvComponent.swf", and on this page drag the flv
component, set the parameters to a flv named "anything.flv" and
give it an instance name of "MyVideoWhichWillBeStopped".
*Basically, the page that is accessed from the nav bar will
have a button to load the page with the flv component
/"MyVideoWhichWillBeStopped". Okay?
3rd - Do what ??? To make the two "nav buttons" (which are in
a different file) stop the the video from playing, even once
unloaded or on the bottom stack, from that point on.

Similar Messages

  • Making a button stop a specific sound

    how do i make a button have a behavior to stop sound?

    dantair wrote:
    > i start off with a slide presentation
    > in the presentation timeline i have objects and graphics
    with sounds come in
    > and end at frame 55
    > i put a layer with a stop action at frame 55
    > i put another layer with a keyframe at frame 55 and i
    attach a music beat to
    > loop to it
    > i want the music beat to turn off when my users navigate
    to the slides
    > or i want to have buttons to stop the music beat loop
    for your case you could have the sound attach to whatever
    frame you going next.
    Set it to loop 0 (zero) and SYNC to STOP. It will stop the
    sound once you enter the
    frame.
    You could as well attach stopAllSounds action but it works
    like purge and you might
    not be able to play it again unless you reload the movie.
    Than there is a movie clip. You can place the sound in movie
    clip frame 2
    and in frame 3 just like above, loop zero and sync STOP and
    have alternate ON OFF sound
    clip but going to frame 2 or 3 from button or frame.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Is it possible to place forward/back nav buttons in a timeline based gallery. Stand alone SWF needed.

    I'm currently working on a gallery to be output as a stand-alone SWF file, and am doing it all on the timeline as I can't write actionscript for toffee
    So far, I have the gallery created with alpha tweens fading between embedded images. These images are buttons, to which I have added URL links (my only foray into actionscript), which will send the user to a specific link related to the image being shown at the time. At the moment this is just a linear timeline that flows from start to finish and loops to the start again - as per most other simple timeline based animations.
    I have now been asked if I can add two nav buttons (one each side of the frame) to allow the user to flip back and forth through the images. Is this possible on a timeline? And if so, how would it best be implimented? I just don't know if a button action can affect the flow of a timeline.
    Ideally the gallery will auto flow, until either of the forward/back nav buttons are clicked.
    Any help here would be really really appreciated.
    Paul

    Thanks for that Ned. I've had a quick look, and will research deeper later. Though being a complete and utter novice at actionscript, I am flummoxed by probably the simplest of stuff by your standards. For example, the scripts I saw briefly, using the searches you suggested appeared to not export a stand alone SWF file - with no XML files or image folders (I'm still to work out if is possible to do that for this particular use). Also, on all of the examples I saw, the buttons are embedded at the bottom of the pane, and I really need to put the buttons as plainly obvious clickable blobs on either side of the image area. This, again, I can easily do on a timeline (apart from actually making them work of course) but to do this with someone else's AS code, will need more time than I have to learn the relevent stuff.
    Does it sound like I may have to just settle for a linear, non-interactive rotating gallery? - based on my knowledge limitations, as well as needing a stand alone SWF.
    Paul.

  • My middle "Home" button stops working at least once a day! Can I get a replacment?

    I got my iPhone in October of 2010 and for the past 2 months witch it is now June 2011, my middle button stops working for up to 2 hours sometimes and it happens EVERYDAY! It's very annoying and also another problem whenever I recive or am calling someone it makes this horrible buzzing noise and it makes it hard to hear the person(s). I want a replacment because this is annoying and stressfull. Is there anyway I can get a new phone...? Please help!!!

    The basic warranty is for 90 days. If you purchased AppleCare for your phone at the time you bought the phone, that's good for 2 years.
    In either case, call your local Apple Store and make an appointment to take the phone in for a repair. If there's something wrong with it, they'll fix it. You won't pay anything if you purchased the AppleCare. If you're lucky to get an Apple Store employee who is in a good mood, you won't pay even if your phone is not covered by a current warranty.

  • My iPhone 4 is only 14 months old over dropped very well looke after, one day the lock button stops then the volume buttons, now the headphone port does not work and the battery lasts about 4 hours after full charge I still have a year left on my contract

    My phone is 2 months out of warranty, it's never been dropped or miss used yet the past week every day something has gone wrong with it. First the lock button stopped then the side volume buttons. Then the head phone port when I putt headphones in the phone turns the volume
    Down automatically and it won't turn up until I take my headphones back out. The battery lasts 4 hours max after a full charge and today I took my phone off the docking charger and all my music has gone! The phone is breaking down more and more everyday what is going on! I know people who have had there iPhones years an non of this happen! I still have a year left on my contract too!

    Who is your carrier and what is your coverage with them? If you are with say Verizon, and have Total Equipment Coverage or Extended Coverage, they will swap it out for you under Manufacturer Warrantee.

  • [svn:osmf:] 14521: ChromeLibrary: moving live and recording buttons to the left hand side of the control bar , and making the button backdrops a little bigger.

    Revision: 14521
    Revision: 14521
    Author:   [email protected]
    Date:     2010-03-02 12:47:27 -0800 (Tue, 02 Mar 2010)
    Log Message:
    ChromeLibrary: moving live and recording buttons to the left hand side of the control bar, and making the button backdrops a little bigger.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/assets/control bar.ai
        osmf/trunk/libs/ChromeLibrary/assets/images/eject_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenEnter_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenLeave_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/pause_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/play_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_up.png
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/ControlBar.as

    Revision: 14521
    Revision: 14521
    Author:   [email protected]
    Date:     2010-03-02 12:47:27 -0800 (Tue, 02 Mar 2010)
    Log Message:
    ChromeLibrary: moving live and recording buttons to the left hand side of the control bar, and making the button backdrops a little bigger.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/assets/control bar.ai
        osmf/trunk/libs/ChromeLibrary/assets/images/eject_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenEnter_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenLeave_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/pause_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/play_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_up.png
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/ControlBar.as

  • My iphone 4 wont turn on after hours of charging, normally i would press the lock button and home button together but my lock button stopped working afue weeks ago. Help!

    My iphone 4 wont turn on after hours of charging, normally i would press the lock button and home button together but my lock button stopped working afue weeks ago. Help!

    Hello Kimbo1991,
    It sounds like your phone is not successfully booting even though you have reset the device. I would next recommend attempting a backup and restore to iTunes with this article:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    If you are unable to restore with iTunes I would next put the device into recovery mode, and attempt the restore again:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Top Nav buttons not working after publish, but works in app. WHY?

    I have tried to find out why these buttons will not work after publishing. They work fine while in the iWeb app, but not when publishing. I do not have any objects near the top nav buttons. The first site went off without a hitch
    <www.serenitycustompools.net> the second site began the problem with the last page, the nav buttons would not work. Now this 3rd site, none of the nav buttons at top will work after publish, but will work in app. Anyone else having the same probs? None of my pages have the same names or any punctuation marks, and they are simple one word named pages.
    mini intel   Mac OS X (10.4.9)  

    They all work for me, try clearing your browser cache or using another browser.

  • Help with nav buttons please

    Hey there, i've recently been following a tutorial and I have come across a problem with the AS for the nav buttons,  http://www.flash-game-design.com/flash-tutorials/basic-flash-website-tutorial-6.html, the tutorial says to write:
    btnabout.onRelease = function(){
        content.gotoAndStop("about")
    btnport.onRelease = function(){
        content.gotoAndPlay("port")
    btncont.onRelease = function(){
        content.gotoAndStop("contact")
    I have done this and it came with an error saying needs to be in handler, so i re-entered this:
    btnabout.on(release) = function(){
        content.gotoAndStop("about")
    btnport.on(release) = function(){
        content.gotoAndPlay("port")
    btncont.on(release) = function(){
        content.gotoAndStop("contact")
    This code then came back with a Expected a field name after '.' operator.  btnabout.on(release) = function(){ can anyone please help me i'm starting to pull hairs out?!
    Thanks
    P.S it must be AS 2.0 as that is what my portfolio page uses.

    The problem with the first attempt was not the code, but where you placed it.  That code needs to be placed on the timelinein the same frame as where the buttons are  (preferably in a separate 'actions' layer).  This approach is the better approach than trying to place the code on the objects because it keeps all code in a single easy to find location... the timeline.
    For the second attempt, assuming you were still trying to attach the code to the buttons, you should change the code to....
    on(release) {
        content.gotoAndStop("about")
    on(release){
        content.gotoAndPlay("port")
    on(release){
        content.gotoAndStop("contact")
    but.... each of those needs to be attached to the button associated with it and not grouped together.  This is an older style of coding that is best avoided due to ending up with code hiding on objects.

  • I dropped my Iphone in water and the on/off button stopped working, how do I fix it?

    I dropped my phone in some water and it was only in there for about two or three seconds. I grabbed it and dried it straight away and made sure to get in all of it, and it was fine, everything worked. But about an hour after the on/off button stopped working, so i have to use the home button to unlock it and have to wait for the screen to turn off after 1 minute of leaving it. I cant turn it off and dont know how to fix it. Will it go away on its own, do I have to send it off to get fixed? This literally happened like two hours ago, and my phone is a bit more than a year old. Can anyone help me?

    Make an app;ointment at the genius bar and take your credit card. You can get an out of warrnty replacement for an iPhone 4 for $149.
    If you had just done it, the advice would have been to shut it off and put it in a bowl or bag of uncooked rice or silica gel for a week.  Unfortunately, since it's been powered on for several hours, since then, it may have been permanently damaged. You can try the rice trick, but be prepared to pay for a replacement at some point down the road.

  • Soft button STOP not working in alarm mode ver 50 ...

    I have recently update my Nokia 5800 firmware to ver 50 and found the soft button STOP not working during alarm. This was oK in ver 21.
    Anyone has any idea how to correct this issue ?
    Chris
    Solved!
    Go to Solution.

    Have u noticed that there aren't buttons but actually moving arrows? U will have to slide you finger across the screen in the moving direction.

  • Simple nav buttons not displaying correctly

    When I add content to the page that expands the table, the
    nav buttons on the left "spread out". This isn't happening in
    Safari. Any help would be much appreciated. Here is the page I'm
    working on:
    http://www.csayersdesign.com/achieveIT/pages/company.htm

    Curtis Sayers wrote:
    > When I add content to the page that expands the table,
    the nav buttons on the
    > left "spread out". This isn't happening in Safari. Any
    help would be much
    > appreciated. Here is the page I'm working on:
    >
    http://www.csayersdesign.com/achieveIT/pages/company.htm
    >
    >
    Problem is you're doing what a lot of beginners do, trying to
    create a
    page by using one single table and splitting the cells into
    numerous
    cells......that aint going to work as you have found out.
    It doesn't help either that you are allowing Fireworks to
    generate this
    code. When you do that it normally produces fragile code that
    the
    browser tries its best to interpret and a lot of times fails
    The design you're trying to produce is a fairly basic 2
    column table
    which you should ideally set up directly in Dreamweaver.
    A sticking plaster option would be to remove all the elements
    in your
    navigation side bar and merge that column back into one
    single cell. You
    can do that by click-dragging in Dreamweaver then in the
    properties
    inspector where it says 'cell' in the bottom left corner
    click the white
    square icon which will merge all the cells into one.
    The downside to this is that it may upset the fragile code
    created by
    Fireworks and throw your page into even more turmoil.
    If it does work you then need to insert another table (a
    nested table)
    into the cell which you merged back into one. Then put your
    navigation
    buttons into it.
    Tables that are independent of one another cannot interact
    and so you
    create a more stable environment for your design.

  • IPad mini home button stopped working

    My sons mini iPad home button stopped working. He opted to switch to thee "excessive touch" button to allow him to use it.
    Is there aw nay to fix this? It was purchased last January
    Thanks

    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    It's still covered by Apple's 1 year warranty. Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • So i just got my ipod august 2012. about 1 month ago, my home button stopped working and my ipod is getting slower and slower. would apple be able to fix it for free?

    So i just got my ipod august 2012. about 1 month ago, my home button stopped working and my ipod is getting slower and slower. Would apple be able to fix it for free?

    Ipods automatically have a one year warrany unless you have violated the terms. But you can pay to extend the warranty. It depends, they may fix it for free or they may charge a bit. Im not entirely sure. But id say theres a good chance that they may fix it for free. With battery replacements, ive heard that they give you an entirely new ipod with a charge of $80. So i think it depends

  • My back button stopped working, so how to fix it?

    The back button stopped working. I can still use the keyboard substitute though. I have tried deleting places.sqlite and resetting some of the settings people suggested in config:about. Nothing has worked.

    You can try a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.
    *C:\Program Files\Mozilla Firefox\
    *http://kb.mozillazine.org/Installation_directory
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 17.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

Maybe you are looking for

  • Oracle 10g Rows to column

    Hi I have folowing scenario. I am getting the result with some query like below : STATE      DAY     AVG NY        02/02     5 NY        02/03     10 NY        02/04     20 NY        02/05     15 IL        02/02     23 IL        02/03     34 IL      

  • Connecting Macbook pro to PC monitor

    HI, can someone help/advise me if thie following is possible? I have an early 2011 MacBook Pro and wondered if I can connect it to an HP (HP w1097v) PC monitor? It has a VGA connection on the back. Many thanks

  • Order of the mp3 files

    How the MP3 files could be sort by folder- and filenames in player (and played in that order)? Now they are sort by track number in "albums" (player makes two different albums with same name to one album) and albums are in alphabetical order. I have

  • SAPHTML_DEMO1 and getSVGDocument

    Hi experts, using /nSE38 and running SAPHTML_DEMO1 is working fine with any valid URL. Now I get the sample code from MSDN for getSVGDocument, see http://msdn.microsoft.com/en-us/library/ff975243(v=VS.85).aspx I saved the sample as html file. For the

  • Koh-kghu sessi,pl/sql vc2

    hi i am trying the blow code ..and getting error ... we have 10g databse can anybody please explain ...what is this all about SQL> ed Wrote file afiedt.buf   1  declare   2  a varchar(4000);   3  b long raw;   4  cursor c1 is select databuf from long