No embed html tag in flash CS5
Hi, I am a newbie in flash. I understand in order to embed my slideshow into my website, I need to copy the < embed > tag in the code after publish to HTML and paste in in my webpage. I have done my slideshow and is working but I can't find the < embed > code from my HTML file. Below is my code from my html file, please help.
<!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>Flashslide1</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="700" id="Flashslide1" align="middle">
<param name="movie" value="Flashslide1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="Flashslide1.swf" width="400" height="700">
<param name="movie" value="Flashslide1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
Regards
AO
Just let CS5 publish an html file and either build into that page or copy from that page into another. I do not have CS5, so I don't know what it is producing for embedding code. With the newer versions of code, you might need to include javascript files and possibly other lines of code in the html file. Your best bet is to have a working version of the page that Flash produces and just copy any unique stuff from it until your other pages displays what you want.
Similar Messages
-
How to embed html code in flash builder 4 ?
How to embed html code in flash builder 4 ?
Ya i tried by keeping <fx:Declarations> part but still it is throwing error,
In flex3 we are making a component ex: <mx:canvas> and changeing that component to
<cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:cairngorm="com.adobe.cairngorm.business.*">
</cairngorm:ServiceLocator>
if any one used 4.5 with cairngorm let me know
thanks -
Embed HTML tag inside XSLT to generate email content
I want to Embed HTML tag inside XSLT to generate email content .
XSLT is not working in Jdeveloper , when i use the syntax <xsl:output method="html" indent="yes" version="1.0"/> in transformation activity .
Can anyone help to resolve the issue .in the <xsl:template match=""/> element you can just start with creating your html document
so for example
<xsl:template match="/">
<html>
the graphical mapper itself won't i think but when you test the xsl it will still procedure a html document, we use it too to generate the email body contents -
Hi I am toatally new to Flex. and i like RIA.
I have a question.
can I embed html tag into flex controls line in panel
control?
for example I want to use <table></table> into
flex's 'panel' control.
this requirement arose beacase, I have some raw code from my
previous ajax application with simple html and javascript, and
typically I used to use them as
div-Id.innerHTML="<table><row><td>hello</td></tr><table>"
i simple want to reuse my code with flex RIA
I shall be highly oblized if anybody could help me as soon as
possible.
thanks
Ravendra"ravendra.kumar" <[email protected]> wrote
in message
news:g6u91u$q06$[email protected]..
> Hi I am toatally new to Flex. and i like RIA.
>
> I have a question.
>
> can I embed html tag into flex controls line in panel
control?
>
> for example I want to use <table></table>
into flex's 'panel' control.
>
> this requirement arose beacase, I have some raw code
from my previous ajax
> application with simple html and javascript, and
typically I used to use
> them
> as
div-Id.innerHTML="<table><row><td>hello</td></tr><table>"
>
> i simple want to reuse my code with flex RIA
>
>
> I shall be highly oblized if anybody could help me as
soon as possible.
I think you'll find it easier to just work with the Flex
version of a Table,
which is the DataGrid.
HTH;
Amy -
Hello
I have some XML that's loaded into Flash by ActionScript
and in the XML, I have some text under a node as a parameter
called "content"
but the problem is that I need to have some HTML code in
there (Anchor Tag for links)
But it isn't rendered by Flash to be a link The HTML code
just comes out as a clear HTML
I've tried to put the dynamic text box's HTML property to
True, but that doesn't work.
even the bold tag (<b></b>) Doesn't render.
But the thing is that I translated < as < and >
as >
is that the reason why it doesn't render?
If so, how can I make it work.
Thanx a bunch
Keehun NamHi,
that's really a great topic and guess its not a problem of
Flash being index to some search engines because google claims to
be able to read txt message into flash file but if you create a new
website you'll make acquaintance with the google 'sandbox' or
'trust box' effect. So, I guess the only way to get some higher
ranking is your website(domain) shoulda be at least older than 5
years and get enough quality backlinks....maybe more than 15.000
:-). Take some time and check out some flash websites on pull
position www.seitwert.de. Nearly some of them got really almost no
content but glare pretty nice at google.
Hopefully this topic goes further ...
Oh, by the way, I almost forgot to mention it...be added to
dmoz.org can be also helpful. -
Hi all,
i want to load HTML pages into my flash movie when i press a button. is that possible?
Thanks
thilsenNo. Flash has limited support for html and is not capable of displaying html web pages as content.
-
How to embed html tags in out.println
Hi,
i have the following code in a function in java which passes the JspWriter object
out.println("<table>");
out.println("<tr>");
out.println("<td>User Id</td>");
out.println("<td>Pack Purchased </td>");
out.println("<td>Sms Used</td>");
out.println("<td>Sms Left</td>");
out.println("<td>New User</td>");
out.println("</tr></table>");is what i'm doing rite? plz help.Hi,
i' having a problem with the following code.
the web page isnt displaying anything. its just a blank page. please help
public void calculateUserDetails(JspWriter out) throws IOException
out.println("<table border=1>");
out.print("<tr><td>User Id</td>");
out.print("<td>Pack Purchased </td><td>Sms Used</td>");
out.print("<td>Sms Left</td><td>New User</td>");
out.print("</tr>");
Enumeration objEnumKeys = hashAllDetails.keys();
while(objEnumKeys.hasMoreElements())
String strHashKey = (String) objEnumKeys.nextElement();
UserDetails objUserDetails = (UserDetails) hashAllDetails.get(strHashKey);
intBasicPacksTotalCount += objUserDetails.CountBasicPacks;
intAdvancedPacksTotalCount += objUserDetails.CountAdvancedPacks;
int intCurrentUserSoldSmsCount = getSoldSmsCountToUser(objUserDetails);
intTotalSoldSmsCount = intTotalSoldSmsCount + intCurrentUserSoldSmsCount;
int intCurrentUserUtilizedSmsCount = intCurrentUserSoldSmsCount - objUserDetails.SmsBalance;
intTotalUtilizedSmsCount += intCurrentUserUtilizedSmsCount;
intActivePacksCount += getUserActiveSMSPacksCount(objUserDetails, intCurrentUserUtilizedSmsCount);
int intTotalCountPackPurchased = packPurchased(objUserDetails);
out.print("<tr><td>");
out.print(objUserDetails.UserId);
out.print("</td><td>Rs.");
out.print(intTotalCountPackPurchased);
out.print("</td><td>");
out.print(intCurrentUserUtilizedSmsCount);
out.print("</td><td>");
out.print(objUserDetails.SmsBalance);
out.print("</td>");
boolean newFlag=NewUser(objUserDetails);
if(newFlag==true)
out.print("<td>Yes</td></tr>");
else
out.print("<td>No</td></tr>");
} //End while
out.println("</table>");
} -
How to use html tags inside java
I have to retrieve data from db and return the data to my index.jsp page.
Its working fine.
But I have o display in a pable format using html. How to embed html tags? I tried this way. Its not working. Any suggestions?
String htmlOpen = "<html>";
String htmlEnd = "</html>";
String titleOpen ="<title>";
String titleEnd ="</title>";
String bodyOpen = "<body>";
String bodyEnd = "</body>";
for (int i = 1; i <= cols;i++){
output = output + rsmd.getColumnName(i);
while (rst.next()) {
for (int i = 1; i <= cols;i++){
output = output +rst.getString(i);
result = htmlOpen + titleOpen + titleEnd + bodyOpen + output+ bodyEnd + htmlEnd;
stmt.close();
conn.close();
return htmlOpen;
}See those charcters in your JSP that look like "<%"? Those characters mean: "the code after this is Java - interpret it as such".
Then when you close your Java block with "%>", it then means: "the code after this is html - output it to the request response that is being built. However, within the html code, the syntax "<%= java_variable_name %>" means "take the current value of that Java variable and insert it into the html output".
Here's an example:
%>
<table cellspacing="2" cellpadding="2" border="1">
<tr>
<%
String s = null;
for (int i = 1; i <= ncol; i++)
s = rsmd.getColumnName(i);
%>
<th nowrap><A HREF="<%=sortLink.toString()%>&sortby=<%=s%>"><%= s %></th>
<%
%>
</tr>
<%
if (rs == null || numRows <= 0)
%><tr><td colspan="10" nowrap>No data available for specified query.</td></td><%
else
int rowCounter = 0;
while(rs.next() && rowCounter < PAGE_SIZE)
rowCounter++;
%>
<tr><%
for (int i = 1; i <= ncol; i++)
s = rs.getString(i);
if (rsmd.getColumnName(i).equalsIgnoreCase("password"))
%><td nowrap>********</td>
<%
else
%><td nowrap><%= s %></td>
<%
%></tr><%
%>
</table>This is JSP 101, what they teach in the first hour of class...
Here's a decent JSP tutorial:
http://www.jsptut.com/ -
Scrollbars in Flash CS5.5
I published a Flash file with the html wrapper.
Flash publish settings-
Size - %
Height- 100%
Width 100%
Scale- No scale
HTML alignment- Default
Flash horizontal alignment- Center
Flash vertical alignment- Center
All good but there are no scroll bars on the browser when I make the browser window smaller? Search took me to this thread-
http://forums.adobe.com/message/3557607
The solution there is "find the parameter in your CSS that states "overflow: auto" or "overflow: hidden" and change it to "overflow: scroll"
I did that and now I see a white scroll track in the browser but no actual scroll bar? LOL What do you think is going on? How do I solve this problem?
Thanks
This is the page 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>TEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #333333;}
body {
margin:0;
padding:0;
overflow:scroll;
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="100%" id="TEST" align="middle">
<param name="movie" value="TEST.swf" />
<param name="quality" value="best" />
<param name="bgcolor" value="#333333" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="noscale" />
<param name="menu" value="false" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="TEST.swf" width="100%" height="100%">
<param name="movie" value="TEST.swf" />
<param name="quality" value="best" />
<param name="bgcolor" value="#333333" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="noscale" />
<param name="menu" value="false" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>Here is a test link. HTML generated by FLASH CS5.5.
I opened it in Notepad and changed overflow to visible from hidden. Scaling the browser window down does not result in appearance of any working scrollebar.
http://test90000.x10.mx/test.html -
In Flash CS5, the 'Publish Settings' for the fla had an 'Export SWC' checkbox that took care of that.
The option is missing. Why was it removed and how can that be done in 5.5?Thanks sinious, but, it doesn't work.
Let me elaborate on what I want to do:
I'm trying to create a swf in Flash CS5.5, that's using a flex library (swc) that relies on Metadata tags (anotations).
I need to use the metadata tags in my as3 code (in the fla), and They need to be compiled into the swf (by Flash CS5.5 compiler...).
Although, when I load that swf, the metadata tags aren't compiled into it (I'm using describeType to check if tags are available in the swf).
In flex, I would use the '-kepp-as3-metadata+=' compiler setting to do that, in Flash CS4 & CS5 I used the 'Export SWC' in the publish settings, but that's removed (WHY???).
Checking XMP Metadata didn't change that, the tags are still not included in the compiled swf.
Anyone? -
How link from html page to a specific frame in flash cs5 as3
Hi!
I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
Can someone help here?add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf. add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class. and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.
-
Is it possible to Embed Youtube Widescreen windows full options on Flash CS5 AS2 Website?
Good Day
Does anyone know How to Embed a Youtube widescreen Video window on a Flash Website, i'm using Flash CS5 and ActionScript 2???!!
I've seen several video tutorials on youtube and other websites about this, but they only work with a window of 480px for 385px (4:3),
which doesn't allow the fullscreen option on the lower bar of the video, because the player still had a silver bar not a black one !!!!
This is the one i've been using!!! http://www.youtube.com/watch?v=wfU5Hj3uKZ4
I would like to use a widescreen window (16:9; 16:10), like the ones youtube curently uses, 360p; 480p;720p, like in this case:
http://www.worldcarfans.com/111102637687/filming-the-new-porsche-911-at-speed-around-lagun a-seca
http://www.youtube.com/watch?v=ZxqcEYpKYWY; inside Porsche Channel - http://http://www.youtube.com/user/Porsche#p/c/C62AA82F9212FB59/0/ZxqcEYpKYWY
I would very much appreciate any help you can give me!!!
Thank youThere are two options here that I can think of..
1. Preinstall AIR on their machines, and use AIR files. That will work IF AIR is already installed. Flash projectors have no ability to control the file system in this way, but AIR does.
2. Use a Director projector. There are Director Xtras that can control the file system, and you can embed a SWF in Director. So you wouldn't have to recreate the SWF content, you'd only need to have Director and learn some basics about using SWF and making projectors.
That's all I can think of. -
Can I import binary in Flash CS5 and export swf, without AS code likes "Embed" ?
Can I import binary in Flash CS5 and export swf, without AS code likes "Embed" ?
I know I can use AS code,likes "[Embed]" metadata to embed binary in swf. But , how can I do that in Flash CS5 ?Have a look at this: http://stackoverflow.com/questions/7816231/how-to-use-as3-to-load-binary-data-from-web-ser ver
-
Flash CS4 IDE based project and embed metadata tags
I posted this in one of the other sub-forums before I realised this one was available.
I am moving over to using the Flex based embed metadata tags to import assets into my Flash CS4 IDE based project. This is working very well but I have hit one small problem - how do you now create a pre-loader? I've done the usual google to look for a solution and found many Flex based solutions and tried them all out but they do not appear to work from within a CS4 IDE based project - even when tried out on a web page.
Is there a solution to this?I'm doing the same thing, it's great to have the embed function, but the swf loads all embed content before anything else. This for me makes the feature useless. I make games and game sites want everything in one swf, so making a separate swf preloader wont work for me. Hope Adobe creates a solution for this.
Here are my post on the subject:
http://forums.adobe.com/thread/499997?tstart=0
and
http://forums.adobe.com/thread/499994?tstart=0
Also I submitted a feature request with Adobe, I suggest you do the same.
good luck! -
Embed external HTML page in Flash
Does anybody know how to embed an external HTML page into Flash? I am envisioning something like an iFrame, but can't really figure how this would work. I've attempted using a scrollpane, but it didn't work at all.
Any suggestions?you can display it in a popup window or in the same window or in an iframe in the same html page that displays your swf.
When you say this, do you mean I can create an iFrame on the same html page that displays my swf, and have it be dynamically populated by what the user clicks on the swf?
yes, exactly.
use getULR() (as2) or navigateToURL() (as3) with the 1st parameter being the html page you want to display and the 2nd parameter being the iframe "name" property.
Maybe you are looking for
-
External optical drive that works?
Hi, I have had an Imac 27 i5, its 3 weeks old now, I did the free Lion os upgrade before realising that Lion seems to be buggy. I have had problems some of which I have got over thanks to this forum, some I have not I still cant get my isp set-up w
-
Recently I took my computer in to get repaid for a monitor display issue. While it was repaired the shop told me my hard drive was having issues. It turns out they could fix it for me but they were going to charge me $300+. I replace drives all the t
-
Next code... GO_BLOCK('BLOCK'); LAST_RECORD; LOOP /*something*/ EXIT WHEN ..................; PREVIOUS_RECORD; END LOOP; What condition for exit when is first record???
-
I'm using Windows 7 Ultimate, 64-bit, and I'm having problem with RunDLL error, every time I start my computer there is small window with notification that specified module could not be found, Appdatta/Roaming/newnext.me/nengine.dll How can I solve
-
What is this process and why does it eat up all my hard drive space, memory and processor every time external display is connected? If I have the display connected for long enough, it could easily eat up 60-70 gigs of my hard drive.