A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Dynamic text roll over box

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    1

    Dynamic text roll over box

    Hi,
    Im trying to make a website and i would like to include some flash. What im trying to do at the moment (but failing misserably) is to make a roll over box that as you roll over the image changes to text (that part i get) but i want the text to be dynamic so that it can be updated from a seperate text document. I have found this but its works when pressing on buttons. but i want the dynamic text to be there when you roll over the box changing hte image to text.
    PHP Code:
    on (release) {
        
    loadText = new LoadVars();
        
    loadText.load("TEXT1.txt");
        
    loadText.onLoad = function(success) {
            if (
    success) {
                
    // trace(success);
                
    newsBox.html true;
                
    newsBox.htmlText this.myNews;
            } 

    This is a rough version of what it is to look like.

    Hope somebody can help.
    thanks for taking time to read this.

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    its works when pressing on buttons
    change the on(release) by an onRollOver
    btw, actions on objects are not suggested if you are working in AS 2.0

    gparis

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    1

    Dynamic Rollover

    Hi Entrice,

    I have a better effect for your purpose..its a card flip effect.

    One side is a .jpg or .txt, and when u click on the image it flips over, and reveals whats on the other side. You can do it for multiple images as well.

    I can direct you to the website, or send you the .fla if you would like to see if this effect meets your needs. Its a super effect!

    Potsy.

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