A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: <img> in 3dfa

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    3

    <img> in 3dfa

    Hi...new to 3dfa and making a website with it...I had a (stupid) question about a problem I've been having. I've been inserting <img> tags into HTML components, without results. Nothing shows up, just the other text. I've got the addresses right, I've checked that, and the code I use seems to work outside 3dfa. Is there anything I could be doing wrong?

  2. #2
    Arem
    Join Date
    Oct 2002
    Location
    Inside your computer....
    Posts
    47

    Sure why not

    You might be doing something wrong, but regardless, THERE'S A MUCH EASIER WAY TO DO IT! Go to Add an Element... click on (I think it says somehing like File Import... or something, it's the top one)

    then find your picture!

  3. #3
    Junior Member
    Join Date
    Oct 2003
    Posts
    3
    Yes, I realize about the image thing...what I'm trying to do is have a "dynamic picture" one that will change based upon what's at that certain URL the <img> tag is pointing to...not a static one built into the flash animation.

  4. #4
    Arem
    Join Date
    Oct 2002
    Location
    Inside your computer....
    Posts
    47

    oh

    My Bad. Um, I don't think it is possible to do it thru the HTML thing but there have been great examples of this in the past on this forum, so if you were to search it, I'm sure you'd find one! Other than that, I'm no good to help you because I wanted to do that, but I couldn't figure it out. Call me stupid!

  5. #5
    Junior Member
    Join Date
    Oct 2003
    Posts
    3
    Hey, don't insult yourself...I'm the one fumbling for info lol. I'll look on the forum for examples as you said.

  6. #6
    Junior Member
    Join Date
    Dec 2001
    Posts
    21
    Cau use load *.html and use scrol any body can send me exmple

  7. #7
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    From the help files:

    Dynamic html can be scrolled and the text to be changed at any time using a script - although formatting is limited to only a few basic tags such as <a>, <b>, <font color>, <font face>, <font size>, <i>, <p>, and <u>. You must use quotation marks around attributes.

    The dynamic export option allows you to change the text using the 'htmlText' property of the element. The following script will change the text in a dynamic HTML element.

    my_html = element ("HTML 1");
    my_html.htmlText = "<b>This will appear bold</b>";


    Extended formatting allows you to use tables and include images, but the text cannot be changed by a script.

  8. #8
    Junior Member
    Join Date
    Dec 2001
    Posts
    21
    Sorry i new in 3dfla can u send me sample file
    Thanks

  9. #9
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    To scroll just add a scroll bar and select the HTML as the element to scroll.

    As for adding to the HTML
    1) Make sure it's set to DYNAMIC html NOTE The limitations on tags!
    2) Set the Text in the HTML box like this
    element ("HTML 13").htmlText="<B>TEST</B>"
    or if you've loaded some variables and one contains your HTML you can assign it to the variable just as easily.

  10. #10
    Junior Member
    Join Date
    Dec 2001
    Posts
    21
    can use external *.html

  11. #11
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    You can if you can manage to load it as a variable.

    I don't believe you can point to just an HTML file though.

  12. #12
    Junior Member
    Join Date
    Dec 2001
    Posts
    21
    any body can send me example

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