A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: inserting html into flash

Hybrid View

  1. #1
    Member
    Join Date
    Apr 2001
    Posts
    30
    Is there any way to load an html page into a flash movie, sort of like using flash as a browser?

  2. #2
    mentally unstable member smayer72's Avatar
    Join Date
    Jan 2001
    Posts
    527
    Not quite sure what u mean by using flash as a browser but to insert html do this.
    On your html page make the first line as follows
    text=
    next
    loadVariablesNum ("whatever.html", 0);
    create a dynamic text box where you want the html to appear.
    In the text options panel apply the variable "text" to the variable box.

    This should load your html no worries, pics and all

    Scott

  3. #3
    Member
    Join Date
    Apr 2001
    Posts
    30

    thanks for the help, i have another question

    Originally posted by smayer72
    Not quite sure what u mean by using flash as a browser but to insert html do this.
    On your html page make the first line as follows
    text=
    next
    loadVariablesNum ("whatever.html", 0);
    create a dynamic text box where you want the html to appear.
    In the text options panel apply the variable "text" to the variable box.

    This should load your html no worries, pics and all

    Scott
    I've been working on what you had previously written, but can't quite seem to get it. On my actual html page, am I to put the text "text=" as...

    text=
    <html>
    <head>
    <title> and so on...?

    Also, the loadVariables action; if I am using a buuton and setting this as the action, do I need to set the target to my text box named "text?"

    I have my box created and html created, I just can't figure out these things to get the html page to open in the text box. Thanks for your help, I appreciate it.

    Blake

  4. #4
    mentally unstable member smayer72's Avatar
    Join Date
    Jan 2001
    Posts
    527
    Sorry, I,ve only seen this done once before, I haven't actually done it myself. I didn,t really explain it very well. Look at the information in Flash under Help>Using Flash, and look up HTML formatting, it says it better. And no you don't have to target the "text" field when loading the variable, but you can if you choose to.

    Scott

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center