Announcement

Collapse
No announcement yet.

replacing .swf field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replacing .swf field

    Hi,

    My first post, so here goes.

    I have created an autoplay screen comprised of 3 fields.

    have a look here:
    http://www.sleepingdog.com.au/indigo.jpg

    I have a large field on the left which is a flash movie running for approx 30 seconds (#3 on the jpeg)

    section #2 isn't complete yet, but at the moment it's a single flash file (named "bio").

    I also have another smaller flash movie on the top right (#1 on the jpeg)

    What I need is for my clients to click the "bio" flash file and for the "bio" information to appear in section #3 (where the large flash movie plays).

    So...Let me try to be clearer...I need that movie in section #3 to load and play through UNTIL the user clicks an item in section #2 (where "bio" is). When "bio" is clicked, I need section #3 to dissapear and for some sort of window to come up with "bio" information.

    How can I do this?

    Thanks
    Matt
    [email protected]

  • #2
    Re: replacing .swf field

    Hi, this should be real easy ...

    [*]Place a Text Object [Text1] on the page where the Movie is playing.[*]In page event: On.Initialize, hide the text object so it's invisible <Page.HideObject["Text1"]>[*]Place a hotspot over the BIO are with the following Actions, OnClick:[*]Page.HideObject["swf#3"][*]Page.ShowObject["Text1"][*]TextObject[Text1].SetText["whatever you want it to say"]

    FYC:
    <font color=green>
    <IR_ACTIONS_LIST>
    <Action name="Hide Object">
    <Type>16</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <ObjectName>swf#3</ObjectName>
    </Action>
    <Action name="Show Object">
    <Type>17</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <ObjectName>Text1</ObjectName>
    </Action>
    <Action name="Set Text">
    <Type>75</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <ObjectName>Text1</ObjectName>
    <Text>whatever you want it to say</Text>
    </Action>
    </IR_ACTIONS_LIST>
    </font color=green>

    Just edit the "swf#3" to the correct object
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

    Comment


    • #3
      Re: replacing .swf field

      Derek,

      Is there a way to build the .swf so "On Click" is does a fsCommand. That way when you click the bio.swf it would do that fsCommand and in AMS you could do the hide and show commands you have listed above.

      Don't know much about flash that is why I am asking.

      Ignorance is not bliss, it is frustrating
      TJ-Tigger
      "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
      "Draco dormiens nunquam titillandus."
      Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

      Comment


      • #4
        Re: replacing .swf field

        Heh .. sure is frustrating.

        Absolutely! I was thinking about FSCommand during the reply but was much easier [in this case, for explanation] to go with a hotspot. Of course, you wouldnt need the hotspot with FSCommand. The rest would follow the same [img]/ubbthreads/images/icons/smile.gif[/img]
        -
        = Derek
        ["All glory comes from daring to begin" - fortune cookie]

        Comment


        • #5
          Re: replacing .swf field

          Hey,

          Thanks allot Derek - that worked a treat!

          On the topic of hotspots, I find them to not be very accurate when placed over flash files...as apposed to jpegs etc. By this I mean the cursor (or hand etc) works in a scattery fashion...never on the mark of your hotspot..always to the left or right, and only in a small area. Do you know anything about that?

          Matt

          Comment

          Working...
          X