Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Help With "Blogger" Embed



Hi...first post here and appropriate (I hope)

I attempted to embed the Stones "trailer" video in my "Blogspot" blog using the supplied "embed code" from their website. The blog composer initially rejected the provided code as it lacked a closing tag for "embed" (which I added successfully as highlighted below)...


Quote:




<object id="http://www.shinealightmovie.com/shine_videoplayer.swf" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=" height="333" width="540" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param name="_cx" value="14288"><param name="_cy" value="8811"><param name="FlashVars" value=""><param name="Movie" value="http://www.shinealightmovie.com/shine_videoplayer.swf"><param name="Src" value="http://www.shinealightmovie.com/shine_videoplayer.swf"><param name="WMode" value="Window"><param name="Play" value="-1"><param name="Loop" value="-1"><param name="Quality" value="High"><param name="SAlign" value=""><param name="Menu" value="-1"><param name="Base" value=""><param name="AllowScriptAccess" value="sameDomain"><param name="Scale" value="ShowAll"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value="000000"><param name="SWRemote" value=""><param name="MovieData" value=""><param name="SeamlessTabbing" value="1"><param name="Profile" value="0"><param name="ProfileAddress" value=""><param name="ProfilePort" value="0"><param name="AllowNetworking" value="all"><param name="AllowFullScreen" value="false"><embed src="'http://www.shinealightmovie.com/shine_videoplayer.swf'" quality="'high'" bgcolor="'#000000'" width="'540'" height="'333'" name="'http://www.shinealightmovie.com/shine_videoplayer.swf'" align="'middle'" allowscriptaccess="'sameDomain'" type="'application/x-shockwave-flash'" pluginspage="'http://www.macromedia.com/go/getflashplayer'"></embed></object>






The "movie" now loads in my blog at the re-size I specified in the code, but it autostarts (not sure if that's the correct term) and the video controls at the bottom do not appear.

Can anyone suggest a modification to the code that would prevent autostart of the video and successfully display the video controls?

Thanks in advance



FlashKit > Flash Help > Flash Newbies
Posted on: 12-19-2007, 01:09 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Can You Embed A Blog Like Blogger?
has anyone taken their blog account from something like Blogger, and embeded it into their flash site? If you have can you help me with how to do it?

CMS Blogger
What blogger or CMS system would you recommend using that will integrate well with flash? Or at least output xml files that a flash site can use to update the content. Not ony images but many file types.

Thanks

Flash And Blogger
I just found out about blogger and want to incorporate my blogger file into my flash file with a moviclip with loadmovie. The blogger file is html (i tried to have it set up in .swf but it didn't work...) I can't figure out how to load an html file into my movieclip...(i did ask earlier about html into a movieclip.... but in this situation I have no choice in the file being html...i think...). From my earlier posting it sounds like I am out of luck with loading an html file into a movie clip. So, if anyone knows about blogger and flash I would soooo appreciate any insight. Thanks! confused

Flash And Blogger
Does anyone know if there is a simple way to get Blogger entries to show up in a swf? If not, is there some easy way to have a client post updates on their site on a daily basis?
Any help would be great.

Thanks!

::: XML Blogger In Flash :::
currently im loading in a text file for my news section on www.popcop.co.uk/home.htm

but ive been having problems with spacing ect ect...

anyway... i want to use XML for it now but I dont really have a clue wher to begin

can someone point me in the right direction

Thanx

Flash With Blogger
Hi, i'm pretty new to flash and trying to use flash on my blog.
I want to have a flash navigation which opens up new windows.

I have created the flash file with relevant buttons and put the code:

on (press) {
getURL("javascript:NewWindow=window.open('tcPopup. html','newWin','width=500,height=600,left=200,top= 100,toolbar=No,location=No,scrollbars=Yes,status=N o,resizable=Yes,fullscreen=No'); NewWindow.focus(); void(0);", "_blank");
}

onto each button.

The flash file and the html file (tcPopup.html) are uploaded in the same place and all works ok online but when i put the flash file into blogger the flash file is ok but the popup does not work

any ideas?!
thanks, emma

Blogger.com XML Tag Problems
I'm building a site for a friend and ideally he will have a blogger.com account from which an XML file will be loaded to display on a flash page.

I am testing with my own xml file:
http://raydowe.blogspot.com/atom.xml

the file loads into flash, but the opening <feed> is giving me problems. It reads:

<feed xmlns="http://www.w3.org/2005/Atom" xmlnspenSearch="http://a9.com/-/spec/opensearchrss/1.0/">

Through playing around in dreamweaver and creating some test.xml files i have found that the problem is:

xmlns="http://www.w3.org/2005/Atom"

After this line is removed everything work. However since the xml is being generated by blogger.com there is no way for me to change the source file.

An idea for a solution was converting the entire file to a string, then stripping and replacing the root tag, and putting it into a new xml object, but I'm hoping someone has a better solution and/or can tell my why this problem is occuring.

Thanks to anyone who even read this far. The code for my .fla follows.
---------------------------------------------------------------------


ActionScript Code:
//////////////////////////
//    USER VARIABLES    //
//////////////////////////

// path to xml blog
var xmlRequest:URLRequest = new URLRequest("test.xml");



//////////////////////////
//    VARIABLES  //
//////////////////////////
var feedXML:XML = new XML;
var xmlLoader:URLLoader = new URLLoader();
feedXML.ignoreWhitespace = true;

xmlLoader.addEventListener(Event.COMPLETE, whenLoadComplete);
xmlLoader.load( xmlRequest );

var feedDates_array:Array = new Array();
var feedTitles_array:Array = new Array();
var feedContent_array:Array = new Array();



//////////////////////////
//      XML   //
//////////////////////////
function whenLoadComplete(passedEvent:Event):void {
   
    feedXML = new XML(passedEvent.target.data);
   
    trace( feedXML );
    trace("");

        // if it works, following trace will show values
    trace( feedXML.entry.title.text() );
   
    //trace( feedXML.entry.title.text() );
}

Flash Blogger
is there such a thing as creating a blogger in flash?
i am just curious.

Flash Mx Blogger
has anyone tried making a blogger, of newsmanager with flashMX & PHP/MySQL?

I just can't find anything accept for the FLA download here, but that uses a TXT file and CGI.

Cheers,
Giraffe

Using Blogger For News.
I want to use Blogger for my news on my site except I'm not too sure on how to do this. If someone could either tell me here in the forum, or give me a link to an in depth tutorial on how to do this, I'd be very gratefull.

Thanks in advance.

Flash Based CMS Or Blogger?
Hi all
I am wondering as I have not been able to find a flash based content managment system or a blogger if there actually is one(preferably open source)?

dj

[F8] Flash Blogger Feed?
so i have a rss flash reader and it`s working and all.
but i need to make one for blogger. it generates atom.xml file.
how can I do this? where to start?

thank you.

How Do I Load A Swf In The Blogger Where My Blog Name Is?
Hi All,

How do i load swf ina blogger blog?? I can load the swf in a domain spaci i already have. Then how do i embed it in my blog??

I want the code so that I can paste it creating a new blog component, where i can enter JS or HTML.

thanks in advance.

regards
roshan

Flash Media 3 And Blogger
I have just downloaded the free version of Flash Media 3. I have a blogger blog, and want to use FM3 to stream flash files to my blog. Is this possible? I would appreciate any links that would provide a step by step approach.

Thanks

Tom

Tilelist Won't Work In Blogger
I realize there's no guarantee anything will work in Blogger, but I'm used to including code for swfs in Blogger as shown below but it won't display the images, even though they are on the server and it all works fine in an html page. Is this a sandbox issue? In my flash file I just use relative urls since they're all same level.








Attach Code

<embed src="http://www.funonmars.com/bosstile1.swf" type="application/x-shockwave-flash" height="370" width="525"></embed>

An Easing Version Of The FBS Blogger?
http://www.zexo.u13.biz/

Any chance of getting an easing version of this very cool blogger?

thanks

GetURL Doesn't With Blogger O.o
Hey,

Referring to this link.
http://weblablogs.blogspot.com/


The Flash Button is coded with on (release) { //Goto Webpage Behavior getURL("http://www.yahoo.com","_self"); //End Behavior }This button suppose to link to yahoo.com in the same window. And It work well at here
However, it's not working when I embed this flash into blogger with this code,<object width="450" height="400">
<param name="movie" value="btn1.swf">
<embed src="http://nextags.net/mingzher/btn1.swf" width="450" height="400">
</embed>
</object> Anyone can kindly help is greatly appreciated. Thank you.

Blogger Flash Feed?
so i have a rss flash reader and it`s working and all.
but i need to make one for blogger. it generates atom.xml file.
how can I do this? where to start?

thank you.

Import HTML Or TXT, (blogger?) Into Flash?
I am currently working on a personal website/portfolio and I want to include a journal in flash. I wanted to possibly generate this file with a blogger of some sort. I am not interested in a way of updating the .TXT or .HTML file, but more interested if it is possible to import them into Flash... if anyone could give me some direction in this I would appreciate it.

Creating Flash Blogskins For Blogger
Hi everyone,

I have several queries. I notice that Blogger(not sure about other blog hosting) uses some kind of tag to retrieve the user's information like there blog entries, date of entries,etc.

This is one example of the html:


HTML Code:
<Blogger>
<div align="center" class="Specialh1"><$BlogItemTitle$><br>
</div>
<blogdateheader> <div align="center" class="date"><$BlogDateHeaderDate$></div></blogdateheader>
<div align="center" class="normalBody"><$BlogItemBody$></div>
<div align="center"><br>
<span class="backquote"> My Backquote </span><br>
</div>
<div align="center" class="time">Penned Down @ <$BlogItemDateTime$> </div><br>
</Blogger>
<div class="welcomeh1"></div>
</div>
<div style="display:none; overflow=none"; id="posts">

<div class="head"><Blogger><BlogDateHeader>
<div class="h1"><br>
<$BlogItemTitle$><br>
</div>
<div class="date"><$BlogDateHeaderDate$></div><br>
</BlogDateHeader>
<div class="normal"><$BlogItemBody$></div>
<br>
<BlogDateHeader>
<div class="time">Time freezed at <$BlogItemDateTime$></div>
</BlogDateHeader>
</Blogger>
I was wondering if I am able to retrieve the information into flash text format. If this is possible, I am able to create Flash blog in Blogger.

Regards,
Glenn

Blogger Rss: Search & Replace Atom XML
Hello,

I recently have created a FLA that takes RSS/XML and feeds it into items on the stage. I have not had any problems with it with the exception of Blogger feeds that use Atom.

I found this post in a search:
http://www.actionscript.org/forums/s...ht=blogger+RSS

It seems to solve my problem but I have no experience with dynamic search and replace.

The poster uses Foo text to show the search and replace but there are some parts to this solution I do not understand and was hoping someone could help me apply it to what I'm doing.

Here is my XML/Atom Parser:

ActionScript Code:
//*
// Blogger_RSS_1.0
// Runtime
//*

// Vars
var space = 10;
var loader:URLLoader = new URLLoader();
var xml:XML;

// add event listeners
loader.addEventListener(Event.COMPLETE, onLoaded);
loader.addEventListener(Event.CHANGE, itemChange);


// functions
function onLoaded(evt:Event):void {
    xml = new XML(evt.target.data);   //make a xml var to hold the XML data
    //trace(xml);
    var itemList:XMLList = xml.entry;  // make xml info an array.
    trace(itemList);

    for (var i:uint = 0; i < itemList.length(); i++) {
        var b:Item = new Item(); // item is a class derived from the library it has two text fields and an image loader
        b.title_txt.text = itemList.title.text()[i]; // text box inside item
        b.summary_txt.text = itemList.summary.text()[i]; // text box inside item
        //b.thumbHolder.load(new URLRequest(xml.entry.thumbnail()[i])); // load thumbnail
        b.x = 10;
        b.y = space + i * b.height;
        addChild(b)
    }
   
}

function itemChange(evt:Event):void {
    //trace(evt.target.data);
    //trace(xml);
}

loader.load(new URLRequest("atom.xml"));

Here is the feed from Blogger after its been converted to atom:

Code:
<feed gd:etag="W/"DkQERH48fCp7ImA9WxRVE0g."" xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:gd="http://schemas.google.com/g/2005">
<id>tag:blogger.com,1999:blog-7557753913702400440</id>
<updated>2008-11-10T13:58:25.074-08:00</updated>
<title>Blogger Title</title>
<subtitle type="html">Recent Posts from a ranting lunatic.</subtitle>
<link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://someblog.blogspot.com/feeds/posts/default"/>
<link rel="self" type="application/atom+xml" href="http://someblog.blogspot.com/feeds/posts/default"/>
<link rel="alternate" type="text/html" href="http://someblog.blogspot.com/"/>
<author>
<name>Name</name>
<uri>http://www.blogger.com/profile/16209487622766556464</uri>
<email>noreply@blogger.com</email>
</author>
<generator version="7.00" uri="http://www.blogger.com">Blogger</generator>
<openSearch:totalResults>15</openSearch:totalResults>
<openSearch:startIndex>1</openSearch:startIndex>
<openSearch:itemsPerPage>25</openSearch:itemsPerPage>
<entry gd:etag="W/"DkQERH4yfCp7ImA9WxRVE0g."">
<id>tag:blogger.com,1999:blog-7557753913702400440.post-1518283548233889786</id>
<published>2008-11-10T13:32:00.000-08:00</published>
<updated>2008-11-10T13:58:25.094-08:00</updated>
<app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-10T13:58:25.094-08:00</app:edited>
<title>Title of Post</title>
<summary>Summary of Post</summary>
<link rel="replies" type="application/atom+xml" href="http://someblog.blogspot.com/feeds/1518283548233889786/comments/default" title="Post Comments"/>
<link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7557753913702400440&postID=1518283548233889786" title="0 Comments"/>
<link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7557753913702400440/posts/default/1518283548233889786?v=2"/>
<link rel="self" type="application/atom+xml" href="http://someblog.blogspot.com/feeds/posts/default/1518283548233889786"/>
<link rel="alternate" type="text/html" href="http://someblog.blogspot.com/2008/11/vince-young.html" title="Vince Young"/>
<author>
<name>Some Auther</name>
<uri>http://www.blogger.com/profile/1620948762276645685</uri>
<email>noreply@blogger.com</email>
</author>
<media:thumbnail url="http://4.bp.blogspot.com/_Rq31DXJ6WyE/SRioxZBkA_I/AAAAAAAABCk/3_jKiaM_gOU/s72-c/Vince+Young+72.jpg" height="72" width="72" xmlns:media="http://search.yahoo.com/mrss/"/>
<thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total>
</entry>
I have changed:

Code:
<feed gd:etag="W/"DkQERH48fCp7ImA9WxRVE0g."" xmlns="http://www.w3.org/2005/Atom"
to:

Code:
<feed gd:etag="W/"DkQERH48fCp7ImA9WxRVE0g."" xmlns:atom="http://www.w3.org/2005/Atom"
and now it works locally

But if you read the post the poster shows a way to do it dynamically (obviously the point of a blog feed is that it is dynamic) and I have no idea how to search this feed and change the above dynamically.

In that post the poster lordofduct says:

ActionScript Code:
var str:String = "blah turkey butt xmlns= duh hurt xmlns:haha forgot to be my xmlns= something from my xmlns=";
trace(str);

var reg:RegExp = new RegExp("xmlns=");
var i:int = -1;

while(str.search(reg) >= 0)
{
    i++;
    str = str.replace(reg, "xmlns:attr" + i + "=");
}

trace(str);

But there are some things here that do not make sense to me.

1. What do I put instead of the foo text?
2. why is a while loop needed if we are just changing one line?
3. Why is this:

ActionScript Code:
str = str.replace(reg, "xmlns:attr" + i + "=");

not this:

ActionScript Code:
str = str.replace(reg, "xmlns:atom" + i + "=");

Any help applying this solution to my reader will be seriously appreciated. This is not a commercial project for me but rather I am trying to help a friend on his website.

Thanks in advance!

Inserting Flash Into My Blogger Template
I have been trying to use "<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0"
ID=ad_banner_example_1 WIDTH=336 HEIGHT=216>
<PARAM NAME=movie VALUE="http://myflashmovie.swf">
<PARAM NAME=loop VALUE=false>
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=medium>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
</OBJECT> "

I am trying to insert that into my blogger.com template as the new title at the top of the blog but cannot figure this out. I know normally that's the code I would have to use to drop a flash movie into an html file but it's not working in the blog template does anybody know what I'm doing wrong?

I would like this to completely replace where the template has the title. Can someone please show me. Here's the opening code for the template.

<!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" xml:lang="en" lang="en">
<head>
<title><$BlogPageTitle$></title>

<$BlogMetaData$>

<style type="text/css">
/*
-----------------------------------------------
Blogger Template Style
Name: Minima
Designer: Douglas Bowman
URL: www.stopdesign.com
Date: 26 Feb 2004
----------------------------------------------- */


body {
background:#fff;
margin:0;
padding:40px 20px;
font-small Georgia,Serif;
text-align:center;
color:#333;
font-size/* */:/**/small;
font-size: /**/small;
}
a:link {
color:#58a;
text-decoration:none;
}
a:visited {
color:#969;
text-decoration:none;
}
a:hover {
color:#c60;
text-decoration:underline;
}
a img {
border-width:0;
}


/* Header
----------------------------------------------- */
#header {
width:660px;
margin:0 auto 10px;
border:1px solid #ccc;
}
#blog-title {
margin:5px 5px 0;
padding:20px 20px .25em;
border:1px solid #eee;
border-width:1px 1px 0;
font-size:200%;
line-height:1.2em;
font-weight:normal;
color:#666;
text-transform:uppercase;
letter-spacing:.2em;
}
#blog-title a {
color:#666;
text-decoration:none;
}
#blog-title a:hover {
color:#c60;
}
#description {
margin:0 5px 5px;
padding:0 20px 20px;
border:1px solid #eee;
border-width:0 1px 1px;
max-width:700px;
font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
text-transform:uppercase;
letter-spacing:.2em;
color:#999;
}


Much thanks!

Embedding Flash In A Blogger.com Post
I'm a newbie trying to do what I thought was a simple task but am running into problems. How can I embed a flash file that's stored on my webserver (as .FLW file) into a blog post (I'm using Blogger) :?:

I tried below, which was generated from http://freevideocoding.com/ but it just shows a blank white square:

<embed src="http://www.wherever.com/video.swf" width="320" height="240" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>

I also tried below code with same failed results:

<object data="http://www.whatever.com/testvideo.swf" height="320" width="240"
type="application/x-shockwave-flash">
</object>

If I paste the URL directly into my browser, it plays fine.

Xml Feed From Blogger To Dynamic Text Field
I created a blo for a colleague to use to feed into a Flash text field
[hosted remotely], serving as a syndicated newsfeed. I am getting
errors messages when I publish the test message. How to I set up the
feed and filepath?

Cross Domain Issue: Blogger Rss Read & Proxy.php
Does anyone have any insight to the problem I'm having getting my blogger rss (atom) reader to work remotely.

I've recently activated php on my server.
I've followed the instructions on this post:
http://www.actionscript.org/forums/s...ight=proxy.php

Written this PHP:

PHP Code:



<?php $url = $_GET['url'];readfile($url);?>




Changed my XML data receiver in AS3 to:

ActionScript Code:
function loadXML():void {
   
    xmlLoader.load(new URLRequest("http://www.mywebsite.com/subfolder/proxy.php?url=http://myblog.blogspot.com/atom.xml"));
}

Please note: This works locally. I see all the posts from my blog in Flash locally. This tells me that my server has php enabled and that the swf is finding the php and passing it through. It just still doesn't work when all items are uploaded.

proxy.php sits in the same folder as the HTML that holds the swf.

It should also be noted the blog reader swf is also being loaded into a main swf (both as3).

Any help on this would be greatly appreciated.

The Almighty Quest For The ATOM ( Atom.xml, Bringing Blogger Into Flash )
Firstly, let's give a little background. This post is in reference to, http://www.blogger.com and http://www.atomenabled.com

Has anyone, ever, succesfully transmitted blogger's ATOM.xml into a flash animation? If you have I would absolutely _love_ to hear about it. Apparently, atomenabled xml is the newest way to go. However, I have been hard pressed in finding a solid method of connecting a flash doc and atomenabled content.

I just think of the combination of Blogger's ease of use, and a sexy flash theme and I get all excited and giglly. I have recieved alot of feedback with respect to other people wishing to do something similar, however, I have not found a 'completed' method as of yet.

Apparently, someone has begun to define a class for atomenabled xml. See that here.

http://www.markme.com/mesh/archives/004355.cfm

If anyone has seen this or has any other suggestions regarding the matter entirely. Please do share your thoughts...

Another thing that makes the idea so interesting is the idea that a customer could potentially edit an swf, while not touching the design or layout...

eg, you code it they edit it on a much smaller scale, adding content when they want, ect ect...

Regards,

[F8] "Blogger" Flash Header Problems
Greets!

I'm a former virtual reality developer, so my skills in regards to web and Flash development aren't too in depth. However, I've been working on my Flash skills in order to switch to working with it as a career at some point. That said, I'm having a few particular problems that are really driving me nuts! I'm not used to having to develop things two different ways to work with different browsers!

I'm trying to get my new blog set up and desired to have a Flash header. One thing I discovered right off the bat is that the navigation buttons won't function. I'm assuming this has to do with Blogger blocking it or some such. I can live with this problem though- but if anyone happens to know how to make Blogger recognize Flash navigation (just to load up a few different blogs in the same window) let me know. As an aside, the code works fine within Flash and does exactly what it should- just not in IE or Firefox.

The REAL problem I'm having though is this: Randomization. My blog is (going) to be located at http://effect37.blogspot.com .

If you open that in IE, and refresh the page several times, you should see that it randomly chooses a starting point for the flash movie between 4 or 5 different starting points. It works lovely in IE (except for the navigation, as I mentioned. )

If you then load Firefox- you'll see my problem... it just starts from the beginning- or even sometimes from a few frames past the beginning, ignoring the randomization code entirely.

What in the heck would cause Firefox to ignore the Flash code? I know it's not ignoring all the code, because one part of the animation uses a quick code-blurb and it works fine. It's just that randomization.

Anyone have any ideas on this? I appreciate the help in advance.


One last quick question- I notice in IE that when you load the page for the first time you'll get a border around the movie with a "click here to activate this control" message. Any way to nix that and not have it there?

Thanks again!

How To Get Published Code (<embed>..</embed) From As3
How can I get the html published code (<embed> .. </embed>), from AS3 in order to implement a print "copy embed video" to clipboard functionality ?

Object And Embed Or Maybe Just Embed?
Can you solve the mystery for me. For years now I have put Flash objects into html pages by using the OBJECT tag and EMBED tag. I have placed the EMBED tag inside the OBJECT tag to make sure every browser sees the flash as recomended.

I am working on a Content Management System which allows the user to insert flash objects to the pages being managed.

As some of you may hae experienced the MSHTML editor (often used in WYSIWYG online editors like editworkspro.com) actually rewrites the object code which causes problems.

I have found one solution. The code is not rewritten if you only insert the embed tag - so skip the object tag surrounding it.

For some reason that works and IE (version 6 at least) can see the flash object. I thought the object tag was required!!

Now can someone tell me why the object tag is not required! And if It would be safe for me to skip it from now on.

Regards,
Sambo



This code works for an example in IE 6.


Code:

<*EMBED
pluginspage=http://www.macromedia.com/go/getflashplayer
src=flashfile.swf
width=295
height=328
type=application/x-shockwave-flash
quality="high"
bgcolor="#F2F4EE"
MENU="false">
<*/EMBED>
The * is just so that the board doesn't try to render the flash

[F8]callling An Swf Embed From Another Embed Swf
Hi Guys!

I would like to know how callling an .swf embed from another embed .swf in the same html page?

Thanks in advance ;-)

"Embed(source" Vs. "Embed(systemFont"
Code:
package fonts {
import flash.display.Sprite;
public class Taco_Salad extends Sprite {
[Embed(source='C:/WINNT/fonts/TACOSRG_.TTF', fontName='Taco Salad',
fontStyle='italic', fontWeight='bold',
mimeType='application/x-font')]
public var wrFont:Class;
}}


If I embed a font as above accessing the ttf file directly I get an mxmlc compiler error if I use anything other than 'normal' for fontStyle and fontWeight. (thus no italic or bold.)

"Error: exception during transcoding: Font for alias 'Taco Salad' with bold weight and italic style was not found at: file:/C:/WINNT/fonts/TACOSRG_.TTF"

However no such error occurs when using the systemFont syntax:

package fonts {
import flash.display.Sprite;
public class Taco_Salad extends Sprite {
[Embed(systemFont='Taco Salad', fontName='Taco Salad', fontStyle='italic', fontWeight='bold',
mimeType='application/x-font')]
public var wrFont:Class;
}
}

However, the same ttf file in the font directory is being accessed presumably.

The thing is, I need to use the "Embed(source" version because I have some ttf files that are not registered with windows, and there are slight differences in how Flex/AS3 renders fonts embeded from source ttf files vs as Windows systemFonts.

But anyway, why no italic or bold when embedding with the "source" syntax.

Thanks.

How To Embed An Swf Into A Php Doc?
I need to know if there's a way to embed an swf directly into a php document without using html tags like embed.

I need NOT to use the following:
__________________________________________________ _____
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=550 HEIGHT=400>
<PARAM NAME=movie VALUE="LoadVarsTest.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="LoadVarsTest.swf" quality=high bgcolor=#000000 WIDTH=550 HEIGHT=400 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>

<?php

// Process the OUTPUT options
// FLASH DATA CREATED HERE
if ($action == "VIEW")
{
echo ("TextEffectToLoad" . "=" . "$TextEffect" );
echo ("&");
}

?>

</body>
</html>


________________

I need to use ONLY php tags.

Anybody?

Embed... Or SOMEthing...
does anyone know if you can call a .swf from within another .swf file? what i mean is, i want to have one .swf file playing, and then have it call another .swf file, embedding it somewhere within the original .swf file. so i'd have one going - say full screen, then within that one, have another one playing... kinda like a little window within the larger swf... thanks!

I Need Embed Help
I am in search of a good tutorial about embeding flash movies in an html page. What exactly I am trying to make is a sample page for individual flash movies....accessible from an html text. So say you go to a page that is a html page and it is called Samples then there would be numbers 1 thru 10 and you click on one and with the samples page still open the movie opens in another window....this is what I am trying to create....Can someone please help!!! Thank you, Wayne

I Need Embed Help Please
I am in search of a good tutorial about embeding flash movies in an html page. What exactly I am trying to make is a sample page for individual flash movies....accessible from an html text. So say you go to a page that is a html page and it is called Samples then there would be numbers 1 thru 10 and you click on one and with the samples page still open the movie opens in another window....this is what I am trying to create....Can someone please help!!! Thank you, Wayne

Embed
OK, thanks, got it to work, phew. I went into the Library, embedded the font there and then linked it and that seemed to have done the trick.

Help Me Embed An Swf
Be kind to the newbie and help me embed a swf in my html page. In Dreamweaver, I inserted an swf file, but when I preview it in a browser it only plays in Netscape, not IE. (I read the post about a JavaScript workaround for an IE issue similar to this, but I have to confess, I don't know JS and when I tried to follow along things got ugly!) Can anyone help me out?? TIA!

Embed Swf In PHP
I have tried inserting the same ole html tags into a php doc to call on a swf without success. I have read several variations on how to do this using Java etc. Does anyone have any alternative examples or recommendations on how and or "if" this can be done?

Much appreciated

Help With Embed Tag?
Hi,

I just created a simple slideshow in flash and I'm having trouble seeing it come up in my page. I guess there must be something wrong with my embed tag? I'm not sure.

The page that I'm trying to load the flash into is here:
http://chipanddrifty.com/wp/?page_id=4
But it's simply not playing.

What's weird is that I can get the swf to come up if I hit it directly here:
http://chipanddrifty.com/wp/wp-conte...ges/lyrics.swf

I also included a different swf on a similar page with no problems:
http://chipanddrifty.com/wp/

So I'm really confused here. Can anyone tell me what I'm doing wrong here?

Thanks!

To Embed Or Not To Embed?
hi all...i am making a news section on a website. It gathers it's info dynamically from mysql db...ok..the php is fine, it's loading, but the look is what gets me. If i don't embed the font, then it looks bad. If i do embed the font, then it loads, but without the day/month/year headers between each entry. Here is my code:


Code:
var news = txNews;
txNews.html = true;
txNews.wordWrap=true;
txNews.embedFonts = true;// i loose the headers if i embed font
var styles:TextField.StyleSheet = new TextField.StyleSheet();
styles.onLoad = function() {
txNews.styleSheet = styles;
xmlData.onLoad = function() {
root=this.firstChild.childNodes
for (i=0; i<root.length; i++) {
//pulls data of each entry
days=root[i].attributes.day;
months=root[i].attributes.month
years=root[i].attributes.year
journalEntry=this.firstChild.childNodes[i];
//code to make headers before each entry
txNews.htmlText+="<b>"+days+", "+months +", "+ years+"</b><br>"+journalEntry+"<br><br>";
}
};
xmlData.load("http://www.website.com/getNews1.php");
};
styles.load("myCSS.css");
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
of course, this gets me to another question...do i really need the css if i am not defining any attributes to the text? Can't the textbox attributes (txNews) be sufficient? Anway, that is another discussion to post later. Any thoughts why the headers will not post correctly if i embed the fonts?

Embed SWF Into SWF
Hi,
I have an external pre-loader and my actual flash game/movie. I am submitting my file to newgrounds.com so I need them to be all in one flash file. Is there a way to embed one swf into a movie clip so in the end I have only 1 SWF??

Embed Flv
Hi,

I have flash8 trial but no decoder and I am looking for a free solution.

I have a problem that I am tired of looking on google about it (2-3 hours of messing around).
I want to upload a video of any type to a webpage , convert it to a flash type then play it. So all the user does is uplaod a video, then the program converts the video to a flash type for a webpage to play with code only.

I can play the video of anytype no problems on a webpage but converting to a flash so all videos are the same type seems complicated. Especially when most software for it you need to pay.

Can i
a) convert a video to a flash type then play in a webpage with code
or
b) have to do this manually when I have a video uploaded eg use flash 8
or
c) can only do part if this with code and some manually.=ShockwaveFlash&P2_Platform=Win32&P3_Brow ser_Version=Netscape6[/url]

Is Is Possible To Add PHP To The <embed> Tag?
Hi everyone,

I have a flash banner rotator that runs using PHP at the backend. The way in which the flash banner is called into the script is by using the following PHP:

<? php include("http://www.mysite.com/banners"); ?>

I have also used this in other ways such as:

<?php $file = file_get_contents("http://www.mysite/banners"); ?>

I am struggling to incorporate this into the <object> tag. Is there a way in which I can do this? Can I somehow get this to work in the <param name="movie"> tag? Or is there some other method that I can use?

I should also mention that the file I am working with is a 'tpl' file. I do not think that these support PHP, but I may be wrong.

Any help would be great as I am really struggling with this one.

Kind regards,
Jp

Embed Url Into Swf
what's the best way to embed a url into the flash file? i'm making flash banner ads and the url needs to be embedded into the swf that i send to the vendor.

i know you can create an invisible button with on release to get urls, but is there an easier way with actionscript if the entire swf should be clickable?

Embed URL
Hello there:
I'm new to the forum. I have a puzzling question. If you need more explanation, let me know. Here's the issue I need to solve:

I want to have 4 different size banners on my website available for download. This will make it easy for companies to choose what designs they like best.
Each banner has a pcode on it that needs to be included in the URL.

I have to embed a URL, correct? And if so, do you know what kind of code I would use to do that?

Embed Help
I purchased a really excellent XML template from FlashDen. The FLAs aren't available so all I'm working with is XML to customize.

I'd like to embed two things: the Flash Twitter widget ( http://twitter.com/widgets/profile_flash_widget ) and my LiveJournal ( http://community.livejournal.com/howto/34867.html ). Does anyone know how to do that with XML??? The author uses CDATA tags if that helps. I've had no luck.

Also, I'd like to link an external preloader to the SWF. Can anyone point me to a resource to do that?

Many thanks!!!

Embed Xml?
Hello everyone!

I have a script that loads data from an external xml:


Code:
menu_xml = new XML ();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function (status)
{
if (status)
{
// Functions list
}
};

menu_xml.load ("menu1.xml");
The external xml looks like this:


Code:
<?xml version="1.0"?>
<menu name="beispiel">
<menu1 name="Via telefono" variables="B1,B2,B3,B4,B5"/>
<menu1 name="Via fax" variables="B1,B2,B3,B5"/>
<menu1 name="4-5 min per primo ordine" variables="B2"/>
<menu1 name="2-5 min ordini successivi" variables="B2"/>
<menu1 name="Inbound + outbound" variables="B6"/>
<menu1 name="Informatizzato" variables="B7,B15"/>
....
....
</menu>

What I would like to do is to embed the xml data inside the flash, so that other people can't edit the xml. I guess I should use something like:


Code:
menu_xml.parseXML("... ... ... ...");
but I have some problems with the < and " in the xml code. How can I solve that?

Thank you!

Embed An SWF And Get The URL, Is It Possible?
I have an SWF on the DOMAIN1.COM, then I embed into a page on the DOMAIN2.COM.
Is it possible to know the URL of the page that is showing the embed file using only ActipScript without any kind of querystring?

If I write trace(stage.loaderInfo.url) it tells me the HOST NAME where the file is sit, not where the file is embed.

HEELP!

<embed>
In the tutorial nr 8 in the beginners league it says following:

Add the following parameter inside the <EMBED> tag in your HTML page which houses the SWF file:

swLiveConnect=true NAME=yourmovie.swf
Replace "yourmovie" with the name of flash movie. You can put it anywhere inside the <EMBED> tag, but perhaps the best place would be after the WIDTH and HEIGHT parameters
Note: This is important as it allows the Flash movie to communicate with the JavaScript code.


What are the <EMBED> tags good for and where shall i add them?

-Mikkel

Copyright © 2005-08 www.BigResource.com, All rights reserved