Flash movie / HTML query
Novice desperately seeking help with seeming inability to get
SWF movie to loop or not autoplay. HTML page generated using Flash
CS3. No matter what settings are tried, the behaviour is the same:
the movie starts immediately the page is viewed and plays only
once. I'd like to be able to either loop the movie or load the page
and not play the movie automatically. Would be great to know what
has been done wrong. I've included the HTML code below:
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', '
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '480',
'height', '424',
'src', 'VidInAction',
'quality', 'high',
'pluginspage', '
http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'false',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'VidInAction',
'bgcolor', '#ffffff',
'name', 'VidInAction',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'VidInAction',
'salign', ''
); //end AC code
</script>
<noscript>
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
width="480" height="424" id="VidInAction" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="VidInAction.swf"
/><param name="play" value="false" /><param
name="quality" value="high" /><param name="bgcolor"
value="#ffffff" /> <embed src="VidInAction.swf" play="false"
quality="high" bgcolor="#ffffff" width="480" height="424"
name="VidInAction" align="middle" allowScriptAccess="sameDomain"
allowFullScreen="false" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
</noscript>
If I'm reading you correctly, I think that what you want is a lightbox type of effect where the Flash movie appears from out of nowhere above a dimmed page. If this is the case then you need to use Javascript to create this dynamic html effect. I use mediabox advanced. It works with Mootools. You can find more info here: http://code.google.com/mediabox/
Similar Messages
-
How can HTML call a Flash movie?
Greetings Everyone!
I'm sincerely hoping that someone has the answer for me. I'm
a newbie, but trying so very hard to understand... :) I've read
books, pages & pages of this forum, 'net searches - I haven't
found a complete answer to my challenge so far - thanks in advance
for any help you can give...
Here's where things are:
1) I've created a series of swf Flash movies that loop (at a
particular size so they can play inside of an html table cell)
2) I've created html buttons in another cell
What I'm trying to do:
1) Like a swap file in HTML (where you click a button and an
image changes elsewhere on the page, click another button, and that
image swaps to a different image file)
I want to have a flash movie play on a click of a button, click
another button, and a different flash movie plays in the same
spot.
The challenge is the interaction between Dreamweaver and
Flash and getting HTML to talk to Flash.
Here's the code direction I've been heading ...
...IN MY HTML code...
I have a onMouseClick event for each button link. In this
code I set some variable names inside it.
onMouseClick="setFlashVariables('sendmovie','myMovie=activeMovie1')"
---- this would be for button 1.
onMouseClick=
"setFlashVariables('sendmovie','myMovie=activeMovie2')" ---- this
would be for button 2
onMouseClick
="setFlashVariables('sendmovie','myMovie=activeMovie3')" ---- this
would be for button 3
Basically, I'm setting a 'myMovie' variable to 'activeMovie1'
or 'activeMovie2' or 'activeMovie3' when one of the buttons is
clicked.
If 'myMovie' variable is equal to 'activeMovie1' by clicking
a link, this will tell a flash movie: (" Hey flash! Variable
'myMovie' is equal to 'activeMovie1'. Act accordingly."). When the
2nd button is clicked, 'myMovie' will be equal to 'activeMovie2'
and so on.
I need to declare the 'myMovie' variable in my flash movie -
how do I do that?
...IN FLASH...
1. I need to create one variable which will act as a variable
receiver from HTML. (What I called "myMovie")
2. I gather I need to create an IF statement so that
"myMovie" is set to which "activeMovie" ( it could be
activeMovie1/activeMovie2/activeMovie3 etc ) ,
----->Question:
Where should the IF statement be and
How should it be written?
Admittedly I don't know Action Script 3 very well.
if myMovie is equal to "activeMovie1"
then load a movie. (This movie will be a movie related to my
1 Button.)
else if myMovie is equal to "activeMovie2"
then load a movie. ((This movie will be a movie related to
your 2 Button.)
else if myMovie is equal to "activeMovie3"
then load a movie. ((This movie will be a movie related to
your 3 Button.)
Here's where I'm stuck....
1) If I've already made my movies into swf files where does
an IF statement go?
2) I'm missing the mechanics of how to connect the dots here
- how do I get button 1 to load movie 1 and start playing
automatically? When I click button 2, movie 1 is replaced by movie
2 and starts playing automatically.
It's a detailed explanation (I know) - I'm hoping someone has
an answer for me that's equally explicit. Thanks so much much for
taking the time to read it!!Anybody?
-
Embedding an HTML page in a Flash Movie
I am trying to embed an HTML page in the center of a Flash
movie and I was wondering if this is possible, and if so, what is
the code to do so. I want it as a small box in the middle of my
SWF.You can add HTML formatted txt to a TextField or a TextArea
Component. This only allows for simple things, a href, b, u, i,
p... But for a full HTML capabilities you may want to look into a
DIV container that sits on top of your flash object using CSS
styles. -
HTML page within a Flash Movie?
I have an HTML page on my server that I'd like to be able to
have inside my Flash movie, is there any way this could work? I
don't want to use the external Text file method. I've been trying
to use an iframe over a Flash movie to fake it but I just get all
kinds of browser problems when I try to do that. I'd just like
Flash to be able to display an HTML page like an iframe does. Is
that possible?
Thanks in advance!nope. this exact question gets asked here from time to time
and the answer is really just that
simple - no - but flash does support some HTML tags for text
but HTML as a language is completely
different animal from flash player.
Chris Georgenes
Animator
http://www.mudbubble.com
http://www.keyframer.com
Adobe Community Expert
*\^^/*
(OO)
<---->
gadillion wrote:
> I have an HTML page on my server that I'd like to be
able to have inside my
> Flash movie, is there any way this could work? I don't
want to use the
> external Text file method. I've been trying to use an
iframe over a Flash
> movie to fake it but I just get all kinds of browser
problems when I try to do
> that. I'd just like Flash to be able to display an HTML
page like an iframe
> does. Is that possible?
>
> Thanks in advance!
> -
How can i link and view any html page inside a flash movie,
for example, i
want to view a yahoo page inside of a movie... I apreciate
all coments and
help... Please!!!EFREN,
> How can i link and view any html page inside a flash
movie,
> for example, i want to view a yahoo page inside of a
movie...
> I apreciate all coments and help... Please!!!
I'm afraid you can't. If you were reading your HTML
documents with a
browser, that would be one thing. Browsers are HTML-reading
machines. The
Flash Player is not. The Flash Player reads Flash files.
While Flash does
support a modicum of the full HTML spec -- see "About
supported HTML tags"
in the documentation for details -- Flash does not, as a
rule, open HTML
documents.
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design." -
Urgent! HTML table cell - Flash movie display browser dependent
Hi all,
I wonder if anyone has experienced the same problem i have
(note, Windows XP, Dreamweaver 4).
Consider the (rough) HTML code attached: A simple HTML table
of one column and two rows is constructed to hold an image banner
link and a Flash movie banner link in each cell consecutively.
The Flash movie works normally when the HTML page is viewed
in IE and Opera, until that is, it is placed inside a table cell.
Inside the cell the flash movie seems to disappear, though i
suspect it collapses to an image 1 pixel in height, as this can
just about be seen using Opera.
Is there something that I am missing? The code of course
seems correct to me - perhaps there is a browser setting i am
missing?
Any help apprceiated - as i need to implement this code ..
DazHi Alan,
Dont think that was the problem (percentages used to scale to
users browser?) ... though you did set me thinking!
Was tired before, so only just remembered that when i was
experimenting with setting the Table Properties the image was
actually occasionally visible!!
Short version: When formatting a cell containing a Flash
animation dont leave the H field blank or use % (even though you're
suppose to be able to!), use pixels instead - otherwise the Flash
image collapses/disappears. Blank and % are fine everywhere else
(I did type a long answer before, but it got eaten by the
forum monster
Someone/i will probably figure out
why this is so or maybe i've just rediscovered the wheel
here - but thats not really important now - because my Flash
animation now renders similarly across IE, Opera and FireFox !!
So thanks for your help!
Daren -
Flash movie will not show in HTML page
I have created 2 small *.swf flash movies using Adobe CS3 professional..
i inserted one move into indes.html and it works just fine
I inserted another into a second page and all i see is a gray box????
Both movies are in the same directory,,, both html files are in that same directory and the *.js file is there also
What could possibly be wrong here ???
Confused
ps.s it works fine when i do a F12 to test it????The usual causes involve missing files or misnamed files. Can you provide links to the web pages that are not displaying properly?
-
Aligning flash movie edges with jpg's in HTML
I have created a flash movie that is 766 px wide by 750 px
high. The html page that the flash movie is embedded in uses jpg.
images to fill the remaiming browers area. (so it appears to the
viewer that flash movie and html page are one seemless page)
The problem I am having is matching (aligning) the edges of
the flash movie with the jpg images. I can get it very close, but
it never seems exactly right. (The edges of the flash movie have a
gradient and some color change.)
You can view my work in progress at:
http://www.awitest.com/index_silver.html
My questions is: is there a simpler, less time consuming way
to get the edges of the flash movie line up correctly with the
jpg's in the html???
By the way I have Design Premium CS3, if any of those other
programs can help with this problem.
Thanks for any advice!yes, is is.
you can use this link.
http://de.selfhtml.org/css/eigenschaften/positionierung.htm#position
the dicription is german, but there are no problems to use
the code, i think.
working with cs3, i use the html of flash an delete all the
java-text. it's possible to use the objekt-tag in the
div-tag. -
Positioning Flash movie in HTML
Whenever I publish a movie in HTML, it always appears in the
upper left hand corner of the browser window. I've tried changing
the publish settings to try and get the movie to be centered, but
nothing works. I currently have the html publish settings as
follows: Template: Flash Only
Dimensions: Match Movie
HTML Alignment: Default
Flash Alignment: Horizontal: Center Vertical: CenterHi,
It will not work. Just make your own page.
Insert flash and then align it.
Cheers
Vices
"Sabretooth Sloth" <[email protected]> wrote
in message
news:e65bk8$m30$[email protected]..
> Whenever I publish a movie in HTML, it always appears in
the upper left
hand
> corner of the browser window. I've tried changing the
publish settings to
try
> and get the movie to be centered, but nothing works. I
currently have the
html
> publish settings as follows: Template: Flash Only
> Dimensions: Match Movie
> HTML Alignment: Default
> Flash Alignment: Horizontal: Center Vertical:
Center
>
> -
Modify flash movie from HTML form
so here is what I have:
I have a flash movie and as the flash movie plays there are
elements that say things like, "Your company name here" or "Your
title here", or "Your Product Picture here" etc.
From an HTML form (I can do all this part) I would want
someone to be able to specify their customized information and
SOMEHOW that would end up in the Flash movie. I would like to know
whether I need special software to create these. I ultimately need
have the final product be a .swf with the form-entered information
like Company Name, etc.
I don't know what I need in order to do this. I'm basically
info-gathering. Ask any questions if I am leaving anything out that
might help you help me identify what we need.
Thanks in advance.no. none from me. i honestly dont have the first clue
-
Getting html into a flash movie
A client is concerned with getting some html text picked up
by the search engines. I've already created a flash site they are
happy with. Now they are asking if I can actually make part of
their flash site include some html text layed over the flash movie
or something like that.
All I could think of was some way (perhaps with javaScript)
of making the buttons in the swf movie load html text.
Does anyone know if this is possible?
Thanks.
A
P.S. Someone mentioned the "SWFObject method" but I was
curious if there was another way to do this. Remember the main
concern here is that search engines can pick up the text.>> P.S. Someone mentioned the "SWFObject method" but I
was curious if there
>> was
another way to do this. Remember the main concern here is
that search
engines
can pick up the text.
That's the way to go if you want search engines to spider a
Flash site.
SWFObject writes the Flash content to a <DIV> on your
page. Inside that div
element, you place your HTML page... you can do dynamic stuff
with PHP,
whatever. If your user doesn't have Flash, or if a spider
hits the page,
they will see the HTML content within the div. If they do
have Flash, then
SWFObject overwrites the div with the Flash, and your user
sees the Flash.
Works a treat...
If you want an example: www.arandell.com
Turn off JavaScript and refresh, and you'll see the HTML
version. Google
spiders this site perfectly.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Commands from a flash movie to a DW html document
I'm using ajax to load a flash movie when a button is
pressed. the movie loads ok and all, but I need to have a button
within the flash movie to be able to close both the animation and
the layer.
http://amedeldesign.com/interiores2/
I took the idea from those animations that sometimes appear
in yahoo, where you click on a corner for example, and a flash
animation that cover part of the page appears on top of the other
content.
I don't know if what I'm doing is as practical code-wise
either.
So also, if anyones has suggestions to do it in a better way,
please let me. The least I ask is how to send a command fromt he
flash movie that affects the html document.
Thanks!!! Here's what I have so far, Please note thtat the
layer witht he aniomation closes with another html on top of the
flash movie, that's not how I want it...
http://amedeldesign.com/interiores2/Hi there Katherine,
It sounds like you want to know if there’s a way to share movies between your devices. Take a look at the article linked below which provides a lot of great information about sharing iTunes libraries on your home network with Home Sharing.
Set up Home Sharing on your computer - Apple Support
Take care,
-Jason -
I am having difficulty impanting a flash movie into my
homepage. You can see my problems at the link below:
VIEW SITE HERE
problems:
1. The drop down menus from my navigation bar fall behind the
flash movie. I've tried working with layers, but I can't figure out
how to get the flash movie to fall behind.
2. The flash movie contains interactive content, but you have
to click once on the movie itself before you can scroll over and
see the interactive parts.
How can I fix these problems? Any help is much appreciated.> 1. The drop down menus from my navigation bar fall
behind the flash
> movie.
> I've tried working with layers, but I can't figure out
how to get the
> flash
> movie to fall behind.
All Active content on a page will always rise to the top, so
to speak,
including Flash, certain form elements, Java applets, and
Active X controls.
This means that each of these will poke through layers. There
is not a good
cross-browser/platform reliable way to solve this issue, but
if you can be
confident in your visitors using IE 5+ or NN6+, then you can
use the Flash
wmode parameter (however, Safari does not support this
properly!).
Adobe articles:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15523
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14201
> 2. The flash movie contains interactive content, but you
have to click
> once
> on the movie itself before you can scroll over and see
the interactive
> parts.
It's IE-only behaviour as a result of changes Microsoft made
several
years ago to their browser, regarding how Active Content
(Flash, Quicktime
etc)
is handled, after losing a high profile court case.
http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
Background:
http://en.wikipedia.org/wiki/Eolas
See also
http://www.adobe.com/devnet/activecontent/
If you're running Dreamweaver 8.0.2/CS3, the fix is already
built into DW's
interface.
If not, try
http://blog.deconcept.com/swfobject/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"GUwebmast" <[email protected]> wrote in
message
news:[email protected]...
>I am having difficulty impanting a flash movie into my
homepage. You can
>see
> my problems at the link below:
>
>
http://barney.gonzaga.edu/~outdoors
>
> problems:
>
> 1. The drop down menus from my navigation bar fall
behind the flash
> movie.
> I've tried working with layers, but I can't figure out
how to get the
> flash
> movie to fall behind.
>
> 2. The flash movie contains interactive content, but you
have to click
> once
> on the movie itself before you can scroll over and see
the interactive
> parts.
>
> How can I fix these problems? Any help is much
appreciated.
>
>
> -
Adding link to Flash movie to HTML Help
I have to output the same help in both CHM and WebHelp, and I
have to include a Flash movie (SWF) in both versions. The only way
I've found to get a link to the Flash movie to work in the compiled
CHM is to add all the Flash files to the project as "baggage" and
then insert the link. Compiled CHM then includes the Flash files.
Is this the recommended approach? Is there an easier way?
Thanks,
melHi mel and welcome to our community
Indeed, adding to baggage will not hurt a thing and is
recommended. I recently published a second article dealing with
Flash content and RoboHelp that you may find useful. You may view
it by
clicking
here
Cheers... Rick -
Playing Flash Movie .swf files in iWeb
This is my second post. The first was about generally not being able to publish my website in iWeb in Argentina. Discovered it was due to the 12 kilobytes a second upload speed!
This query is about trying to get a flash movie with .swf extension to play on my homepage in iWeb
www.edgold.co.uk
Ive made a flash movie on my girlfriends PC. Why? Because she has Flash installed.
Ive transferred it to my Mac and it plays with a programme I downloaded called SWF & FLV Player - no problem there. For the love of trying I cant get it to play.
Ive gone to 'Insert' in iWeb, clicked on Choose and selected the swf file. Ive put it in position on my homepage and published it. Then Ive opened the HTML page thats found in iDisk using TextEdit so that I can change the html to get the flash plug in to play it.
I found all the details on website by 'Vertical Moon'
http://www.verticalmoon.com/tutorials/general/iweb/iweb.htm
Ive followed every step to the letter but where they seem to slip up is that the swf file isnt played by QuickTime. QuickTime on my Mac doesnt want to know! If it was played by QT then I'd have a chance to change the html from 'writeMovie1()' to writeflash1() but there is no sign of that code in the html file let alone having to change it in JavaScript.
At the end of the day Ive got an swf file (Flash) that I want to stiuck on the front page of my website to play over and over. Ive spent over 18 hours on this non-stop and its time I called it a day.
Please can someone tell me how to get iWeb to make friends with it!
Ive looked at lost of other sites about free Video code generating but none of them work!
Cheers
Ed
(Im in Patagonia - documentary photographer...sorting a good site helps me secure sponsorship and future exhibition venues. Your help is appreciated!Alancito
Thanks for replying and the great info on getting a QuickTime to play automatically.
Please can you continue to help as Im having no luck.
I will write below briefly whats happening.
I made a QuickTime in iPhoto as was suggested. I dropped it into iWebs 'Media' button under the 'Movies' tab, in a folder. I then dropped the QT file onto my web home page. It shows with a control bar at the bottom of its window for playing it.
I published it OK. The live website shows the QuickTime movie BUT you have to click play to start it. So I then I opened the html file in iDisk in TextEdit.
I tried and tried to find the html code for the QT Movie. I read and re-read the whole html file from top to bottom and found no sign of the QT Movie. Then I went to 'Edit' and 'Find' in TextEdit and typed Movie. It came up with a bit of code which says writeMovie1();
I guess that this means it is talking about THE movie in question but there is no more code to
do with 'true' or 'false'. If it said false Id change to true but writeMovie1(); just looks like this:
<script type="text/javascript"><!--
writeMovie1();
--></script>
stuck almost at the bottom of the html file page.
Please help...remember Im using iWeb 06
Thanks...I hope Im close to solving this now. All I want is to play the QT automatically.
Ed
Maybe you are looking for
-
Error while using Custom File Module..
Hi Experts, I am trying to conver Excel file to xml file using XI , but i am getting this error in communication channel monitoring, error : com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at co
-
How to Debug JSP in Websphere 3.5 ?? Urgent
Hi, can somebody help me debuuging JSP in Websphere Application server 3.5 .Remember I dont have Websphere Studio or any other tool.any help in this regard is appreciated. Thanks Jack
-
Shadow on transparent image?
I'm trying (and failing) to use the An shadow feature on a simple vector arrow I've created in AI. Importing in the An using a variety of setting, the shadow always appears around the arrow's document edges rather than around the more complex shape o
-
Can i uninstall and reinstall an app
Since there are sounds missing in my app, and I am aware i might not have cheked the box garage band I want to uninstall my logic pro app, is it possible ? Will apple let me reinstall without asking me to pay a second time Thank u
-
Using Firefox 12 with Imac intel (10.6.8) 2 out of 12 website Browsers open in text instead of images. I have checked Internet Plug-in's all O.K.