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
Solved

Manually Trigger Flash Movie on Website

Posted on 2003-12-04
2
234 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
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 220 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
YouTube Link 10 363
How to convert pdf file to html file 8 404
File drag and drop 6 145
Windows 2008 Group Policy - An error occurred. Please try again later 2 96
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

860 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