Trying to create Large Play button on Flash CS4

Hello,
I am trying to create the following: (using someone elses post from another board)
"I am wondering if there is a way to hide the FLVPlayback skin until a certain event happens. Let me explain.
I have an instance of the flvplayback component in my movie. I have the player skin set to "autohide" and "autoplay" set to false. Instead of having users click on the play button of the skin to start the movie I have incorporated a larger play button in the middle of the screen. The set back here is that when a user mouses over the movie to click on the larger play button the flvplayback skin appears as well.
I'd like to basically tell the skin "Hey don't appear on mouseover until AFTER the large play button is pressed." What code would I need for this in Actionscript 3?"
I am curious if someone can teach how to embed a regular .swf movie file into the
"example" code, which was also posted here
(http://www.kirupa.com/forum/showthread.php?t=323702)
I have very limited coding skills and very much appreciate the assistance.
Rod

You are looking for the visible property I believe.
At the beginning of your code, set:
myFLVPlayer._visible = false;
to set it invisible (replacing "myFLVPlayer" with your components name ocourse)
Then, onRelease of your button, set:
myFLVPlayer._visible = true;
to make it visible again.
EDIT
I just looked at your code in the other forum, and here is your onRelease function fixed:
video_mc.video._visible = false;
video_mc.bigButton_mc.onRelease = function(){
video_mc.bigButton_mc._visible = false;
video_mc.video._visible = true;
video_mc.video.play();

Similar Messages

  • How can we create such navigation buttons using Flash CS4?

    Hi,
    How can we create such navigation buttons using Flash CS4 is in the following website? Please help me with any such tutorial to make my custom navigation bar/buttons.
    http://city.reallusion.com/join.html
    Thanks.

    While the Note 4 is a reasonably large device it still falls into the phone layout bucket. We need this layout to function on very small screens some as low as 320 pixels high and 240 pixels wide. These sorts of devices don't have the space for a full toolbar.

  • Can I create a "play" button in the Tag Inspector extension

    Hello,
    I am creating a Tag Inspector extension for changing the
    properties of a customized swf files.
    Can I create a "play" button in the property panel to preview
    the swf movie?
    I've checked the "Inspectors" folder in the "configuration"
    and cant find the Inspector panel htm of swf object.
    It seems a part of core code of dreamweaver.

    No.  iDVD does not have that feature.  However, there are two ways you can do this: 
    1 - join the 10 segments into one movie file.  It's quite easy if you have Quicktime Pro and Quicktime Player 7.  Other video editing apps can do the job.
    2 - you can create a slideshow in iDVD and add each of the movies to it so they all will play one after another:
    Set the Slide duration to anything but Manual.  Do not select a transition and add no music to the slideshow.
    Remember, the playing time of the entire project should be less than 120 minutes including menu's playing time in order for you to use a single layer DVD disc.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.

  • Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?

    The documentation for Flash Builder 4 beta says that after opening flash from flash builder, I should click a "done" button in flash and flash should close and what I created in flash should be included as a component or container in Flash Builder.  Using the Flash Builder 4 beta on Windows, when I click on the "create in flash" button on the properties panel for either the new flash component or container, Flash CS4 opens, I create something in Flash and no "done" button is present.  Nor is anything present in the menus resembling a "done" option.  Where is it?

    Hi Jeffrey:
    Still no done button.  Now under commands in Flash I can convert symbols to flex components and containers and these show up in the Flash library.
    Thanks:
    Jim
    Date: Wed, 30 Sep 2009 09:58:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    Hi,
    You may need to install FlexComponentKit.mxp to your Flash CS4 beforehand.
    Jeffrey
    Date: Tue, 29 Sep 2009 17:04:36 -0600
    From: mailto:[email protected]
    To: mailto:[email protected]
    Subject: Flex Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    I apparently didn't get one.  I've looked under various workspace configurations.  Another thing that seems odd is that when Flash opens I get the opening panel that allows me to select the type of file and version of AS I want to use.  I select new file with AS3.  Any ideas on why the "done" button wouldn't be present and if the opening panel is what I should expect on opening Flash after clicking the "create in Flash" button?
    >
    >

  • Larger Video Play Buttons in Flash

    How do you get larger video play/pause buttons when importing a video in to Flash. My current buttons are too small and I need to find larger ones. How do you do that?

    I've tried using different flvplayback skins and the playback buttons are all way too small. I tried following steps on how to use the Video UI Component but it doesn't seem to work. I added a "Play" button to the stage but didn't know what to name the instance of it and then how to do the Action Scripting for it. There were examples of Action Script and I tried the examples and they didn't work.

  • How do I create a play button for movie clip using AS3

    Hello.
    Bit new to this and have been searching the adobe forums and google. I am trying to create a button that will play an imported MovieClip.
    I have a movie clip that I've imported into it's own layer (Layer1) Frame 1.  I've given the MovieClip an instance name of foundationMovie.
    I've created a button and have that on its own layer(Layer2) above layer1, it is also in Frame 1.
    I've added a
    stop (); action to layer2
    The video is not set to autoplay.
    I want the video to start playing when the viewer clicks the button.  I know I've got to put some kind of event listener using AS3 in my timeline somewhere.
    I've found some code and I've been trying to work with it.  I'm sure I've mutilated it beyond usability but this is what I've got.
    stop ();
    player.addEventListener(MouseEvent.CLICK,play);
    function play(event:MouseEvent)
    gotoAndPlay("foundationMovie");
    If someone could point me the right direction or help me with my code I would really appreciate it.  Thanks.

    First, you need to clear up what you are working with... a movieclip and a video are usually entirely different things.
    Next, your code may get you started on your way with some changes.   You shouldn't use "play" as a function name due to there already being a play() method/function in Flash.
    If the movieclip is a movieclip and has an instance name of "foundationMovie", and your button has an instance name of "player" then the following adjusted code would normally work...
    stop ();
    player.addEventListener(MouseEvent.CLICK,playMovie);
    function playMovie(event:MouseEvent)
         foundationMovie.play();

  • How to Create a Back button in Flash

    Hi all,
    I need to create a back button for my flash app. It doesn't
    need to be connected with Browser. It just need be able to remember
    what frame they were viewing, and bring them back.
    Is there any event I can use for this? I made an variable
    called "visited:Number" and change it on every frame, but this
    won't work. Once the user enters a new frame, the original visited
    number is replaced by current already. I don't know how to hold
    that number, before they leave the current frame.
    Can anybody give me little clue/direction please?
    Thank you...

    Hi
    I believe that you should look at the Forms functionality for UCM . Under Content Management - Web Form Editor will show up the editor where in you can add buttons and attach functionalities to it . With UCM 11g this is not available thus you might need to use AJAX to build the requirement .
    Thanks
    Srinath

  • How to create a PLAY button in Encore CS5

    I have a premiere pro project which I imported to Encore thru Dynamic Link.
    How do I create a menu with a "play" button so that when burning it to DVD it won't play automatically.
    I also want to give the option to "replay" the video at the end of it and give the option to "exit".
    thanks,

    I apologize for my ignorance as I have no clue about overrides and how the timeline itself got an override.
    So, I will start over by deleting the menu and the chapter markers.
    I will create a new menu and make it "first play" and make the end action of the menu "stop".
    I will create new chapter markers on the timeline.
    I will then create buttons on the menu which I will link to each of the chapter markers.
    My intent is to have the user start at the Menu and watch all chapters consecutively unless he/she forward to the next chapter and continue watching the remaining chapters.
    At the end of the last chapter I want it to return to the menu.
    My questions:
    Do I have to worry about the end action of every single chapter or just the last one?
    Am I missing something?

  • Trying to create two toolbar buttons. Need codes.

    I am trying to use the Custom Buttons addon to create the following two toolbar buttons. Bu I need the codes and I didn't get aid at the Custom Buttons official forum. Hope someone here could help.
    (1) Force links to open in new background tabs
    Click on this button and then everytime you open a link, it opens in a new background tab. Click on it again and then the original setting is restored.
    (2) After the current tab is closed, open the right tab
    Click on this button and then everytime you close a tab, the tab next to it on the right will be opened. Click on this button again and then the original setting is restored.
    Thank you in advance.

    ''FredMcD [[#answer-681024|said]]''
    <blockquote>
    I've called the big guys to help you. Good luck.
    </blockquote>
    Thank you for your assistance.

  • Im trying to create a fading button with a fading action.

    I can't figure out how to create a fading button with an additional action to it. I'll do my best to lay out how the actions should work: [red = not working]
    Button > roll over> fade> (that part I have down perfectly) click button> button temporarily replaced with text> roll out of text > process repeated in reverse for smooth fading.
    Every time I set up all these actions and get it the way I want, I run into a bunch of problems:
    Text box holder and text can not be over the button. (Where I need them to sit) When they sit over the button it blocks it from doing any of its specified actions. So I'll make the text box and text a hidden item, then they lose their transition and start flickering when they are interacted with.
    This is basically the last piece of my clients new site and I just need to figure this one little thing out. Please help if possible!

    Try to group the elements so they work together.

  • How to automate "click play button" on flash video

    when I open the following link
    http://www.youtube.com/embed/s2gcfov8ORs
    I need to click on the button to play it
    how can I open such a video without clicking on the button to start the streaming
    or are there any scripts, command line to "click on the play button" of this video?
    I want to automate the process to start streaming a video

    You have to go to the Youtube video www.youtube.com/watch?v=s2gcfov8ORs - it will auto start.

  • Can't create a transition effect in flash cs4

    hey,
    I'm having trouble creating a fade in transition using flash cs4. I've tried to using windows > behaviors but there is not option for screen > transition. Does anyone know the actionscript code for a transition? Or how to put one in. I have 2 frames with a picture on each frame set at 1 frame per second intervals.
    Thanks!,
    Joseph

    You might be better served if you post your question in the Flash forum; this is the Flash Player forum.

  • Error in creating XML photo gallery with Flash CS4 and AS 3.0

    Hello, all. I've been creating an XML photo gallery with Flash CS4 and AS 3.0 following a tutorial. I followed the instructions step-by-step but at the end I got the following error message instead:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Could anyone in the community assist me as to how to solve the problem? The script has no errors and last time I checked all the applicable files (the .xml file, the .jpg files, the .swf and the .fla file) are in my Documents folder on the Mac.
    Looking forward to your suggestions!

    Check the folder structure
    Flash is not able to get some file thats why the IO Error.
    trace the url path just before u load the file and u will be abel to find whether that file is in specified folder or not.
    http://www.darshanrane.com

  • Creating a vertical marquee in flash cs4

    Does anyone know how to make a vertical marquee in flash cs4?  I can make a horizontal one with no problem but I am having problems creating one that is vertical.  any help or if anyone knows any tutorials it would be very much appreciated.
    thanks in advance!!

    I am just using  simple tweens( that is all I know) changing the x to y is a good idea but  I am new to action script and dont know how to write the code to change it from x to y.  Do you know of any tutorial or anything that discusses this?

  • Cp6 - Creating a TOC button (without Flash widget)

    Hello everyone,
    I am working on a elearning template that doesn't use a time slider bar so, navigation is done through the use of back/next buttons.
    I am also employing the Captivate TOC as a overlay. The problem I am having is that the default trigger to open the TOC is not only intrusive in it's default top-left corner location (affecting our branding), it is also a potential source of confusion for learners (to find it).
    Apparently, there is a way to implement a TOC button on the master slide (without using a widget) in Captivate 6. Can someone please tell me how this is accomplished?
    ---------------- FLASH WIDGET IS A LAST RESORT
    As a last resort, I will consider a Flash widget for now. Apparently, there is a good one here: http://www.cpguru.com/toc-button-widget-for-adobe-captivate/
    The problems:
    1) We want to avoid Flash, if possible, because our elearning content will eventually need to be outputted as HTML 5.
    2) CPUGURU's widget source is not available and it is not in AS3 code (AFAIK). We will need the source for further customization.
    Does anyone know how to open and close the TOC without a Flash widget?
    Thank you,
    Doug

    Hello Doug,
    Do you have the playbar enabled? In that case, if you set the TOC as overlay there is 'TOC' button which appears automatically in the playbar. Are you looking for something else?
    Thanks,
    Vish

Maybe you are looking for