Solved

Manually Trigger Flash Movie on Website

Posted on 2003-12-04
2
236 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

726 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