A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: High Quality Toggle

  1. #1
    Junior Member
    Join Date
    Jul 2000
    Wondering if there is a better way to specifically toggle the high/low quality of flash movie.

    I want to be able to say, "hey make this high quality" with out having to worry about wether or not its already in high quality mode (maybe it had already been tripped by a previous function).

    Thanks - Alexis

  2. #2
    You could use the High quality property on a button:

    On (Release)
    Set Property (High quality) = True
    End On


    On (Release)
    Set Property (High quality) = False
    End On

    If you wanted the same button to toggle High quality on and off, set a variable "hq" for example and use it to create a reference point:

    On (Release)
    If (/:hq = 0)
    Set Property (High quality) = True
    Set Variable: "/:hq" = 1
    Set Property (High quality) = False
    Set Variable: "/:hq" = 0
    End If
    End On

    There are other ways but this should work.

    Markus B

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