Embedding Flash in Templates
When Flash is inserted into my template the following code
appears:
<script type="text/javascript">
AC_FL_RunContent(
'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0',
'width','1024',
'height','120',
'src','../floating_balloons/floating_balloons',
'quality','high',
'pluginspage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash',
'movie','../floating_balloons/floating_balloons' );
//end AC code
</script>
This code is part of a template page which will be used to
generate others in my site. When I save the template page it asks
to update those pages which use this template and I allow this. But
the
movie and
src parameters don't get their paths updated correctly. They
continue to point to the locations which are correct for the
template but not the pages they support.
What should I do to correct this problem so that these paths
are
automatically updated in future?
This problem is evidently a known "bug" in DreamWeaver. You
can read more about it
here. Unfortunately this has
been around since version 8 and is still not fixed.
Similar Messages
-
Embedding Flash in HTML using Dreamweaver - stopped working
Hi all, not really sure what's going on, but I've done this many times before and it's worked fine.
I've previously embedding Flash videos I've created in Premiere and/or converted using other software. I simply drag and drop the Flash file where I want it and then adjust layout using code/design etc and that's it, job done. It's always played back fine.
Now for some reason I've tried doing it again this morning and can't figure it out. When I preview the file it doesn't even show the video, but instead displays all the icons for the controls at once in a grid where the video is meant to be. I've tried in IE, Firefox and Chrome, updated drivers, windows, Adobe, Flash etc all to no avail.
I've even tried doing it in a blank HTML page in case some of the template I might have been using was interfering for some strange reason; still no luck. What's even stranger is that a site I created last year is also now not displaying Flash (FLV) content locally, but is working fine on the server.
Does anyone have any ideas?
(CS5 Dw:V11 build 4993, Win7 64bit SP1)
I've pasted the code from the blank HTML page. It's probably something really simple that I've not noticed:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="360" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=biblical_small _flash/Welcome&autoPlay=false&autoRewind=false" />
<param name="swfversion" value="8,0,0,0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="640" height="360">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=biblical_small _flash/Welcome&autoPlay=false&autoRewind=false" />
<param name="swfversion" value="8,0,0,0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<script type="text/javascript">
swfobject.registerObject("FLVPlayer");
</script>
</body>
</html>Im' having a VERY similar problem with a few estra 'happy' moments. I have a blog (WP). On this simple and VERY basic blog (with almost NO plug ins) I have attempted to embed FLV videos with CS$ Dreamweaver code.
(This code is different in CS$ than it was in earlier versions as it now calls to the FLVPlayer_Progressive.swf as the player and uses Flashvars to pass the value of the FLV. PReviously, it was four simple lines of code that pointed directly to the SWF)
Here was my process - I encoded the files with AE and Media Encoder to end up with Transparent FLV's. These, I then setup in Dreamweaver so I could copy the embed code. On my first attempt, it worked PERFECTLY. I was testing one particular flv, got the code and inserted it into the blog page with some special CSS to position it.
The movie played perfectly.
Then things got weird.
I was excited I had a solution, so I went to put another video on another page. No luck. The second page was playing the video from the first page. As if I had copied the same code, but I hadn't. I copied code that was 'pointing' to the new file, but for whatever reason, the new file would not play.
I did EVERYTHING. I deleted all the pages and strted fresh. I deleted the FLV's and reuploaded them. I created different folders and put each flv in it and created index.html files for each (assuming possibly there was a hardcoded element in the FLVPlayer_Progressive.swf). I copied and pasted back and forth for nearly 6 hours.
Nothing. Each time I would copy and paste code into a blog page, it would simply pull the original video.
THEN....things got worse.
I pulled one video off of the server, and now NONE work. I can't get ANY videos to play. Worse, I still have the 'express install' link showing.
Ok, so here is what I am trying to figure out;
Does the NEW DW CS4 code somehow have control over the file that is called? Further, HOW can I get more than one FLV to play across a whole blog site.
Here is a link to one of the pages that HAS code but is calling NOTHING. And please know that I have left copies of the necessary files ALL over the server. So they are in the root, in the 'files' folder, in the talent folder and everywhere.
Is there a conflict flash hits when there are multiple FLV's being called? Is there a way to do this? Please help....
Thank you -
I bought a Flash 8 template for one of my customers. Getting help is like pulling teeth. I make changes by
modifying a .txt file and I observe by clicking index.html. The expressions in the .txt file look like:
&menu1=Home Page
&menu2=About Us
etc...
I don't recognize the language. I have no idea what I am working with. I have CS3 so I have Flash CS3.
I have FTPed what I have and the URL is www.danceations.com I feel like I am out of my element. Any help
would be appreciated.
JoepdThank you. No I know that the text file drives the Index.html and the
.swf is embedded in the index.html but I was wondering what type of script or
whatever is the .txt file made up from. For instance I changed the center
picture and I changed the song being played but I want to change more. For
example I wanted to do away with the open and close player. I removed the
top layer in the Flash.fla file and resaved and republished the .swf but
unfortunately it removed the song i wanted played. I am fairly competent but
this setup has me a bit stumped.
Joe Damore
In a message dated 11/9/2011 4:15:54 P.M. Eastern Standard Time,
[email protected] writes:
Re: Bought a Flash 8 Template
created by Ned Murphy (http://forums.adobe.com/people/Ned+Murphy) in
Flash Pro - General - View the full discussion
(http://forums.adobe.com/message/4016928#4016928) -
Two Questions Re: Embedding Flash and Tables Shortcut
.
Two Questions Re: Embedding Flash and Tables Shortcut
1) I work on a Mac and use Dreamweaver 8. Often I like to
embed Flash objects into a page and I do this by using
Dreamweaver's INSERT > MEDIA > FLASH. However, the SWF file
doesn't show up on the published web page and I’ve never had
this issue using previous versions, so I’m not sure what to
do? Here's what Dreamweaver generates when I use their INSERT
feature:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','550','height','180','src','flash/BANNER.HOME','quality','high','pluginspage','http:// www.macromedia.com/go/getflashplayer','movie','flash/BANNER.HOME'
); //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=7,0,19,0"
width="550" height="180">
<param name="movie" value="flash/BANNER.HOME.swf">
<param name="quality" value="high">
<embed src="flash/BANNER.HOME.swf" quality="high"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="550"
height="180"></embed>
It seems a bit weird that the SWF file is not showing
considering Flash & Dreamweaver are the most compatible apps,
no? I’m assuming if Dreamweaver is generating this code it
should work, no?
2) I’m getting an error when trying to use the Tables
short cut COMMAND+ OPTION+T that reads...
"While executing objectTag, the following JavaScript error(s)
occurred:
At line 26 of file “Macintosh
HD:Applications:Macromedia Dreamweaver 8:
Configuration:Objects:Common:Table.htm”:
TypeError: cmdDOM.parentWindo.createTableStr is not a
function"
What’s strange is it was working fine last week and for
the life of me I don’t know what could of happened to make
this shortcut get corrupted?
I’ve reinstalled the app multiple times and still I get
the same error :-(
Any help is greatly appreciated!
Thanks in advance!
.> It seems a bit weird that the SWF file is not showing
considering Flash &
> Dreamweaver are the most compatible apps, no? I?m
assuming if
> Dreamweaver is
> generating this code it should work, no?
It works. Most likely you have not uploaded the Scripts
folder referenced
in the head of the page.
> What?s strange is it was working fine last week and for
the life of me I
> don?t
> know what could of happened to make this shortcut get
corrupted?
Troubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Rupda" <[email protected]> wrote in message
news:[email protected]...
> .
>
>
Two Questions Re: Embedding Flash and Tables Shortcut
>
>
>
1) I work on a Mac and use Dreamweaver 8. Often I like to
embed
> Flash
> objects into a page and I do this by using Dreamweaver's
INSERT > MEDIA >
> FLASH. However, the SWF file doesn't show up on the
published web page
> and
> I?ve never had this issue using previous versions, so
I?m not sure what to
> do?
> Here's what Dreamweaver generates when I use their
INSERT feature:
>
>
<script type="text/javascript">
> AC_FL_RunContent(
> 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
>
version=7,0,19,0','width','550','height','180','src','flash/BANNER.HOME','qualit
> y','high','pluginspage','
http://www.macromedia.com/go/getflashplayer','movie','f
> lash/BANNER.HOME' ); //end AC code
> </script><noscript><object
> classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
> rsion=7,0,19,0" width="550" height="180">
> <param name="movie" value="flash/BANNER.HOME.swf">
> <param name="quality" value="high">
> <embed src="flash/BANNER.HOME.swf" quality="high"
> pluginspage="
http://www.macromedia.com/go/getflashplayer"
> type="application/x-shockwave-flash" width="550"
height="180"></embed>
>
>
> It seems a bit weird that the SWF file is not showing
considering Flash &
> Dreamweaver are the most compatible apps, no? I?m
assuming if
> Dreamweaver is
> generating this code it should work, no?
>
>
>
>
2) I?m getting an error when trying to use the Tables short
cut
> COMMAND+ OPTION+T that reads...
>
>
"While executing objectTag, the following JavaScript error(s)
occurred:
> At line 26 of file ?Macintosh HD:Applications:Macromedia
Dreamweaver 8:
> Configuration:Objects:Common:Table.htm?:
> TypeError: cmdDOM.parentWindo.createTableStr is not a
function"
>
>
> What?s strange is it was working fine last week and for
the life of me I
> don?t
> know what could of happened to make this shortcut get
corrupted?
>
> I?ve reinstalled the app multiple times and still I get
the same error
> :-(
>
>
>
> Any help is greatly appreciated!
>
>
> Thanks in advance!
>
> :-)
>
> .
> -
Embedded Flash videos don't work
Since updating Firefox to 36, embedded Flash videos don't work. HTML5 and Flash videos on YouTube work fine. I have Click-To-Play enabled (disabling it didn't help too), but instead of a grey area with the message I just see a black area where the video is supposed to be. Does anyone else have this problem?
If you have problems with current Shockwave Flash plugin versions then check this:
* see if there are updates for your graphics drive drivers
'''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
* disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
'''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
* disable hardware acceleration in the Flash plugin
'''https://forums.adobe.com/thread/891337'''
See also:
* '''http://kb.mozillazine.org/Flash#Troubleshooting''' -
Why can't I view embedded flash videos on my MacBook Pro?
I can view videos on Youtube and embedded videos on some sites, but when I try to view embedded Flash videos on sites like CNN.com and NBA.com, I just get a black rectangle and nothing loads. I've tried this on all browsers. BTW, I also cannot open up tinted ads that come up in Google searches. I have the latest version of Flash, and I've deleted browsing data and settings and have checked "Allow sites to save info." I've disabled pop-up window blocker. I have no ad blocking software. I've installed the latest Flip4Mac plugin. I have even set up a new user account and tried these sites with that account to see if the problem goes away (it didn't).
I have a 12 inch 2.4 GHz Intel Core 2 Duo Macbook Pro with OS 10.8.3 installed (though the problem started when I still had Snow Leopard). I have all the latest browsers and , as I've said above, the latest Flash. I've tried both Java 7 and Java 6. I should also point out that I can access these sites without problem with my office Macbook Pro, which is a 15 inch Core 5, loaded with the same software I have on my problem 12 inch notebook.
Any suggestions?You have JavaScript enabled in all the browsers, yes? Have you tried launch the browsers in Safe Mode?
serviceberry wrote:
I have a 12 inch 2.4 GHz Intel Core 2 Duo Macbook Pro with OS 10.8.3 installed (though the problem started when I still had Snow Leopard).
Not aware of a 12-inch Intel MBP. Anyway, could you possibly have an old version of flash player on your computer too. Look in the In the Internet Plug-ins folder to be sure you have only one flash player plugin. Path is HD/Library/Internet Plug-Ins/Flash Player.plugin
Also try searching your hard disk for flash.
Some other things to try are in this thread. -
Adobe Reader cannot play embedded Flash content
I don't know why, the Flash format was originally created by Macromedia, and then Adobe acquired the company, but the Adobe Reader cannot display Flash content.
My PDF file is here:
http://genifer.googlecode.com/files/agi-book.pdf
Scroll to page 37.
The original SWF file is here:
http://genifer.googlecode.com/files/unified-AND-OR.swf
which *can* be played on my Chrome browser.
But when I embedded the SWF file in the PDF, the result is unplayable.
A clue is: Adobe Reader asked me to download QuickTime to display media contents. So I downloaded QuickTime. But QuickTime nowadays has removed Flash support. Why did Adobe Reader ask me to download QuickTime to display Flash, when Adobe owns the Flash format?
I have also tried selecting other media players in the Reader's option box (eg, Windows Media, Windows built-in, Adobe Flash, etc) but none of them works.
I have also tried using Adobe Acrobat Professional 9. Same result.
It seems to be a problem with Adobe Reader. Any suggestions?
Thanks!Adobe Reader most certainly CAN play embedded Flash content, but only if you embed it properly.
You're seeing a Quicktime warning because you're embedding the SWF as "legacy media" content - this is no longer supported for authoring and is disabled by default for playback.You should use Rich Media Annotations instead (embedding using the multimedia/flash tool in Acrobat 9 or Acrobat X). -
Embeded Flash and Internet Explorer
When try and access a page I have created with internet
explorer composed of html with an embed .swf there is a white box
that one has to click to then access the normal functions of the
.swf. Is there any code to make it so this extra click to access
the embeded flash does not have to happen? It does not happen in
firefox or safari.Oh god .. here we go again .. Obviously someone has been
living under a rock
or on a deserted island for a few months :)
This is due to Microsoft IE changes required to avoid
infringing the
(stupid) EOLAS patent. It applies to all Active-X control
that can interact
with the user.
If you are viewing a web site, you cannot really do anything
to fix it,
except complain to the web master
Here is a link to find information on how to fix your website
to cope with
the Active-X active content changes:
http://www.justfuckinggoogleit.com?q=activecontent+IE+ActiveX+Change
Jeckyl
(If that does not redirect, just go to
http://activecontent.blogspot.com) -
HELP! Embedding Flash with Dreamweaver CS4
Hello i'm have issues with CS4 embedding Flash FLV's.
It won't show up when it's on the server but it's working
locally.
i've uploaded all the files in the scripts folder and the swf
skin files.
But it still won't work server-side.
I did not have this issue with dreamweaver CS3 as i've found
that Dreameaver CS4 seems to
change how the code of how the .FLV is embedded
any ideas??
or is anyone else having this issue?
thanks
Jordan
here's is my current test page link with a sample flv video:
http://www.lambethdesktop.com/flashtest/index.html
i've also attached the code of the html page it has been
embedded in.This script appears to be missing (or uploaded to the wrong
folder)
http://www.lambethdesktop.com/Scripts/swfobject_modified.js
"chilversj" <[email protected]> wrote in
message
news:[email protected]...
> Hello i'm have issues with CS4 embedding Flash FLV's.
> It won't show up when it's on the server but it's
working locally.
> i've uploaded all the files in the scripts folder and
the swf skin files.
> But it still won't work server-side.
> I did not have this issue with dreamweaver CS3 as i've
found that
> Dreameaver
> CS4 seems to
> change how the code of how the .FLV is embedded
>
> any ideas??
> or is anyone else having this issue?
> thanks
> Jordan
>
> here's is my current test page link with a sample flv
video:
>
http://www.lambethdesktop.com/flashtest/index.html
>
> i've also attached the code of the html page it has been
embedded in.
>
>
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
> "
http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
> <title>Untitled Document</title>
> <script src="Scripts/swfobject_modified.js"
> type="text/javascript"></script>
> </head>
>
> <body>
> <object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320"
> height="240" id="FLVPlayer">
> <param name="movie" value="FLVPlayer_Progressive.swf"
/>
> <param name="quality" value="high">
> <param name="wmode" value="opaque">
> <param name="scale" value="noscale">
> <param name="salign" value="lt">
> <param name="FlashVars"
>
value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=http:
>
//theharnessedge.com/fcys/FCYS08.28.08&autoPlay=true&autoRewind=false"
> />
> <param name="swfversion" value="8,0,0,0">
> <!-- This param tag prompts users with Flash Player
6.0 r65 and higher
> to
> download the latest version of Flash Player. Delete it
if you don?t want
> users
> to see the prompt. -->
> <param name="expressinstall"
value="Scripts/expressInstall.swf">
> <!-- Next object tag is for non-IE browsers. So hide
it from IE using
> IECC.
> -->
> <!--[if !IE]>-->
> <object type="application/x-shockwave-flash"
> data="FLVPlayer_Progressive.swf" width="320"
height="240">
> <!--<![endif]-->
> <param name="quality" value="high">
> <param name="wmode" value="opaque">
> <param name="scale" value="noscale">
> <param name="salign" value="lt">
> <param name="FlashVars"
>
value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=http:
>
//theharnessedge.com/fcys/FCYS08.28.08&autoPlay=true&autoRewind=false"
> />
> <param name="swfversion" value="8,0,0,0">
> <param name="expressinstall"
value="Scripts/expressInstall.swf">
> <!-- The browser displays the following alternative
content for users
> with
> Flash Player 6.0 and older. -->
> <div>
> <h4>Content on this page requires a newer version
of Adobe Flash
> Player.</h4>
> <p><a href="
http://www.adobe.com/go/getflashplayer"><img
> src="
http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
> alt="Get Adobe Flash player" /></a></p>
> </div>
> <!--[if !IE]>-->
> </object>
> <!--<![endif]-->
> </object>
> <script type="text/javascript">
> <!--
> swfobject.registerObject("FLVPlayer");
> //-->
> </script>
> </body>
> </html>
> -
Hi,
Pls help me to fix an issue with my playbook browser. The embedded flash player is not working... Unable to play the streaming videos... Browser is hanging many times. Restart done, cleared history etc.. Still doesn't work.
Any help would be appreciated.
Thanks.
Solved!
Go to Solution.Hello ak_kanan,
Welcome to the forums.
Try doing the following. In the browser swipe down from the top and choose Settings, now choose Content, here where it says Enable Flash change this to Off. Now try going to the website that was not working (it will not work again this is fine) Once on the page swipe down from the top again and this time enable the Flash setting. Now reload the page and test to see if you have the same issue.
Let us know how you make out.
-SR
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)! -
Get URL from embedded Flash AS3 movie
I have a thumbnail scroller app built with AS3 on my website
homepage. I have the class files but would like to know of any
quick workaround to make the embedded Flash movie clickable without
reworking the AS3 files. What I would like to do is if you click on
a thmbnail or anywhere in the movie, the "portfolio" page loads. I
asume this would use javascript? Any help is greatly appreciated.
Thank you.I notice that when I click on the thumbnails in the browser,
a "0" appears on top of each thumb. When i test in Flash preview
clicking on an image generates:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL
Not Found. -
Embedding Flash in Word 2010 - convert to PDF
Trying to create a PDF with embedded Flash video. Every time I create the PDF it replaces one of the other jpgs in the file with the flash embed and leave a large blank area where the Flash was embedded in the Word doc.....any suggestions?
Thanks - it’s a new feature in X - but maybe its not ready for prime time yet..
-
Embedded flash in PDF - Adobe links not working
Super annoyed here.
We have a bunch of PDF's used in public education by teachers all over which have flash embedded (yes some not so smart person created them)
Until 3 weeks ago Reader would send the user to the page: Acrobat Help | Flash Player needed | Acrobat, Reader XI
Which had two links in that would make Reader work with the embedded flash. (http modified so links will show)
hoop://download.macromedia.com/pub/flashplayer/current/support/install_flash_player_ax.exe
hoop://download.macromedia.com/pub/flashplayer/current/support/install_flash_player.exe
Now of course they just get 404 errors. We still get this msg with the latest version of reader and latest version of flash...
Now I can't find anything to get the embedded flash to play and I have Special Education staff screaming.
Not a happy camper.
ShooterYes, these links are old - I will try to get them updated.
The correct links are
Flash Player for ActiveX (Internet Explorer)
Flash Player Plug-in (All other browsers)
Flash Player for Mac OS X -
Flash Quiz Template HELP Please!
I created a quiz using the Flash Quiz Template and everything
works fine. What I'm wondering is how do I make it so that it gives
a different frame when the user fails and when the user passes.
Please help. I am desperate here.
Thank you very very much.hi,
I need some i am using quiz templates and my problem is when
i make the swf file and test the quiz it works good , but when i
press the enter key , the quiz doesn't work and repeat and go to
the first screen , i don't know if i have to block the enter key or
how i can resolve this ?
Thanks a lot -
Flash Gallery Template not working as expected
I am very new to Flash and barely know ActionScript. I have created a flash gallery using the in built template in Flash8, which works fine. The gallery forms part of my gallery page of a separate SWF flash site. I load the gallery using a loder component. Since the gallery navigation works by targeting the root folder, my site gets screwed up. The question is, how do i modify the ActionScript in the gallery.fla file (flash inbuilt template), so that once loaded into the main site, it doesnt target the root timeline, but targets its own timeline i.e. the gallery's own timeline. I hope i'm making sense?
Please see below for the code in the Flash Gallery. PS: I didnt write the code - its inbuilt into the template:
function updateFrame (inc) {
// send slides to new frame
newFrame = _level1._currentFrame + inc;
_level1.gotoAndStop(newFrame);
updateStatus();
if (_level1._currentFrame == 1) {
prevBtn.gotoAndStop(2);
} else {
prevBtn.gotoAndStop(1);
if (_level1._currentFrame == _level1._totalFrames) {
nextBtn.gotoAndStop(2);
} else {
nextBtn.gotoAndStop(1);
function updateStatus () {
_level1.statusField = _level1._currentFrame + " of " + _level1._totalFrames;
function autoplayInit () {
startTime = getTimer();
hideControls();
updateStatus();
function autoplay () {
if (autoplayStatus != 0) {
// get the current time and elapsed time
curTime = getTimer();
elapsedTime = curTime-startTime;
// update timer indicator
indicatorFrame = int(4/(delay/(elapsedTime/1000)));
indicator.gotoAndStop(indicatorFrame+1);
// if delay time if met, goto next photo
if (elapsedTime >= (delay*1000)) {
if (_level1._currentframe == _level1._totalframes) {
_level1.gotoAndStop(1);
} else {
_level1.nextFrame();
autoplayInit();
function hideControls () {
nextBtn.gotoAndStop(2);
prevBtn.gotoAndStop(2);
updateFrame();
autoplayStatus = 0;use this._lockroot=true in your template.
Maybe you are looking for
-
Accessing the documents in webcenter spaces thows me errors
Hi, When I try to access documents in webcenter spaces, i am getting the following error. AM i missing any settings in OCS? <Apr 5, 2011 8:34:11 PM PDT> <Error> <oracle.ucm.idccs> <UCM-CS-060003> <Event generated by user 'anonymous' at host 'CIS'.> <
-
Exit Plug not working in Portal
Hi experts, I have a web dynpro application (WDP A) which fire an exit plug to another web dynpro application (WDP B). It works fine in normal web dynpro runtime. The architecture of the application is shown [here|http://img232.imageshack.us/img232/7
-
Can i hook up my electric guitar to mac air
mac air doesn't have an audio input, but is there another way to connect my electric guitar to that i can record it in garage band
-
MacBook Pro won't turn on at allies guys,
Hey guys, i we installing windows through boot camp on my MacBook pro early 2013, I went away for a couple of minutes then noticed that my MacBook went black. i Tried turning it on, nothing happens. The caps lock button isnot changing colour, no har
-
CS5: Bug with Photoshop documents?
I frequently use layered Photoshop docs in Premiere, without much incident. I'll use them both flattened and as individual layers; if I need to make a change, I use Ctrl+E to open the image in PS, edit it, save, and it updates in the Premiere timelin