[CS3] SWFObject And Flash 9/AS3 Content
So I just created my first AS3 file today - and now it isn't working with SWFobject that we use on our website. Yay.
Here's a site you can see one of our current banners is working at the bottom, but the top one doesn't work. (Neither work in my IE6)
Check the code, and there's a link there too that will take you directly to the .swf file which WORKS! But embedding with SWFObject will not.
Here's the example page. HELP!
Any ideas why it isn't showing *anything*? I'm using FF3 and IE6 btw.
FlashKit > Flash Help > Flash General Help
Posted on: 07-16-2008, 04:50 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- Swfobject - Ie Blocks Content
- SWFObject: Centering Alt Content In Browser
- Content Placement - With Swfobject Fullpage
- [F8] Run Active Content(swfobject) Fix Problem? Unusual..
- Reading Variables From SWFOBJECT And Display Xml Content
- FLashObject/SWFObject VS Macromedia Active Content Update
- SWFObject Flash Version
- SwfObject And Flash Detection
- Flash Video And SWFObject
- Flash Video And SWFObject
- Flash CS3 Colorpicker, IE7 And SwfObject
- Embedding Flash : I'm What Am I Missing On Swfobject.js
- [F8] Flash SWF Not Appearing In Firefox When Using SWFObject
- Aligning Flash Vertically With Swfobject 2 ?
- Swfobject.js And Flash Vars Problem... HELP
- Full Screen Flash With Swfobject
- Centering SWFObject Flash File
- SWFObject, Center Flash In Browser
- Flash/Ajax/SWFObject Problem
- Full Browser Flash Using SwfObject
- SwfObject With Full Browser Flash
- Swfobject Doesn't Load The Flash Object
- Is SWFObject Messing Up My Flash/PHP 'contact Form'?
- NOOBTOWN: Boring DW Page, Wants To Put In Some Flash, SWFOBJECT?
- SWFOBJECT.JS And Loading An Image Behind Flash Navigation?
- Embedding A Flash Video Player/SWFobject
- Flash Embedded With SWFObject Doesn't Play
- Is SWFOBject Messing Up My Flash/PHP 'contact Form'?
- SWFObject To Embed Flash (problem In Firefox)
- Embedding Flash Into HTML - Satay Or SWFObject?
- Nutrox's Full Browser Flash With Swfobject...
- More SWFObject & Full-Browser Flash Problems
- Usinf SWFObject & Full Browser Flash
- Help Needed In Clearing The Content Of The XML File Content Displayed In The Flash
- Why Does Flash Re-load Content When Content Within Hidden/shown Area?
- Implementing Flash - ActiveX Fix Doesn't Work - SWFObject Neither 100%
- [F8] Rotating Pic Flash File, Use SWFObject To Not Reset To Fix Pic On New Page.
- SWFobject Does Not Work With The Latest Flash Player Update In IE
- SWFObject / Flash Detection Kit - Embedding SWFs From A Parent Folder
- [CS3] How To Delay Html Content Until After Flash Content
- Flash Multi Uploaders, Image Gallery, FLV MP3 Players, Swfobject, CF Blog, G11n, I18n
- Help With The SWFObject
- Swfobject
- SWFobject Help
- SWFObject
- SWFObject
- Help With SWFobject
- SWFObject Help
- SWFobject
Swfobject - Ie Blocks Content
Damn I hate ie. Here is my problem. I just launched a site, and i am using swfobject 1.5 . It worked great in firefox, ie, opera, and ns on my workstation. When I viewed it on my laptop, I only got my alternate content in ie. I just reinstalled windows on my laptop, and the settings for ie are default. It's the newest version of ie. Is anyone else having this problem?
SWFObject: Centering Alt Content In Browser
Hello:
I have been working on migrating from the old Flash embed code to SWFObject. I have centered the Flash content in the browser using CSS, and is positioned where it should be:
<style type="text/css">
<!--
DIV.flash
{
position:absolute;
left:50%;
top:50%;
width:800px;
height:600px;
margin-left:-400px;
margin-top:-300px;
background-color:#000000;
}
-->
</style>
The problem: Now the original alternate keyword-rich content for the search engines is not centered. The upper left-hand corner of the alt content is pinned to the center of the page. I need to be able to center the alt content as well as the Flash movie.
How do I do this? another <div> class? - kind of like the milov.nl example elsewhere in this forum?
http://www.milov.nl/code/css/verticalcenter.html
Content Placement - With Swfobject Fullpage
Hey there,
I'm developing a site that has very large images. The design calls for the page to be as large as possible. With all the screen resolutions I'm running into a a few problems. I want to use the swfobject fullpage approach. It's perfect for the "full-bleed" website that fills the browser window. I would like to use this but not to have the stage "float" in the middle. I want it (the stage area) to be aligned top left. But to have the full-bleed and the background image to fill out for as large as the window is opened.
anyone have any ideas on how I could accomplish this?
-hroth
[F8] Run Active Content(swfobject) Fix Problem? Unusual..
Hi,
I'm having a problem with active content fix that Adobe provides.
Everything works OK in IE when i apply that fix,
BUT,
when I want to use my flash movie with some PHP variables (in order to prevent header flash animation to repeat everytime when user browses to other pages. provided below)
there is a problem.
What I mean i can fix that IE problem with that AC extension but when it's implemented in the page, animation plays again whenever user browses the sub-sections.
Here is the string? that my coder friend has added at the end of .swf ->
some.swf?anm=<?php echo($anm); ?> (this prevents the embedded menu movie to repeat when browsing through sub-pages.
And this is the link that i have d/led the AC fix.
http://kb.adobe.com/selfservice/view...e252&sliceId=1
I hope i'm clear about the problem.
THANK YOU ALL,
Reading Variables From SWFOBJECT And Display Xml Content
I want to pass the state and city variable to the swf file from the swfobject and then display the content of the variable from the xml file.
SWFOBJECT
<script type="text/javascript">
YUE.onDOMReady(function() {var so = new SWFObject("assets/promoKiosk.swf","amenities","628","600","8","#FFF" );
so.addParam("wmode","transparent");
so.addVariable("state", "CA");
so.addVariable("city", "los angeles");
so.write("flashcontent");
});
</script>
Promo XML
<?xml version="1.0" encoding="utf-8"?>
<offers>
<state id="CA">
<city id="los angeles">
<offer>This is the offer</offer>
</city>
<city id="san fran">
<offer>This is the offer</offer>
</city>
</state>
</offers>
Actionscript 2.0:
function findNode(parentNode:XMLNode,id:String){
var nodeChildren:Array = parentNode.childNodes;
var _length = nodeChildren.length;
for (var i=0; i < _length;i++){
if(nodeChildren[i].attributes.id == id){
return nodeChildren[i];
}
}
}
function displayNodeContents(cityNode:XMLNode){
// Having issue displaying content
}
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.load("promo.xml");
xml.onLoad = function(success){
if(success){
var stateNode = findNode(this.firstChild,state);
var cityNode = findNode(stateNode,city);
displayNodeContents(cityNode);
}
}
SWFObject Flash Version
I'm a little confused on expressinstall concept on deconcept's swfobject. Do I need to run 2 seperate checks? 1st for a flash plugin at all, 2nd for a version high enough to run the expressinstall? It just seems like there would be a better way than to have to run 2 checks. If 2 checks is the only way to go, then I assume if they don't have a plug-in at all, they will have to leave my site and go to Adobe's and download/install the plugin? Thanks for any clarification you can give me!
SwfObject And Flash Detection
Hello,
Ive been using the swfOject to detect if the viewer has the correct version of flash installed. Im creating sites with Flash 8.
I thought I had it all working, however the following just happened.
I reinstalled windows, leaving me with no flash player.
I opened my site and was directed to the adobe flash download page... ]http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash
I then installed flash and returned to my website. www.kigwana.com
This time my site loaded, however not everything was working properly, and the right-click menu said I had flash player 7 installed.
I the returned the flash download page and it informed me I already had flash installed!
This highlights 2 problems.
1) My flash detection is not working properly on any of my sites. If the viewer has flash 7 installed is does not prompt them to upgrade. I dont know why.. my code reads:
var so = new SWFObject("mysite.swf", "mysite", "100%", "100%", "8", "#000000");
2) Why did the Adobe download site think my browser (IE6) had an up to date version of flash? ....and why did it only give me flash 7?
If any one could help me I would be very grateful.
Thanks in advance,
Julian
Flash Video And SWFObject
Hi Guys
I'm trying to insert a flash video file (FLV) that has the controls as a separate swf using SWFObject. The flash was created in Flash 8.
I'm not sure of the actual code I need to get this to work though.
The html file that should contain the flash is /Careers/index.html.
These files are in the /Careers/flash/ folder:
ClearOverPlaySeekMute.swf
complete_david_w_headshot_small_controls_over.swf
complete_david_w_headshot.flv
I have also tried inserting the Flash Video using Dreamweaver 8 (Insert -> Media), however, there were two problems in IE.
1. You still needed to activate the flash and
2. When playing the video, it wouldn't play the last 2 seconds. However, pausing and the playing again from that position does play the remainder.
I also preferred the DW 8 Clear Controls Skin over the Flash 8 one, so is it possible that I could attach this somehow to the FLV?
I'd really appreciate some help.
Thanks
Matt
Flash Video And SWFObject
Hi Guys
I'm trying to insert a flash video file (FLV) that has the controls as a separate swf using SWFObject. The flash was created in Flash 8.
I'm not sure of the actual code I need to get this to work though.
The html file that should contain the flash is /Careers/index.html.
These files are in the /Careers/flash/ folder:
ClearOverPlaySeekMute.swf
complete_david_w_headshot_small_controls_over.swf
complete_david_w_headshot.flv
I have also tried inserting the Flash Video using Dreamweaver 8 (Insert -> Media), however, there were three problems in IE.
You still needed to activate the flash
When playing the video, it wouldn't play the last 2 seconds. However, pausing and the playing again from that position does play the remainder.
My CSS menu went under the video.
I also preferred the DW 8 Clear Controls Skin over the Flash 8 one, so is it possible that I could attach this somehow to the FLV for use with SWFObject?
I'd really appreciate some help.
Thanks
Matt
Flash CS3 Colorpicker, IE7 And SwfObject
Has anyone had any problem first with the color picker in CS3?
I made a custom color picker by extending the color picker and I'm loading images based on the color selected. In IE7 when you access the page w/ the swf it loads. Then, when you come back in using different loaded data, it is sometimes blank.
I can't show the code per say, there are quite a few classes, xml and about 30 images, and it's for a client. But I'm trying to see if anyone has experienced this or can point me in any direction.
Thanks
Embedding Flash : I'm What Am I Missing On Swfobject.js
Hello, I'm making a website for a friend that we want to make a 'flash nav bar' for.
From past experiences I decided to make a quick and dirty nav bar to make sure that it would function. Please excuse the site as it is in it's early stage. The nav buttons work fine, the position/size are correct but I ran into that 'press space to activate' msg.
I went through the thread on the javascript swfobject.js and caused me to go cross-eyed.
Could someone look and lend me some advise. Again this is in early stages... also the tested .js is ONLY APPLIED TO THE 'ABOUT' page.
www.nickschale.us/joni
THANKS SO MUCH!
[F8] Flash SWF Not Appearing In Firefox When Using SWFObject
greetings all,
i'm creating a site, and using SWFObject (http://blog.deconcept.com/swfobject/) to display my swf and pass variables. It works fine in IE, but when i view it in FF, i get nothing - not even the standard text links...
my code is below, can anyone tell me what i'm doing wrong, or if there is a fix?
Code:
<div id="flashcontent">
<p><a href="index.html">Home</a> | <a href="accept.html">Accept Donations Online</a> | <a href="build.html">Build Newsletters</a> | <a href="clients.html">Clients</a> | <a href="news.html">News</a> | <a href="faqs.html">FAQs</a> | <a href="login.html">Login</a></p>
</div>
<script type="text/javascript">
var so = new SWFObject("pledgeLinks.swf", "soHeader", "684", "40", "9", "#000000");
so.addParam("quality", "high");
so.addParam("allowScriptAccess", "sameDomain");
so.addParam("wmode", "transparent");
so.addParam("salign", "ct");
so.useExpressInstall('expressinstall.swf');
so.addVariable("arrX", getQueryParamValue("arrX"));
so.addVariable("arrW", getQueryParamValue("arrW"));
so.write("flashcontent");
</script>
Aligning Flash Vertically With Swfobject 2 ?
how to center flash vertically using swfobject 2?
here is the html code, that right now centers the movie only horizontally. How to center it vertically?
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Christian FM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myId", "10.0.0", "expressInstall.swf");
</script>
</head>
<body>
<div style="text-align: center;">
<object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="816" height="616">
<param name="movie" value="christianfm.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="christianfm.swf" width="816" height="616">
<!--<![endif]-->
<div>
<h1>Alternative content</h1>
<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>
</div>
</body>
</html>
thanks for any help!
Swfobject.js And Flash Vars Problem... HELP
Having a problem using variables with swfobject.js ... what am I doing wrong? trying it two ways here:
HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>RisingStar</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<div id="flashcontent"><br><br><font color="#ffffff">This site requires Flash Player 7 or greater to function correctly.<br>Please download <a href="http://www.macromedia.com/go/getflash" target="_blank"><font color="#ffffff"><u>HERE</u></font></a></font>
</div>
<script type="text/javascript">
var so = new SWFObject("RisingStar.swf", "RisingStar", "450", "213", "8", "#000000");
so.write("flashcontent");
so.addVariable("xmlFile", "http://147.26.119.171:8081/magnoliaPublic/main2007/rising-stars.xml");
so.addParam("flashvars", "xmlFile=http://147.26.119.171:8081/magnoliaPublic/main2007/rising-stars.xml");
</script>
</script>
</body>
</html>
here's my AS:
Code:
_global.xmlFinishedLoading = false;
my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(sucess) {
if (sucess) {
trace ("XML loaded");
_global.xmlStuff = new XML(this);
//gotoAndPlay(2);
} else {
_root.debug.text = "couldn't load XML file";
}
};
//loading xml from html variable
_global.baseURL = "";
my_xml.load(_root.xmlFile);
Full Screen Flash With Swfobject
hello all, i have never been able to get this to work (most probably cuz it deals with css, and i suck at css - and i also hate it )
so i'd like to make a flash movie that fills the browser window and have elements placed onto the stage according to that size.
i have read a post in the tutorial explaining a bit of things, but it does not cover all.
- how do i make a div height 100% of the browser window in css for ff?
- should i make the fla a certain size?
- why does firefox render the Stage.width and Stage.height differently than ie (im using ie6)
any guidance would be appreciated
Centering SWFObject Flash File
Hi all.
I am using SWFObject to display my flash content, in this case a game.
My question is how do I centre this content in the middle of the page. it seems to always appear on the left hand side of the page. I'm using XHTML 1 strict and CSS. Thanks
Code:
<div id="games-flashcontent">
<strong>You need to upgrade your Flash Player to view this part of the site </strong>. Please <a href="http://www.adobe.com/go/getflashplayer" rel="external">Click here</a> to download the latest version of Flash player. It's Free!
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("uploads/games/game_name.swf", "game_name", "550", "400", "8", "#FFFFFF");
so.addParam("wmode", "transparent");
so.write("games-flashcontent");
// ]]>
</script>
SWFObject, Center Flash In Browser
SWFObject, Center flash in browser
Hi all,
I'm using the SWFObject 2.0 to embed my flash in the html page.
http://code.google.com/p/swfobject/w..._documentation
Everything works fine apart from centering the flash in the browser window. I don't want it full browser I just want it to be centered when the browser is resized
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = false;
var params = false;
var attributes = {};
attributes.styleclass = "mycontent";
attributes.name = "mycontent";
swfobject.embedSWF("site.swf", "myAlternativeContent", "1000", "670", "9.0.0", false, flashvars, params, attributes);
</script>
<style type="text/css">
body{
background-color:#cccccc;
margin:0;
padding:0;
}
#myAlternativeContent{
margin:0 auto;
text-align:center;
}
.mycontent{
margin:0 auto;
text-align:center;
}
</style>
</head>
<body>
<div id="myAlternativeContent">
<img src="Flash-missing.gif" width="389" height="286" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="38,198,338,241" href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">
</map>
</div>
</body>
</html>
Flash/Ajax/SWFObject Problem
I've been having this issue for several days now, and it should be clear that I'm only savvy enough to be dangerous, but I'm hoping someone here can help me, because I'm sooooo close to achieving the results that I want, and am achieving them in all browsers, except for the beloved IE. Here's my issue.
I have 3 things in play.
1. Flash navigation on the left of my page. Very simple, nothing fancy going on.
2. I'm using ajax. This script to be exact: http://www.dynamicdrive.com/dynamici...jaxcontent.htm
This I use for the main content area of the site, laid out similarly to how the demo is laid out on that page, only I have a Flash nav.
3. I'm using SWFObject.js to get around the IE "feature". The 'click to activate'.
On all browsers (except IE) it works fine. My Flash buttons in the nav tell the ajax to load the content into my main content area to the right. However, in IE, my navigation disappears, which seems to be a direct result of the script not pulling properly, and therefore not displaying the Flash navigation. In fact, I'm sure that's what the problem is, because if I just embed the Flash normally, it works, but then of course I have the 'click to activate' issue, which I don't want. I've narrowed it down, to the problem is that I'm not loading that Javascript correctly on my Flash button. My actionscript is incorrect. According to the Ajax document, I need to load that SWFObject.js script, as it will not carry over to the styling of my new content that appears on click.
How would I accomplish this? I need to write some actionscript that will load point to the page and also load that javascript, so that my navigation appears in IE. Here's the script I have on there now, that is not working:
on (release)
{
getURL("javascript:ajaxpage('../templates/calendar/calendar.php', 'content-area'); loadObjs('swfobject.js')");
}
It works in all browsers, except IE, because its not loading the swfobject script. The ajax part of that is fine. I need that script to be called, to get rid of the 'click to activate'. In anyway possible. Efficiency and ease would be best, but at this point, I'll take any solution.
I'm really hoping someone has the answer here as its the last issue I have to work out and its driving me nuts. I'm sure its my syntax. I'm pretty sure my approach is correct, but as you can tell, I'm no Flash/Actionscript guru.
Can anyone point me in the right direction? Thanks!
Full Browser Flash Using SwfObject
Here's a challenge -
Because SWFObject requires you to specify a width and height when embedding - how can you create a full browser Flash site (a la Lee's Tutorial)
I tried using "100%" for dimensions - but that doesn't seem to work...
SwfObject -> http://blog.deconcept.com/
SwfObject With Full Browser Flash
Anyone know how to make this work correctly?
I am uisng swfObject with the full browser Flash.
Here is the code
CSS
Code:
<style>
html {
height: 100%;
overflow: hidden;
}
body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
Javascript
Code:
<script></script>
</head>
<div>
<body>
<!--url's used in the movie-->
<text>
<saved>
<object>
<param>
<param><param><param><param><param><param><embed>
</object>
</div>
<script>
var so = new SWFObject("main.swf", "mymovie", "100%", "100%", "7", "#336699");
so.write("flashcontent");
</script>
The Full Browser Flash is working great, but it is extremely large and there is absolutly no margins when I use teh swfObject
Swfobject Doesn't Load The Flash Object
He doesn't have any message boards, so I'm hoping someone here can take a look at my javascript for the swfobject.js and see if they know why my flash isn't loading in the header. I did load it using normal code at the bottom, but that's just so you can see what should be loading at the top in the header.
Link: bgliving.com/index_new.php
Thanks!
Is SWFObject Messing Up My Flash/PHP 'contact Form'?
Hi all,
First post, and first project using Flash!
Here's the page I'm having problems with: www.owenbillcliffe.co.uk/contactme.html
It's an email contact page that uses a Flash contact form that I purchased from iStockphoto. The swf uses a PHP script that I keep in the same location on my server as the swf. The PHP sends the email to my specified address. In theory that should work fine, but in the interests of keeping things working across browsers, and maintaining my Validation, I've been calling the swf using SWFObject.
However, something is screwed up. When I click on 'Send' on the successfully embedded Flash form, nothing happens. Neither my hosting providers nor the author of the flash have been able to work out why - although they both agree that SWFObject may have something to do with it.
Please bear in mind that I'm REALLY new to Flash, although I'm by no means a technonewbie - tell me what I'm looking for and what to change and I can keep up, but someone posted the following on another forum I frequent and I have no idea what it means:
Quote:
Submitting a form relies on either a post or get method, maybe SWFObject needs specific configuration to do this. If it doesn't support either of those two methods you may need to use an interim piece of javascript or something to accept the form variables then call your sendmail.
Help much appreciated!
Owen
NOOBTOWN: Boring DW Page, Wants To Put In Some Flash, SWFOBJECT?
HI there, newby hee, first post and all...
i'm trying to build a site for a folio page of my artwork/music. really simple with not much online really, at least to start with.
I like the simpliscity of this chicks page as the base for what i want - http//:www.andreapolli.com - i'm sure all thats pretty simple, my DW and HTML chops are such that i should be able to bang something up like that no worries.
but i want to combine it with something like this:
http://www.thinner.cc/releases.php?r...d9a0b19b515645
So, if you were to like clik on my 'work' section or 'albums' or something, this kinda^^^ thing would come up in that content area.
Which as you can see is like a little flash animation representing like an album cover, like an animated album cover
So i've been trying to figure out how to put a Flash movie into Dreamweavr, so i can make these little gay album cover animations.
Its probably real easy hey, from the net searchin i been doin people say you need a thing called SWFobject, so i downloaded that, but honestly i don't know what to do with it or how to make it work. does anyone here?
Thats the main question really... how do i put flash **** in dreamweaver page like it is on that link...?
Apologies if this post is a repeat of whats already on the board.
Cheers in Advance
Matti, Aus
SWFOBJECT.JS And Loading An Image Behind Flash Navigation?
Hi all,
I am developing a site that uses flash navigation across many pages, each of which requires a separate static image behind.
Rather than creating 30 odd different flash files (and subsequently having to edit them all should the menu change) I know there is a way that you can use swfobject.js to embed the flash and then load a static JPG behind - this is how www.murraystreet.com.au is setup, as i have previously worked on this site doing maintenance (though I didn't build it to begin with).
The code they are using to embed the flash is:
Code:
<div id="flashcontent">
<p class="body_copy_justified">This site requires Macromedia Flash Player...</p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("images/msv_banner.swf", "msv", "815", "218", "6.0.29", "#545323", true);
so.addVariable("imageToLoad", "history.jpg"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
so.write("flashcontent");
// ]]>
</script>
I have included this in the site I am building - and the flash movie loads correctly but my image file does not.
Do I need to include any code in the flash file itself to achieve this result...?
Any help would be greatly appreciated!
Embedding A Flash Video Player/SWFobject
Hi,
I am trying to embed a flash video player swf in my page using the swfObject and I cannot get it to work. I have the video player file loading the flv video from an external folder on the server as well. Here is my code..
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var so = new SWFObject("video_makegravy.swf", "Gravy", "333", "333", "7", "#777");
so.write("Gravy");
//--><!]]>
</script>
what am I leaving out? Do I also need to tell it to load the video into the flash video player file, or will flash handle that once I am able to load the playing file through the SWFobject?
thanks,
Mike
Flash Embedded With SWFObject Doesn't Play
I've embedded my (first) Flash application into a HTML-page using SWFObject 1.5 (before the recent release of 2.0). However, when the page is first loaded, the application doesn't seem to play, but rather get stuck on the first frame (which among other things includes a gotoAndPlay(6) that apparently isn't executed).
If the html-page is reloaded, however, the application plays correctly. It still has to be clicked on with the mouse to register keyboard pushes, though, which is another (albeit smaller) problem.
Any ideas as to what could be causing this? Thanks in advance!
Link to the application
Control which icon is highlighted (the app needs to play for the highlight to appear, see above) by using the arrow keys on your keyboard, select an icon with space and go back with control.
EDIT: Sometimes, seemingly randomly, the application doesn't start on frame 1 (no highlighted icon, header "START") but on frame 2 (upper left icon highlighted). Very strange, considering frame 1 includes an unconditional gotoAndPlay(6). When behaving correctly, the app should start on frame 6 (middle icon highlighted).
Is SWFOBject Messing Up My Flash/PHP 'contact Form'?
Hi all,
First post, and first project using Flash!
Here's the page I'm having problems with...
It's an email contact page that uses a Flash contact form that I purchased from iStockphoto. The swf uses a PHP script that I keep in the same location on my server as the swf. The PHP sends the email to my specified address. In theory that should work fine, but in the interests of keeping things working across browsers, and maintaining my Validation, I've been calling the swf using SWFObject.
However, something is screwed up. When I click on 'Send' on the successfully embedded Flash form, nothing happens. Neither my hosting providers nor the author of the flash have been able to work out why - although they both agree that SWFObject may have something to do with it.
Please bear in mind that I'm REALLY new to Flash, although I'm by no means a technonewbie - tell me what I'm looking for and what to change and I can keep up, but someone posted the following on another forum I frequent and I have no idea what it means:
quote:Submitting a form relies on either a post or get method, maybe SWFObject needs specific configuration to do this. If it doesn't support either of those two methods you may need to use an interim piece of javascript or something to accept the form variables then call your sendmail.
Help much appreciated!
Owen
Edited: 11/27/2006 at 03:01:58 PM by owen-b
SWFObject To Embed Flash (problem In Firefox)
Does anyone have experience using SWFObject (http://blog.deconcept.com/swfobject/) to embed flash? I have recently tried this method and have found that my page no longer displays as it should.
My original working site is at: http://www.nzography.com/.
It uses the Flash 8 publishing method to detect flash version and embed the swf. You can see that the black square is in the top left corner of the screen, and the map is centered.
My attempt at using SWFObject resulted in this: http://www.nzography.com/v2/.
This works fine in IE, but in Firefox you'll see that the black square is no longer in the right place (if your screen is small you won't see it at all!) and the map is not centered.
In both examples the exact same SWF file is used. For both the "salign" is set to top left. And they are both set to noscale.
The only difference I can see is the embed method, and the SWFObject method is not working properly! Any ideas of what could be causing this? It looks to me like it must be one of three things:
1. The salign isn't working properly
2. The scale="noscale" is not working
3. The flash code is not properly reading stage width and height
Embedding Flash Into HTML - Satay Or SWFObject?
Hi,
Currently I’m using the Flash Satay method to embed Flash in my HTML code and I’m happy because it validates.
However now that SWFObject is the latest incarnation and also seems small and easy to set-up would it be wise to switch to this or stick with the Satay method?
Nutrox's Full Browser Flash With Swfobject...
Hi guys,
What I want is a centered flashsite with a seamless bg pattern. To do this, I could make my site following Nutrox's directions in this Full-Screen Centred Flash, but the problem is that I always use the swfobject to add my flashcontent to an htmlpage, because I want the functionality of flash player detection.
Now, the way I add my flashcontent is:
<script type="text/javascript">
var so = new SWFObject("plenss.swf", "movie", "100%", "100%", "8", "#FFFFFF", true);
so.addVariable("flashVarText", "this is passed in via FlashVars for example only");
so.addParam("scale", "noscale");
so.addParam("menu", "false");
so.write("flashcontent");
</script>
This also gives me a full browser flash site, but also gives me the functionalty of the swfobject.
The only problem is that I dont know how to add a seamless background pattern to this while the rest of the site stays centered.
Is there anyone who can tell me how to do this?
Thanks!
More SWFObject & Full-Browser Flash Problems
http://www.kevinsweeneydesign.com/index_test.php
Okay, I copied the code exactly from their page. My movie should be fullscreen, but the SWF is being pushed down and to the left (as is visible by the orange background).
Any ideas? =/
Help Needed In Clearing The Content Of The XML File Content Displayed In The Flash
I have developed a flash file with combo box which displayes all the XML files in the directory and after selecting a particular XML file the flash file reads the XML file and displayes the content of the XML file in flash in a fashion I have done. But, if I chose another XML file which is a blank XML file, still the flash file shows the previous file's content in the flash. How to clear that previous file's content?
If I chose someother XML file which is having some content then it shows correctly. But, if I chose some blank XML file, the flash file shows the previous content instead of showing it blank. pls help me how to clear the previous file contents?
Why Does Flash Re-load Content When Content Within Hidden/shown Area?
Hi all,
A purely academic question for someone about how Flash loads. I've written a simple Flash image scroller script, see: http://www.benjaminkeen.com/software/image_scroller/
On the page above, I separated the various content (installation instructions, demo, download file, etc) into separate pages, which get hidden/shown via JavaScript. Very straightforward.
My question is: why, when you go from the "Overview" to "A few examples" sections (both of which have a demonstration scroller), does the flash get "re-drawn" each time? I don't understand - I thought that it would simply get loaded the first time the browser calls it - not every time the content becomes display:blocked through javascript...?
I guess my follow up question is: can this be prevented?
Implementing Flash - ActiveX Fix Doesn't Work - SWFObject Neither 100%
Dear folks,
I'm slowly loosing it over here.. So I really hope someone out there takes the time to read my post and gives me the solution I'm desperately seeking for weeks now...
I'm having trouble getting ANY of the flash implement scripts available (flash-code of flash 8 itself incl. ActiveXfix., SWFObject, old method, etc.) to work on EVERY WINXP - IE combination (should be quite simple one would guess)..
Look, this is the problem I can't solve, slices into three sub problems:
1) The official Flash-version-testing page of Adobe shows an animation with the old flash implement code (object... etc.) This is strange enough when you think of the fact that Adobe should know by now that many folks with the IE update get a gray border around the flash object and first have to click it to activate it... So, the old method is definitely no option.. See for yourself at: http://www.adobe.com/cfusion/knowled...fm?id=tn_15507 move your mouse over the animation and voila, a grey border - if you have an updated IE version and use Windows XP...
2) Next to this old method, there is the NEW method which comes along with the Flash Detection Kit 2006 and which SHOULD (according to Adobe) work perfectly in collaboration with the new Flash ActiveX IE fix which enables Flash 8 to deploy a code in the form of JavaScript along with the SWF file... Well guess what, on some systems this works, but on my it doesn't and the grey box is still displayed around the movie.. Damn why is Adobe doing this to me ???
3) Also, there is SWFOBject, used by Adobe (???) on this link: http://www.adobe.com/nl/events/adobe.../adobelive.htm .... Most people around (by people I mean Flash guru's) swear to me this is the best choice.. However, on 1 out of 5 tested computers (again IE + WinXp) you get just the 'alternate content' lines, NOT THE ACTUAL MOVIE .. While it works perfectly on most pc's, it still isn't cross-browser/system compatible for 100%... This is annoying, since the pc it doesn't work on, is my BOSS's pc ! So I really really want to get a method working on EVERY SYSTEM just like the good old days (like 3 months ago....)
Please, does any one even know or understand what the hell I'm talking about ?? We are testing this for over a week now but we can't find a working solution which works for 100%... Or at least one which works on every WINXP/IE combination... Please.. Any help is much appreciated...
Kind regards,
Roel
[F8] Rotating Pic Flash File, Use SWFObject To Not Reset To Fix Pic On New Page.
Greetings all.
I have a website that has a Flash swf on it where i just have rotating pics. The same swf is on every page, but when you click on a new page, it always goes back to the first pic...
i've used SWFObject before to control what frame to go to in a flash file, but i don't know how to have the swf tell the webpage what pic # it is on, so that when the user goes to a new page, the proper pic appears...
Does that make sense? how would i do that?
SWFObject / Flash Detection Kit - Embedding SWFs From A Parent Folder
Hey,
I'm having issues with embedding SWFs from a parent folder e.g. trying to load example.swf:
FDK:
Code:
"src", "../example"
SWFObject
Code:
var so = new SWFObject("../example.swf", ...)
I've tried using absolute paths on my web server but no luck.
Also, I can't get deeplinking / FlashVars to work in SWFObject e.g.:
Code:
so.addVariable("link", "foo")
Any help appreciated!
[CS3] How To Delay Html Content Until After Flash Content
I am working on a site where I want to have a few flash elements on the page ( i.e the navigation and the logo. ) to animate in before the the a block of text ( in a div) will be shown. The flash elements will stay on screen and be used after loading as the nav with interaction.
I don't want it to be a true flash intro before the site ( I already have one actually). I would rather it be a sequence that becomes visible as the page loads.
As I am typing I am wondering if this needs to be done in javascript or if it can be done via the embed parameters.
Any suggestions would be greatly appreciated
Flash Multi Uploaders, Image Gallery, FLV MP3 Players, Swfobject, CF Blog, G11n, I18n
here are some source files and scripts I have been collecting and using for long time :
geoLocator3 geo locator coldfusion (zip archive) 198.98kb
http://fliiby.com/file/7861/x7iv712v88.html
cfform fileUpload coldfusion fileupload (zip archive) 6.41kb
http://fliiby.com/file/7862/uodmu3t1sm.html
BOOMBox Setup Boombox Online Radio Player 1 (zip archive) 6487.71kb
http://fliiby.com/file/7863/n34m82fzdx.html
New Blog php (zip archive) 55.15kb
http://fliiby.com/file/7865/f28to3vh3n.html
flash commander (zip archive) 645.3kb
http://fliiby.com/file/7866/4qq8dx9sxm.html
jerown wing media flv mp3 flash player jw_media_player (zip archive) 797.38kb
http://fliiby.com/file/7867/qpxu156cbb.html
Flashincrypt swf protection tool amayeta flash encryption swf encrypt (zip archive) 647.17kb
http://fliiby.com/file/7868/wrd5k27fi0.html
Google Search 100 GoogleSearch100 (zip archive) 1809.56kb
http://fliiby.com/file/7869/4mzttcr36o.html
amazon s3 php utility class (zip archive) 3.84kb
http://fliiby.com/file/7870/ovempfqvs2.html
amazon s3 php utility example (zip archive) 11.5kb
http://fliiby.com/file/7871/7otjsdlzs4.html
amazon s3 php demo example (zip archive) 3.7kb
http://fliiby.com/file/7872/9wq9pklgmq.html
gpac-0.4.4 (zip archive) 5277.05kb
http://fliiby.com/file/7873/6amjxczn8r.html
vorbis-tools-1.1.1 (zip archive) 1099.57kb
http://fliiby.com/file/7874/oefhx9vj8o.html
libvorbis-1.1.2 (zip archive) 1452.04kb
http://fliiby.com/file/7875/mgkdp0xaqj.html
xvidcore-1.1.2 (zip archive) 872.77kb
http://fliiby.com/file/7876/2wunfr1fe8.html
Mango Blog coldfusion (zip archive) 2047.26kb
http://fliiby.com/file/7877/74llljug32.html
swfobject swf object (zip archive) 62.75kb
http://fliiby.com/file/7878/6pip38zzip.html
FLV Player DEMO flash player source code examle fla (zip archive) 29.11kb
http://fliiby.com/file/7879/jkld8268hk.html
fflam player flamplayer_v15 flash mp3 player source code examle fla (zip archive) 274.12kb
http://fliiby.com/file/7880/fnn100k4qm.html
flash mp3 player source code examle fla (zip archive) 504.58kb
http://fliiby.com/file/7881/6vbnlevkde.html
upload (zip archive) 5.52kb
http://fliiby.com/file/7882/axywa7xgde.html
Flash Advanced Image Gallery example source code AdvancedImageGallery_v 1.2.0_DEMO (zip archive) 6560.79kb
http://fliiby.com/file/7883/1t3otbxeeo.html
FileReference (zip archive) 710.39kb
http://fliiby.com/file/7884/1jjc86r4p6.html
SWF flash upload source code examle fla SWFUpload-src (zip archive) 13.37kb
http://fliiby.com/file/7885/hz3fvdlttz.html
or....
http://fliiby.com/folders/508/free_s...downloads.html
poz
Help With The SWFObject
Hi there,
Please, can someone help me, how to use the SWFObject for my HTML page that contains 2 flash objects and one media player object .wmv. The standard procedure below work just fine for one flash object, but when i try to use it for multiple objects in one web page, it doesn't work! May be i am missing something or it is just a more complicated code! Please, help! Thanks in advance!
<script type="text/javascript" src="swfobject.js"></script> /in the head of the html page/ and:
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "500", "100", "6", "#003399");
so.addVariable("variable", "varvalue");
so.write("flashcontent");
</script>
Swfobject
I am using the swfobject with actionscript to automatically update users who have old versions of flash. The problem is, when the user's flash player has been updated to flash 9, the page closes and opens in a new window. Does any one know how i can make it refresh the existing window?
SWFobject Help
Okay, I downloaded the SWFobject but I have no idea how to use it lol. I tried to look for help in any readme's as well as the URL listed in the sticky, but came to no conclusion.
Now that I have the files, how do I use it so my site's visitors don't see the stupid box around my flash movies?
Thanks!
SWFObject
Hey Guys,
I'm no expert at all when it comes to swfobject. I've noticed there's a bug (which many others have experienced) when updating the Flash player and using IE7. I updated the Flash Player yesterday, then went to my site (where I host a lot of swfs), and all the flash files didn't show, prompting me to install flash, but I already have it. Anyway, I'm aware that it's a bug that only occurs in IE7 from what I've read.
So I've been trying to get a workaround for this. I went to numerous sites after the update and noticed many big sites prompted me to install flash. However, one thing I discovered, is I went to youtube and their video player showed up perfectly! I checked out their swfobject code and saw the following:
<script type="text/javascript">
// <![CDATA[
writeMoviePlayer("playerDiv");
var to = new SWFObject("/version-check.swf", "checker", "0", "0", "0", "#FFFFFF");
to.write("checkerDiv");
// ]]>
</script>
Notice the "0" for flash version detection? So it looks like they don't even bother detecting people Flash versions?
Anyway, I tried that code for the flash files on my site, and it worked perfectly. All the flash files showed up in IE7 even after that buggy flash player update.
So I guess my question is, is it safe to do it the way youtube does, to where it doesn't bother checking people's flash version? Or would my flash files look all weird to someone who has an old version of flash player?
I'm working on a very large site that will be launching soon, so I want to make sure I'm implementing the best possible code for users.
Thanks for any advice!!
Sean
SWFObject
Hi,
I'm trying to use the expressinstall feature from SWFObject but without success.
Basically under any browser, when the flash player plug-in is not installed it displays a puzzle pieceallowing you to download the flash player plug-in.
as i use SWFObject, the expressinstall should allow to do it, but there is not so much help about it and i'm not able to make it work.
so how can i setup it to allow web users to download flash player if the browser does not have it (as plug in) ?
thanks a lot,
A.
Help With SWFobject
Hello, I'm somewhat new with flash. I'm using SWFobject to insert my flash movie, but I can't figure out how to get it to read dynamic text from:
so.addVariable("customtext", "Lets get this party started!");
I tried inserting a symbol, but it would not let me add a variable name to it. A little help please? Describing what to do step by step would be real helpful.
SWFObject Help
Hello,
I am more of a designer than a programmer so be nice. I am trying like everyone else to get rid of the dreaded grey box that comes up around a flash animation in internet explorer , and have found how to use the swfobject.js and link it to my html page that contains the flash animation.
I design the animation in flash and then put it into dreamweaver. The problem I am having is that when you specify the parameters in the javascript used to embed the flash file before you delete the flash file code, you can usually get all the movie name, width, height id bgcolor etc, but my original flash file code is missing the id, the version of flash and the bgcolor.
Below is my original flash file code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
SWFobject
I tried using the SWFobject and it works fine except one problem, my music player which automatically plays on startup plays two songs at once, and when I stop the music player the other song continues to play in the background.
The player Dynamically loads the music from and xml file
Any advice?
|