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."

Similar Messages

  • Open html inside flash it´s posible?

    open html inside flash it´s posible?

    I've been trying to create a link in flash8, to link to an
    html page the whole week, no success at all. I dont think anyone in
    this
    forum's got any answer to that. When I run the swf file alone
    it works but as soon as I import it into Dreamweaver, all links to
    an html file created in flash fails.But if by any chance you get
    the answer please would u send it to this emall address:
    [email protected]

  • Embedding indexes inside PDF file

    Hi,
    My requirement is to convert PDF files (Which have text content) to pdf files with embedded indexes to accelerate search operation. I want do the conversion in batch process that it will be configured to run according to a given schedule.
    1- Which product allow me to achieve that ?
    2- Can i do it programatically in my own code by using APIs from Adobe ? If yes where i can find those APIs ?
    NB: Please, can someone tell me how to talk to an expert fro Adobe. I want know if Adobe tools offer a solution to this problem or not.
    Best Regards.

    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."

  • HTML inside flash Movie

    How can i link and view any html page inside a flash movie,
    for example, i
    want to view a yahoo page inside of a movie... I apreciate
    all coments and
    help... Please!!!

    EFREN,
    > How can i link and view any html page inside a flash
    movie,
    > for example, i want to view a yahoo page inside of a
    movie...
    > I apreciate all coments and help... Please!!!
    I'm afraid you can't. If you were reading your HTML
    documents with a
    browser, that would be one thing. Browsers are HTML-reading
    machines. The
    Flash Player is not. The Flash Player reads Flash files.
    While Flash does
    support a modicum of the full HTML spec -- see "About
    supported HTML tags"
    in the documentation for details -- Flash does not, as a
    rule, open HTML
    documents.
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Embedding html in .java file comments

    for years now the convention has been to liberally use html in java source code comments
    to beautify javadocs. for example, i have taken this out of the source code for java.lang.System:
    * The <code>System</code> class contains several useful class fields
    * and methods. It cannot be instantiated.
    * <p>
    * Among the facilities provided by the <code>System</code> class
    * are standard input, standard output, and error output streams;
    * access to externally defined "properties"; a means of
    * loading files and libraries; and a utility method for quickly
    * copying a portion of an array.
    * @author Arthur van Hoff
    * @version 1.125, 12/03/01
    * @since JDK1.0
    the problem i see with this is that the tags must be stripped if one is producing
    documentation in formats other than html (swing doclet, or pdf doclet, or any
    application of xml).
    aren't we forever tying ourselves to html? is there any intention on the part of
    j2se/j2ee developers to discontinue this practice? i've begun working on a xul
    doclet and am having to enclose the documentation in cdata to maintain the
    validity of the document i produce (i could also just strip out the tags of course).
    thanks, eitan

    Hi Eitan,
    I see little problem as long we provide a way to
    parse whatever format is being used.
    Please take a look at the commentdom package in
    the "Doclet Refactoring Design" under "What's New"
    on the right side of the Javadoc home page:
    http://java.sun.com/j2se/javadoc/
    Here's its description:
    com.sun.tools.doclet.toolkit.util.commentdom
    DocComment to DOM Translator - Documentation comment contains embedded HTML,
    Javadoc inline tags as well as custom inline tags. This package will contain classes that will help
    generate a DOM tree for the documentation comment. This can be of great help for doclets that
    generate documentation in formats other than HTML. Such doclets don?t have to undergo the
    tedious task of parsing the documentation comments for all the tags. Doclets can then directly
    traverse the DOM tree and then convert the tags to appropriate format.
    The DOM tree will adhere to the doccomment DTD that will be published later. The DTD will
    allow required HTML tags along with their attributes as defined in HTML4.0 specifications. The
    DTD will also support Javadoc-defined inline tags as well as user-defined custom inline tags.
    We plan for the doclet toolkit other than this part to be in Tiger;
    we haven't committed dates to delivering this piece, but feel it
    would be an important part of the toolkit.
    -Doug Kramer
    Javadoc team

  • Allow LR3 to view/extract embedded JPEGs inside NEF files please!

    I am a Nikon shooter, and use NX2 because of it's excelent RAW conversion of NEFS.
    The number one feature I'd like to see in LR3 would be the ability for LR to both display and extract the embedded JPEGs inside the NEF files rather than making it's own conversion. Maybe have an option to convert or extract as PhotoMechanic does on a mac for example.
    The number two feature I'd like to see added would be the ability to send RAW NEF files to an external editor.
    I believe these two features together would satisfy a lot of frustrated LR and NX users.

    Me too
    all I want is for LR to use my current Nef settings, NX2 or original as a starting point for adjustments  NX2 simply does it BETTER for most things - I just want to to final tweaks in LR/photoshop..........not start from scratch with a crap rendering that's way worse than the original.   exportng to tif befoe import into LR is insane !!!
    I have thousands of images - there's no way I'm going to laboriously manually copy every nuance of my settings - different for every image - into LR - I just want LR to work properly and respect the file I give it
    Please - there must be a tool out there that can help -perhaps even Adobe could help ???

  • 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?

  • HTML inside flash

    I am trying to display a html based weather widget inside a flash asctinscript 2 file using CS3.
    Can anyone point me to a tutorial on this?
    Forrest

    kglad, would it be possible for you to look at my other posting called,
    Loading a swf into a swf
    That is the proper forum for this discussion. I have posted my files there in a zip format.
    My yourwidget.fla (or in the my case, palm_springs_2.fla), has 2 scenes. When I use my loadMovie in my "Test load.fla", it loads the preload scene and not the main scene. However, when I remove the preload scene from palm_springs_2.fla it will not load the main scene content either.
    I am using an empty movieClip (with a instance name of "empty_mc") to load the incoming "palm_springs_2.swf" and using the code;
    empty_mc.loadMovie("palm_springs_2.swf");
    If I use "empty_mc.loadMovieNum("palm_springs_3.swf",1);", I get nothing at all.
    I know I am missing something. If you are able to look at this code I would really appreciate it.
    Forrest

  • 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,

  • HTML inside Flash a joke?

    I'm not really sure what's going on here...I've had some bad
    HTML tranlation on flash's behalf before, but never as bad as this.
    It seems all my carriage returns are getting displayed and all my
    <br> tags are being ignored. I'm setting htmlText for sure so
    that's not the issue here, and I've had to take my carriage returns
    out before via using a split and join (because of course, why would
    flash include a replace function by CS3?!) but now I just have one
    giant line of text because my BRs are getting ignored. I've tried
    adding select html tags (such as <html> and <body>) but
    they don't seem to do anything. I've even tried a straight up XHTML
    template, but it seems to just throw lots of carriage returns in
    the beginning. Maybe someone can take a look at my html page I'm
    loading in (using LoadVars object) and tell me what I'm missing
    because I'm just getting one straight line of text out of it, and
    that's only when I manually remove all the carriage returns.

    So I really have absolutely no idea what's going on here. I'm
    using the onData event handler, which seems to be more what I want,
    because I don't even need to set a key/value pairing, I can just
    put the html straight in the text file and it will load that as the
    src variable passed to my function.
    So anyways, I traced what I'm assigning to my content_txt
    textfield right before I assign it, and then afterwards do an
    immediate trace on content_txt.htmlText and it's completely
    different. Here's what I'm getting, the first is what is coming
    from the page I'm loading in, and the second is what I'm getting
    back as being the htmlText the textfield. I've even tried it with
    and without the HTML and BODY tags.
    <html><body>So this is my page, hope you
    enjoy!<br>Check out this <a href="
    http://benrosenbach.com">link</a>.<br>testthis
    should be on the same line<br /><br /><br
    /><br /><br /><br /><br /><br
    /><br /><br /><br /><br />ok<br
    /><br /><br /><br /><br /><br
    />this is dumb<br /><br /><br
    />yup.</body></html>
    <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT
    FACE="Helvetica" SIZE="13" COLOR="#FFFFFF" LETTERSPACING="0"
    KERNING="0">So this is my page, hope you enjoy!Check out this
    <A HREF="
    http://benrosenbach.com"
    TARGET="">link</A>.testthis should be on the same
    lineokthis is dumbyup.</FONT></P></TEXTFORMAT>
    And here you can see my code:

  • Help,I am trying to get function calls from a flash file within an embedded SMIL file to work with Netscape.

    Basically, the functions are on the html document in which the SMIL file is embedded and the flash file within the SMIL file calls the function from a button.
    The code on the html doc determines whether the browser is Netscape or IE and then executes the appropriate code. For ex. for Netscape the function is:
    document.radio.SetSource('video.smi')
    and for IE the function is:
    radio.SetSource('video.smi')
    All the function calls work fine in IE but in Netscape it does nothing.

    Basically, the functions are on the html document in which the SMIL file is embedded and the flash file within the SMIL file calls the function from a button.
    The code on the html doc determines whether the browser is Netscape or IE and then executes the appropriate code. For ex. for Netscape the function is:
    document.radio.SetSource('video.smi')
    and for IE the function is:
    radio.SetSource('video.smi')
    All the function calls work fine in IE but in Netscape it does nothing.

  • Japanese font in a Flash file

    is there anyway of outlining a font in a Flash??? My work around was to copy and paste between Flash and Illustrator replacing the Japanese text with vector elements, in order to meet the vendors spec's. There has to be an easier way of doing this......any ideas appreciated

    I don't know, I always suppress the html output since the
    html it generates isn't W3C-valid in any context I'm designing. I
    use swfobject for my flash files -- thanks for the idea, though!
    Does it enumerate all URLs that are embedded in a flash file's
    actionscript? That seems like it can get rather data-heavy?

  • Flash QA: How to extracting all URLs in a flash file

    As part of performing link validation on web sites, there's
    no obvious way to enumerate all URLs in all flash files for link
    validation. Of course I can open each flash file and review the
    each actions pane, but that is slow-going.
    How can I do this -- or what are best practices in this
    arena?

    I don't know, I always suppress the html output since the
    html it generates isn't W3C-valid in any context I'm designing. I
    use swfobject for my flash files -- thanks for the idea, though!
    Does it enumerate all URLs that are embedded in a flash file's
    actionscript? That seems like it can get rather data-heavy?

  • FLV embedded in a SWF file, does not play in HTML file.

    Hi,
    I embedded a FLV file into flash movie clip, which on publish plays well on SWF file, but when the same is embedded in HTML, it does not play.
    What is it i'm missing ..
    Kindly help.
    Regards
    Shashi

    First, clarify this... are you embedding the .flv into the time line, as in:
    The .FLV file is imported on the  timeline of a movie clip.
    I embedded the .flv file,
    If you are in fact embedding the video, then there is no external video file... it's embedded into the timeline.
    If you are using the FLVPlayback component and an external vid file to display the video and the .swf when testing plays the video just fine but not on the HTML Web page:
    SWF plays external video file, as soon as I embed SWF in HTML, it no longer playes the external video file.
    then it's most likely a pathing problem.
    If you are placing the .swf on a Web page and the .swf and/or the .flv file are not both in the same folder as the Web page.... then the .swf should NOT work when you test it directly! That's because it should be pathed to play from the Web page and not the location of the .swf.
    For your review:
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best of luck,
    Adninjastrator

  • Synching Issues with Self-Paced Learning and Embedded Flash Files

    Hi Everyone,
    I'm having some issues with my files not properly synching or displaying when Self-Paced Learning is active.
    Here is my set-up:
    Captivate 5
    5 separate Captivate files combined using the Aggregator
    Each Captivate file is about 15 slides
    Each slide contains an audio file (for closed-captioning) and a single SWF file - the content is all created with Flash and then inserted into Captivate using Insert > Animation
    Each SWF file is back 1/10 of a second from the beginning of the Cap timeline (otherwise there are rewind issues when the user selects the slide they are currently viewing from the ToC)
    Each embedded SWF has the beginning and ending fade built into it; Captivate is not doing any fading
    Synch to Project is selected for each embedded SWF (although it doesn't seem to work all the time)
    Self-Paced Learning is active, as well as, Enable Navigation
    It is not being loaded to an LMS or using any built-in Captivate quiz features.  These are instead custom built AS3 Flash files that are embedded.
    Windows 7, 4GB RAM, 1GB Video Card, High-end Processor, etc... a beast.
    The Issue:
    When the user opens the course, views it for a while and then closes it and returns it will display the first slide of the course for a moment before jumping to the bookmarked slide.  This slight timing misstep causes the bookmarked slide to get out of synch.  It will sometimes not display the bookmarked slide at all or it will cut-off a small bit from the end of the slide (even with Synch to Project active).  It sometimes works fine but randomly will break.  The course is set to 100% preload and nothing is being loaded from an external location.  It seems to work fine until Self-Paced Learning is activated.
    I don't think this is a common development approach for Captivate but it has been very successful with some clients.  Has anyone encounted similar issues or does anyone have some suggestions that might resolve this problem?
    Thanks!
    Greg

    It's been mentioned many times on this forum that nesting Captivate SWFs inside other Captivate SWFs gives rise to all kinds of strange issues.  Captivate was not designed to work this way. If you choose to do it, and you encounter issues (as you have done) there's usually NOT a lot you can do.  There are just too many ways the SWFs can get into bun fights over which one does what.
    I suggest you rethink your approach to avoid nesting.

Maybe you are looking for

  • How to find classes in ABAP

    Hi experts,     In java it is easy to find related classes for our requirement based on package and related methods by using API.But how to find that these are the classes are existing for this particular requirement in ABAP.In se24 we can find exist

  • COPA Derivation rule

    Hi! I would like to derive the sale commission values for rebate recipient (Table KONA) from the Agreements. I tried to derive from KONA using Tablelookup, there I had to give the source field for the agreements. So, I created the characteristic agre

  • How to change Master Agreements search channel in Workbench

    Hi All, When we search in Master Agreements search channel in workbench then it displays a report just below that search, and when we click on that then it displays Master Agreement Search Agreement Detail. In this details sub-agreement payment terms

  • Connecting to win xp pro from macbook

    i have talked to apple care via phone and the geniuses at the local apple store and am hoping someone on the boards can help. i have a new macbook and a winxp pro machine. i can connect to the mac folders in my network places on the windows xp machin

  • Can't upgrade from 4.3

    Hi..I'm trying to upgrade software to 4.4. But everytime the "Downloading the latest update" gets about 25% done, the AppleTV resets itself, I get the white Apple logo, and it restarts. Any ideas???