User Tag List

Results 1 to 2 of 2

Thread: Character Image issues in Flash

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Character Image issues in Flash

    Hi

    I've been trying to determine the number of lines that are displayed by each instance of the same Character Image object. ie: I have one Character Image object in the frame and I create more than one instance of it at runtime, assigning each a different text string of various lengths to display.

    What we really need is a GetLineHeight function so I can determine how many lines of text the object is displaying, could this function be added please?


    However in looking for a work around to this, I have found a couple of bugs in the Flash version of this object.

    1) Set Invisible action doesn't seem to work.
    2) I have put in a condition to: (Character Image): On Line Draw --> with action to add 1 to the Alterable Value A of the Character Image object. I also have some counters to display the alterable values.

    In the MMF runtime it works correctly. The alterable values display the number of lines of text displayed by each Character Image. In the example I have, this is 3 and 1.

    In the Flash runtime the number of lines that comes back are doubled, as if the Character Image instances were rendered twice, causing the "On Line Draw" event to trigger twice as many times. This means MMF might say I have 3 lines of text while the SWF version says I have 6 lines of text. In another app I've seen the numbers exponentially multiply in comparison to what I see in the MMF runtime but not tracked down why.

    This is regardless of how many instances I have btw. Just having one instance of the object in the frame will give the same results.

    See the attachment for an example.

    So as well as a new GetLineHeight function, could the two issues be fixed too please?
    Attached files Attached files
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Character Image issues in Flash

    On the number of text lines problem, I have found that the Character Image object already has a function to return the number of lines but I wasn't able to get it to work for me when I tried it myself. However in one of the example files I found this:

    LineUnformattedTextAt( "Character Image", UnformattedLength( "Character Image" )-1)+1

    And it works a treat - no problems so far That's solved the problem I was trying to work through. The two bugs described above still stand.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

Similar Threads

  1. Non-Latin Character Issues
    By XStar in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th December 2013, 10:03 AM
  2. Character change out issues.
    By Madefrommadness in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th July 2013, 05:50 PM
  3. Character Image: Load Character Images from Folder
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th May 2011, 06:56 PM
  4. Character Image in Flash
    By Mokhtar in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 1st September 2010, 06:05 AM

Posting Permissions

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