6 Replies
Brian Houle

Hi, Andrew:

Do you mean change the position of the slides?

_level22 mcSlideGroup _x = n;

_level22 mcSlideGroup _y = n;

This will be affected by the displaymode of the slide/presentation, so you might want to hard code that using:

ArtAPI SetDisplayMode(x);

One thing to consider is whether or not you want your player to respond to different display modes either in the player template or on a per slide level  If you don't want to accommodate that for the course designer, you need to override it  Of course, if the player isn't going out for general consumption, it's not so big a concern

Good luck,

Brian

onEnterFrame (James Kingsley)

This is a very tough nut to crack there are many dependencies and unexpected things happen when you move it anywhere but one of the 3 standard positions

Articulate will keep trying to move it back quizmaker and engage files are on different levels then the slide content, web objects, videos, etc all need to be moved

It ain't easy but I have manged to it  

Steve Andrews

Hi folks, thanks for the responses

Brian: I tried using the code you suggested by placing it in my custom skin but no joy

_level22 mcSlideGroup _x = n;

_level22 mcSlideGroup _y = n;

I replaced each 'n' with a number to try and position the slide but it had no effect How dis you work out the slides are on _level22 - is there Articulate documentation for this?

Brian Houle

Hi, Steven:

No, there's no documentation  It's mostly trial and error after enumerating the contents of a published course (and dumping the output into Excel for reference), and the knowledge base in the (old) forum   What's the context in which you're trying to move the slide?  Are your trying to move the position of the slide at launch or in response to a button click (for instance)?

If you're trying to move the slide position at launch, try doing a setInterval to call the function that repositions the slidegroup  Delaying the execution of that code at launch seems to be key

For example:

private var m_nInterval:Number;

//constructor

     public function customSkin() {

     m_nInterval = setInterval(this, "repositionArticulate", 1000);

}

private function repositionArticulate() {

      clearInterval(m_nInterval);

      _level22 mcSlideGroup _x = 150;

      _level22 mcSlideGroup _y = 55;

}

Keep in mind, though, that if you move the slide stack in this way, you also have to account for positioning toolbar drop-downs, QM and Engage content, Flash content, etc

Good luck,

Brian

onEnterFrame (James Kingsley)

I would also recommend that run that bit of code often

Articulate sometimes tries to move the content to one of the 3 default positions you need to make sure it stays put

You are probably running some code every few milliseconds to check for slide up dates anyway add this function to that

Steve Andrews

Hi folks thanks for the advice I've got it working now sort of Works fine in No-sidebar view  - I can position the slide where ever I want and it stays there - even interactions and quizzes I have the positioning script running at a 0 5 sec interval

The only issue is, it doesn't work if I use slide only view - I created a version with slide only view set so I could have the maximum possible slide size available (813 6 pixels wide x 610 2)  Regular slides display where ever I specify but interactions and quizzes are always centred

I think I'm going to go with re-positioning in No-sidebar view for now

Thanks again for your help

Steve