Results 1 to 9 of 9

Thread: UI Scroll Component Question

  1. #1
    Join Date
    May 2007
    Posts
    71
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default UI Scroll Component Question

    How do I insert pictures or buttons/movieclips into the scrollable text area?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    If you are using version 8 or 9 you can do this. 7 or below and you cannot. What is happening is the UI's AS is controlling the text area. You could rewrite that, but it is a pain. The other method is to use HTML in the text area and render HTML in the properties box.

    Version's 8+ support the img tag.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    May 2007
    Posts
    71
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    So I am loading an external text file for the html formatted content of the scrollable text area, but The scrollable area won't display all my content?

    Here is my AS:
    Code:
    myData = new LoadVars();
    myData.onLoad = function() {
    	packagestext.html = true;
    	packagestext.htmlText = this.content;
    
    };
    myData.load("packages.txt");
    Here is my txt file:
    Code:
    content=<p><b>Package 1 - Full Service Coordination</b><br>This package is an all inclusive wedding coordination package. It offers you unlimited access to your planner.  Unlimited pre-wedding coordination hours, unlimited day of coordination hours, unlimited design and concept hours, unlimited vendor meetings, Vendor negotiations, preferred Vendor access and referrals, Budget Breakdown and analysis, Wedding time lines for you and all vendors, Wedding rehearsal, Rehearsal dinner coordination, Officiant selection, venue selection, floral design, entertainment for ceremony and reception,  Wedding cake selection and tastings, Photography, Videography, Invitation selection and wording, Formalities, Logistics, Transportation, Wedding website, favors, Hair and Makeup, Spa and Golf outings, day activities, group reservations and accommodations and anything else your heart may desire!  All of the planning behind your perfect day can be overwhelming and stressful; the last two words that should be mentioned when you speak of your wedding day.  So let us help you with the planning while you enjoy the process and feel brke a princess.  We will coordinate, plan, execute and perfect your day!  With this package we are with you through every step of the way. We will never leave you wondering if your decisions were sound we will only recommend vendors that have proven to be the best.<br><br><b>Package 2 - Day of Coordination</b><br>This package is for the couple that has most of the planning done and wants to relinquish the reigns to a pro. Now that all of your decisions and plans are made sit back and relax,  we will take over where you left off. You will have no hassles, problems, or questions on your wedding day. Vendors will arrive as agreed, products will be delivered as agreed, time lines will be kept, the set up will be flawless, wedding crashers will not exist.  And if something does goes wrong you won’t know about it.  By hiring us for your wedding day all of these tasks are ours to make sure of. We will handle all questions from vendors, any set backs, any product mis-orders, any tardies and of course unwanted guests.  We will send a detailed time line to all vendors to outline each of their responsibilities and expected arrival and departure times. You get to enjoy your hard work and reap the benefits of being the center of attention all day long. We will contact your vendors, venue and of course meet with you prior to discuss the details you have selected. We will arrive early to supervise the set up of the ceremony and reception. Then we are with you for the rest of the day to make sure the day flows as it should. This service is charged on an hourly basis. Additional coordination is available upon request.<br><br><b>Package 3 - Destination Las Vegas Weddings</b><br>You have decided to get married in Fabulous Las Vegas, but where do you start?  Do you want to get married in a chapel on the strip or maybe somewhere with an awesome strip view, or maybe at a gorgeous golf course. So many places to choose from without being here to do it. Decisions are hard to make using only the internet!  You need someone local to search for you and give you expert advice.  You are in luck this package will do just that.  You will receive limited pre-wedding coordination hours, venue selection, floral design coordination, transportation coordination, access to a  photographer and videographer who can deliver a CD of all wedding images to your hotel room the day after the wedding with copyrights!  Budget management and analysis, Wedding time lines, dinner and show reservations, guest travel and accommodation assistance, day activities for groups, a limo to take you to the courthouse to get your marriage license with a bottle of champagne for you to enjoy and hair and makeup right in your hotel room.  Did you think about your bachelor and bachelorette parties?  This is Vegas with Nightclubs home to the famous.  We specialize in VIP entrance and private table service at the hottest clubs in town.  Let us help plan a truly amazing wedding in our home town for you!<br><br><b>Valentines Day Specials</b><li>Limo ride with Champagne and Strawberries to the courthouse and back to your hotel room.</li><li>$135.00  (No packages required) <b><a 
    href="javascript:openNewWindow2('http://simplyvipweddings.com/las-vegas-wedding-planner-request.html','open_window','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,dependent,width=620,height=555,left=0,top=0')">Book Now!</a></b></li><br><b>Valentines Chapel Special </b><br>Flamingo West Lawn at the Flamingo Las Vegas Hotel &amp; Casino.<br><img src="http://www.simplyvipweddings.com/Images/flamingo-west.jpg"/><br> - $1,400.00 <b><a href="javascript:openNewWindow2('http://simplyvipweddings.com/las-vegas-wedding-planner-request.html','open_window','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,dependent,width=620,height=555,left=0,top=0')">Book Now!</a></b><br><br><li>Wedding Ceremony</li><li>Minister (including tip)</li><li>Wedding Coordinator</li><li>Clutch Style Bouquet and Groom’s Boutonniere (Flowers of your choice)</li><li>Photographer with (12) 4x6 Photographs</li><li>Red Rose Petal Isle treatment</li><li>Leather-bound Wedding Album</li><li>Leather-bound certificate holder</li><li>Pianist for Ceremony</li><li>Beautiful Blue Garter</li><li>Bride and Groom Momento Shirts</li><li>limo ride with Champagne and Strawberries to the courthouse and back to your hotel room</li><li>VIP hosted entry to Tao Nightclub for the wedding night or the night before</li><li>VIP Reservations to any restaurant</li><li>Assistance with travel arrangements</li></p>
    The Scrollable area stops right before the <img> tag?

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    In the text area (on stage) have you selected the option to enable HTML(in properties panel)?
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    May 2007
    Posts
    71
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah, definitely.

  6. #6
    Join Date
    May 2007
    Posts
    71
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    So I found the problem... I was using a "&amp;" and flash didn't like it apparently.

    With that problem solved my image is still not showing up? All of the rest of my html works except for my img tag???!??

    Code:
    <img src="http://simplyvipweddings.com/Images/flamingo-west.jpg" align="left" width="150" height="113">

  7. #7
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Hmm.. it may be the align element. Flash is not designed to be an HTML parser. The HTML it does accept is slight. you may have to design a specific spot for the image to load, or you can put the links in an XML file and load through that.

    Also check that you are publishing for Flash version 8 at least.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  8. #8
    Join Date
    May 2007
    Posts
    71
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am publishing to version 8, the align element is recognizable in flash, but even when I took it out still nothing.

    How would I design a specific spot for the image to load within an external html file other than what I am doing?

  9. #9
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Is this a textarea component that you're using? If so...no need for the .htmltext, just use textarea.text = "HTML String" (as long as the html paramater it turned on in the properties panel.

    I got your image to work in a textarea component. See here.

    Source:
    Attachment 1540


    Also, to get a little more control over the output, you might want to have a look at this: http://livedocs.adobe.com/flash/8/ma...=00004041.html

Bookmarks

Posting Permissions

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