Skip to main content
Inspiring
December 8, 2010
Question

Movie Clips

  • December 8, 2010
  • 1 reply
  • 582 views

Hi all, if any one could give me any advice on this it would be greatly appreciated!

I am trying to create an emag and i am stuck on one thing at the moment. The eMag was originally created in InDesign. I create the swf file of the magazine and the page curl is working fine when previewed in the browser. What i am trying to achieve tho is a navigation panel at the top, which would include 2 buttons to go to the next or the previous page.

My question is how to i target the movie clip that contains the .swf file so that when a button is clicked it turns the page within the swf file?

I did google this and found some solutions but they were in AS2 and i am still quite new to scripting and have started learning AS3:-)

This topic has been closed for replies.

1 reply

December 8, 2010

Hi,

is the page curl part a component?
or do you load a swf (curl swf) to another swf ?

Is that page curl swf written with AS3?

You should know the function names and parameters to control the curling movieclip (or component)

Inspiring
December 8, 2010

Hi

Thanx for the reply,

Yea the page curl is a component, it is a UILoader that loads in the .swf file which is the page curl file.

The page curl is not written using AS, it is created via exporting from InDesign CS5 as a .swf file with the page curl option ticked.

My file consists of a FLA file, with a UILoader placed in the centre of the .FLA file with some buttons above it, i have written the basic function for the buttons but have no idea what to put in between the { }

I tried this but this failed.

eMag.nextPage();

//eMag is the name of my movieclip//

December 8, 2010

I don't know InDesign, so I don't know how it exports the file.

I would export from InDesign as a Fla file and edit with Flash. So I can see how it works (codes , buttons , etc....)