?
Solved

Manually Trigger Flash Movie on Website

Posted on 2003-12-04
2
Medium Priority
?
239 Views
Last Modified: 2010-04-03
I would like to put a button on my website that plays a flash movie.  But, I want the movie to slide out from the left, directly over the banner and then automatically slide back off when the flash movie ends.  (an example is www.hostrocket.com) I can't get it to work.  FYI - I use Dreamweaver MX for my HTML editor.  I've tried manipulating layers and using different events but no luck, so please be as specific as possible with solution.
0
Comment
Question by:charming
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 9874627
hi, from the looks of it, the hostrocket.com site's banner is in flash as well.

thus, not a layer problem at all, build it all in flash and embed the whole thing in html.
0
 
LVL 2

Accepted Solution

by:
sexyrexy earned 880 total points
ID: 9877947
To allow a Flash movie to slide in and out overtop of non-Flash elements in a page:

You can place the Flash movie in a DIV, and make the base movie (that is, what is always seen when it is NOT "expanded") the size of the movie in Flash. For example, 120 pixels wide. Then make the additional animation play off the edge of the stage in Flash. When the animation starts, put an actionscript call to execute a javascript function which will resize the DIV to the appropriate width. Set the embedded Flash movie's attributes to 100% width of the DIV, and scale to default/show all. Another javascript function can also be invoked to set the DIV width back to the original size.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question