Skip to main content
Known Participant
March 10, 2013
Question

Help with properties

  • March 10, 2013
  • 1 reply
  • 562 views

Hi

In the publish part of flash it goes target script then class if you change that class to the class I want it changed it on all the frames but I only want that class file to happen on frame 2.

Is there a way so that class bit can only be that class file for frame 2 but something else for other frames

Any help

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
March 10, 2013

If you are talking about the document class, no, there can be only one document class for a file.  But you can import any class in any frame where you need it.

Known Participant
March 10, 2013

Hi

It's the class bit in the property's panel

How would in tell flash when I click a button to go to frame 2 activate class file Game

Ned Murphy
Legend
March 10, 2013

What do you mean when you say "activate class file Game"?

As far as getting a button to do something, you just use a MouseEvent listener and event handler function like you would do anytime.