Solved

Manually Trigger Flash Movie on Website

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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 select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

718 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