Embedding HTML Into Flash?
Let me start with the fact I only know some AS2. AS3 tends to go over my head. So I'm using Flash 8
If I need FlashCS5 to do this, then, PLEASE, let me know.
Here's the situration.
I manage and build a number of sites. Many are parts of a network. The goal is to join them all as one. Both without using php (don't know php), and without having to leave primary page. A Flash Site is the plan. But that is a TON of work to re-create entire sites flash that are already large and established.
So I got to thinking. What if I embed the HTML/CSS sites into Flash itself? That way they can still make their changes and it'll effect both the HTML version as well as it's mirror/portal via the Flash site?
In Short:
I want to embed this page on one frame in Flash:
http://www.uga-international.com/About.html
And place a link to another KeyFrame that has this page/site embeded:
http://www.melholder.com/MAIN.html
How would I go about doing this?
====
Then it got me thinking even more. If this works, would it be possible to load a SWF video player (Webstunning FLV Player) into Flash and run it as if it's part of the Flash site?
I thought the Loader Component would do this for me. But it keeps saying it can't locate the "playList.xml" file. The player has outside files it referances. This eoor prevent the player.swf from playing period.
So how would I go about getting the loader to player external .SWF files that referance external .XML files?
Here are two sample pages using different .SWF files that referance external .XML files:
http://www.melholder.com/index.html
http://www.dovm.org/TEST1a/Test1a.html
Thanks in advance.
Thank you for you help and patience.
But your last statement "copy and paste your frameset encoding" just got me lost.
In Flash, I know how to use the "MyLoader" to load an outside file (but loading HTML pages in it does not work) But it only has these Parameter options:
autoLoad:True
contentPath: "URL goes here
autoScale:True
I also know how to point a button's AS2 to open a URL page.
on (release) {
getURL("URL Link Goes Here",_blank);
Those are the only pointing methods I know.
Now that I think about it. do I change the "_blank" part of the AS2 code to the name of the Iframe instead?
Similar Messages
-
I need help by putting html into flash. Here's my problem.
I need to put a paypal shopping cart into my site on flash 8
pro and can't seem to find a way. All I need to do is just put the
code somewhere and want to have the shopping cart on my page. Could
someone experienced enough please help me?I do not believe flash has a web browser built into it that
can parse html code!
What you asked does not make much sense. What exactly are you
trying to do? -
Changing li tag in external fed HTML into Flash
Hi
Really simple I hope someone can help me as I cant find any resource on the net that will help and hopefully somone has encountered the same problem.
Ive got some external HTML text being fed into flash, all I want to do is to edit the <li> tag in the HTML (not CSS) so the bullets sit flush to the left with the rest of the text, thats it! is there something i can put in the HTML that will resolve this such as:
<li left="-20px">example</li>
what ive got=
CS4 AS2
I proposed a simlar question but maybe i wasnt clear.Sudheendra,
Please provide the link. I don't think it made it into your post.
Rusrusrus,
It is a good question. And I look forward to the answer. I struggled with this awhile ago. The default styling of <li> in htmlText is horrendous.
I believe there is a way to adjust the left margin of the lists with flash's limited css support... but the spacing between the bullet and the text is not adjustable.
http://flash-reference.icod.de/TextField/StyleSheet.html
margin-left is probably what you are after. -
HTML into Flash please help!
I want to put a HTML webpage into a certain field that is
scrollable and when a link is clicked that box will change to give
the content from the new page in that field ... please help, and
also can javascript hover-off links from a webpage be put into
flash?1. Flash contains a TextField component which has
limited
html support, not enough to support the usual html required of
an active web page.
Supported
html tags for Flash Player 8
2. You can use usual html
anchor
tag in a Flash TextField.
3. You need to turn on html for a Flash TextField. This can
be done in the
IDE
or in
Actionscript.
4. You can also use
CSS
formatting in a Flash TextField.
5. For rollovers of specific parts of a Flash TextField, you
will need to use Actionscript and generate TextFields for each part
of the addressable text such as every word or every phrase goes
into a separate TextField and then the TextFields are aligned to
appear as one larger TextField.
Flash requires a different design mentality than do
HTML/CSS/JavaScript pages. So there are more creative approaches to
present the information you have using Flash that are not easy or
even possible in HTML/CSS/JavaScript. -
Embedding HTML in Flash. Is it possible?
I have a simple website that I created and want to put up a
video that will play directly from YouTube. What I want to do is
embed the code they give me onto an SWF and have it play the video.
I seem to be able to do this on a Dreamweaver page and on blogs but
no matter how hard I try, the code comes up as text when I preview
in HTML(Default). I have tried having it as dynamic text, input
text, you name it and I can't seem to get it to play the video
instead of the text displaying text. Can this even be done? If so,
how how how?
I have a video embedded now that runs off my server but it
takes forever and a day to load. Are there any other solutions to
get a high quality 2min. video to play without at least a 2min.
wait?you can create a SWF movie or document on flash with a flash
cideo player on it and then embedding that swf into your site will
call the video off from youtube or where ever the video is, -
Could anyone help me with embedding YouTube videos into a
Flash file. Not got a clue how to do it!!!!!!Hi,
You can't place HTML snippets directly in Flash Catalyst.
Here are a couple of related threads that may help:
HTML as an overlay iFrame - http://forums.adobe.com/message/2442117#2442117
YouTube in Flash Catalyst - http://forums.adobe.com/message/2890324#2890324
Tanya -
Best way to pass vars from html into flash?
I've read a variety of pages that describe how to pass a variable into a flash movie (AS3, player = v9) from the html in which it is embedded. This page describes AS3 but neglects to mention what to do with the object and embed tags in the noscript section. Furthermore, I'm not sure the javascript I see generated in my page looks like the example there (the js in my page doesn't check AC_FL_RunContenta against zero). This page is quite long and appears to deal mostly with AS1 and AS2 approaches which I have used before and neglects entirely the newish javascript approach which appears to be used to embed flash these days (i.e., the javascript function AC_FL_RunContent).
I was wondering if someone could spell out the proper way to pass in a variable from HTML so that flash can see it in such a way that works even if javascript is disabled, in all browsers, etc., etc.
I've attached the HTML generated by the Flash IDE to this topic. Any help would be much appreciated.You'll have to search for that concise and thorough list of steps or figure it out using the information you now have, which is sufficient to get it done. It's not that hard--add the FlashVars in the embedding code in the three places and use the various examples you have links to to add the code in the Flash file to access and use the FlashVars.
Your Flash will be embedded in a web page depending on the visitors settings... if they allow javascript then the javascript portion will be used. If they don't, then either the object or embed sections will be used depending on their browser.
As far as javascript changes go, don't sweat 'em until you have a problem... use whatever code your Flash-created html page creates to embed the file in the page. -
Embedding HTML inside Flash File
HI.
I would like to inquire on how to embed a HTML file insides a
Flash File.
This is the scenario, I have several HTML files, e.g. a.html,
b.html, c.html.
Where there would be a links inside that flash file, to open
a.html, b.html, and c.html (not a new browser).
How can I do this? Guides / Tutorials would help.
I am a bit a newbie in the world of Flash. Thank you in
advance.
/928 :)mauve928,
> I would like to inquire on how to embed a HTML file
insides
> a Flash File.
Dynamic text fields do support some HTML formatting, but
it's important
to understand that at this time, the supported tags comprise
only a very
small subset of the full HTML specification. (Search the Help
panel for
"supported HTML tags," and you'll see which ones they are.)
As such, Flash
Player simply doesn't load HTML files.
What Flash Player does load is XML, so if your documents are
formatted
as XHTML (that is, technically XML), you'll have the
beginnings of something
you can use. Flash won't necessarily be able to display
elements it doesn't
understand (e.g. tables), but because the document is XML,
you'll be able to
parse those tags and extract information from them, using
what Flash *is*
capable of displaying.
I wrote a series at Community MX not long ago that makes
some
exploration into what you're after.
http://www.communitymx.com/abstract.cfm?cid=02395
The first article (of three) is free, and you sign up for a
non-obligatory free trial to read the rest.
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design." -
You Tube embedded file into flash 8 website
I created a flash website and I would like to put a Youtube
video init. I can't figure this one out. You tube gives you an
embedded file to use but progressive and embedded wizard does not
accept their code. help!!the embed code provided by Youtube is an HTML tag to embed
the video.. this is not meant for flash.. what you want to do is
not possible. -
Problems embedding HTML into XML with CVIXMLSetElementValue - unwanted < and >
I'm using the CVI XML functions. When I try to insert some pre-exsting HTML as the element value with CVIXMLSetElementValue, it dutifuly converts all the HTMLangle brackets into < and >, which is NOT what I want.
(I can protect the XML integrity by wrapping it in [CDATA[ ....]] but that does not solve the conversion issue here.)
Any suggestions?
Thanks,
Ian
Solved!
Go to Solution.To explain a bit further, below is a code snippet and the unwanted result that I see. Does this behavior - even with CDATA - make good design sense?
From my perspective CVIXMLSetElementValue should respect CDATA elements. Am I right? Or just biased?
stat = CVIXMLSetElementValue (test1_element, "Hello");
stat = CVIXMLSetElementValue (test2_element, "<p>Hello</p>");
stat = CVIXMLSetElementValue (test3_element, "<! [CDATA[<p>Hello</p>]] >");
// Problematic Output:
// <?xml version="1.0"?>
// <root>
// <test1>Hello</test1>
// <test2><p>Hello</p></test1>
// <test3><! [CDATA[<p>Hello</p>]] ></test1>
// </root> -
Embedding HTML into forms to make 3rd party Host Work
My form looks wonderful! Only one problem.... It doesn't work!
It won't says the form was submitted successfully, but I don't receive it. After reading a thread that said I have to make sure my host provider enables PHPmail, I contacted them they said I need to enter the following:
mail("receiving-email","subject","message-body","headers");
Into the form to make it work.
Is this right?
If so, how and where in the form do I embed it. I don't want to screw up the widget. I opened the html page for the form, but again I don't know where to put this line, if at all.
Thanks in advance,
Doci tried uploading using FILEZILLA and everything worked perfectly!!
consider this solved!! -
Embedding HTML into a JSFF dynamically
Hi,
I have a requirement where I need to embed an HTML table into a jsff (popup).
I have a method which returns me a String (HTML) based on various other dynamic conditions.
The returned HTML is a table. Now I need to show this HTML in a popup when user does an action on the base page.
Is there a way to embed the HTML code into a jsff page dynamically?
Any pointers to this are appreciated.
I am using Jdev-11.1.1.4.0 (Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923).
Thanks in Advance!
-SwapnaHi,
shay is right, you can create a HttpServlet which you can pass parameter as queryString and in doGet method you can get these parameter and call your proedure that gives you dynamic HTML. you can directly write the html as output using PrinterWriter.
Where as writing html in ADF is considered as very BAD practice..
Regards,
Santosh. -
Embedding JavaScript into Flash
Can someone please tell me is it possible to embed some
JavaScript into a .fla file?
The reason I ask is because I am doing a major project in
which I have decided to create an Intelligent Help Desk in
Macromedia Flash. In it I aimed to implement SitePal but it is only
now I find out it uses JavaScript.
I don't want to be rude but I need a reply as soon as
possible as the matter requires some urgency.
Any help is greatly appreciated.
Niallghgjjjk wrote:
> Can you please tell me the process I need to carry out
in order to achieve that?
sorry, don't really have time. If you are publishing for
flash 8, check
out the documentation for the ExternalInterface class as this
is the
best method so far available for getting flash to communicate
with
JavaScript and vice-versa.
Otherwise, if you're publishing to flash player 6.0.65.0 or
higher check
out the Flash/Javascript integration kit, which can be found
here:
http://weblogs.macromedia.com/flashjavascript/
I also have a working demo of this on my site here:
http://www.moloko.f2s.com/gateway/
if publishing to flash player version earlier than 6.0.65.0,
you will
have to use getURL("javascript:"); - check out the
documentation in
flash for getURL()
MOLOKO
Macromedia Certified Flash MX 2004 Developer
Macromedia Certified Flash MX Developer
::remove _underwear_ to reply::
'There ain't no devil - it's just God when he's drunk' Tom
Waits
GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+
w+++$ !O M+
VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e
h-- r+ y++ -
Embedding quicktime into flash
hey guys. Im doing a page in flash where I want to have
options to play certain quicktime movies. I either want to have the
quicktime files open on another window but with the the viewer not
able to change to the window size, or I want to have the movie to
play right there in flash. I know how to bring in a quicktime movie
to Flash, but is that the only way to do it? Its going to be a lot
of frames long. I know in a regular html page you can use java
script to control a windows size. I cant find a way to use java
script in Flash. Can anyone help me if this makes sence ?
ThanksThank you for you help and patience.
But your last statement "copy and paste your frameset encoding" just got me lost.
In Flash, I know how to use the "MyLoader" to load an outside file (but loading HTML pages in it does not work) But it only has these Parameter options:
autoLoad:True
contentPath: "URL goes here
autoScale:True
I also know how to point a button's AS2 to open a URL page.
on (release) {
getURL("URL Link Goes Here",_blank);
Those are the only pointing methods I know.
Now that I think about it. do I change the "_blank" part of the AS2 code to the name of the Iframe instead? -
Help on embedding files into flash to be downloaded
I wanted to know if there is a way to embed a pdf file into a flash document to be downloaded by the customer. I want them to be able to click on the thumbnail version of the file to start the download of the high res version of that file. I am making an interactive cd so the files would be stored on the cd itself. I know I could do it by storing the files on the internet but I would like to keep everything local. Thank you so much for your time. Any input would be greatly appreciated.
You can't. The only way you can do that is store the files locally in your case in the CD and use the normal URLRequest method but instead of calling an http://whatever.com URL you call the RELATIVE url to your file for example if your pdf is saved in a folder called "pdfs" and your swf on the root of the CD then you would call URLRequest("pdfs/mypdf.pdf");
Maybe you are looking for
-
Cannot use "convert to PDF" even though I'm subscribed
I am subscribed to Adobe PDF pack (I am correctly signed in using the right profile, and the subscription is showing in my account in the Adobe app). When I click on the convert to PDF button in order to convert a Word file to PDF a query box appear
-
How to use GamePad with Logitech F510 in MBP ?
I got a Logitech Rumble Gamepad F510 (it in not Mac compatible by the way) I am unable to use it properly with my game(F1 2012), even after installing "GamePad Companion" Kindly tell Me how to assign Buttons & Controlls.
-
Cant reset my apple id password
Cant reset my apple id password (my kids have realised what it is) - dont know answers to security questions so have selected option to receive instructions via email but am not receiving email from apple ( email address is correct on id) Please Help
-
I just bought a new video camera which records in HD and creates an Mp4 movie file. How do I play this file on my Mac? I am not an overly technical person, but have never had an issue where my Mac was unable to read a video file. Help.
-
Status Model Count A Printer 5 Desktop 7 CPU 18 I Printer 12 Desktop 34 CPU 66when i click/drill to Status Level i need to open another report and similarly for