Articulate Community Forums



Articulate Community Forums » Articulate Product Forums » Articulate Presenter Player SDK » Slide sizing

 
 
LinkBack Thread Tools Search this Thread
Old 06-30-2010, 03:44 AM   # 1
Member
 
Join Date: Jun 2010
Posts: 13
Default Slide sizing


Hi,

We have a pile of Flash movies sized at 760x560 and when viewed in blogPlayer the movies are clipped. Can anyone suggest a quick fix that won't mess the graphic rendering within the movie or am I looking at resizing the whole lot ?

Many thanks

Tim
timrelton is offline  
Old 07-01-2010, 09:16 AM   # 2
Member
 
Join Date: Sep 2006
Location: Arlington, VA
Posts: 121
Default Re: Slide sizing


I'm not sure if this would work; however, here's a suggestion to try.

Flash movies are embedded in _level33.g_mcMoviePlayer. In your custom skin, you could try using the _xscale and _yscale properties on _level33.g_mcMoviePlayer in the slides that contain the large movies.

I'd be curious to know if you try this and it works.
__________________
Cyrelle Gerson

freelance elearning developer
www.webucateus.com
cyrelle is offline  
Old 07-01-2010, 11:41 AM   # 3
Member
 
mb007's Avatar
 
Join Date: Aug 2007
Posts: 67
Default Re: Slide sizing


Quote:
Originally Posted by cyrelle View Post
I'm not sure if this would work; however, here's a suggestion to try.

Flash movies are embedded in _level33.g_mcMoviePlayer. In your custom skin, you could try using the _xscale and _yscale properties on _level33.g_mcMoviePlayer in the slides that contain the large movies.

I'd be curious to know if you try this and it works.
That's a great suggestion Do you know what level is the main PPT slide loaded to?
mb007 is offline  
Old 07-01-2010, 11:59 AM   # 4
Member
 
Join Date: Sep 2006
Location: Arlington, VA
Posts: 121
Default Re: Slide sizing


Here is a list I put together based on several discussions in this forum.

List of levels for Flash in Articulate
_level22.mcSlideGroup PPT slide loaded into in Articulate
_level33 Flash embedded in PPT slide
_level33.g_mcMoviePlayer container for swf and flv
_level44 Side panel
_level55 Quizmaker
_level56 Engage
_level57 Toolbar items
_level58 ast_notes.swf and navicons

_level55.g_mcFrame quizmaker interaction
_level56.mcImageContainer Engage interaction??

Hope this is helpful.
__________________
Cyrelle Gerson

freelance elearning developer
www.webucateus.com
cyrelle is offline  
Old 07-02-2010, 10:30 AM   # 5
Member
 
mb007's Avatar
 
Join Date: Aug 2007
Posts: 67
Default Re: Slide sizing


Thanks! it does
mb007 is offline  
Old 07-07-2010, 03:28 AM   # 6
Member
 
Join Date: Jun 2010
Posts: 13
Default Re: Slide sizing


Hi again,

Sounds a good plan. I'm a noob to the player skins but have knocked together a skin I'm happy with. How could I change the variable within my custom skin ? I have tried adding the line

_level33.g_mcMoviePlayer._xscale = 200;

Into an action in my API_Tester.fla as a test but nothing changed. Am I doing this right ?
timrelton is offline  
Old 07-07-2010, 08:35 AM   # 7
Member
 
Join Date: Sep 2006
Location: Arlington, VA
Posts: 121
Default Re: Slide sizing


I did some playing around by putting the scaling statements into a custom skin. Try creating a skin with statements something like the following:
Quote:
function scaleFlash()
{
_level33._xscale = 45;
_level33._yscale = 45;
}

setInterval(scaleFlash,100);
Then insert a Flash movie on a slide and publish. Be sure to load your custom skin with an appropriate ast_remote.swf and copy of yourSkin.swf in the player folder. Flash movies on all slides will be resized with this method. You can add programming logic in your skin to resize the Flash only on specific slides and to specify the _x and _y positions.

You need some kind of event to occur to trigger the resizing. I tried just having a statement to execute when the skin loads, but the Flash movie in the slide is loading after the skin, so you need to put the resizing statements in a function that is called by some kind of event.

Hope this helps.
__________________
Cyrelle Gerson

freelance elearning developer
www.webucateus.com
cyrelle is offline  
Old 07-15-2010, 08:16 AM   # 8
Member
 
Join Date: Jun 2010
Posts: 13
Default Re: Slide sizing


Thanks for all the replies,

Cyrelle suggestion works best but unfortunately not exactly as I need it so a mega resize operation is in progress !

Once I'm out of that I have a similar problem with Quizmaker inserts. I can use Cyrelle's method of resizing which will work but is there a way to make the y position at the foot of the available area rather than at the top ?
timrelton is offline  
Old 07-15-2010, 09:32 AM   # 9
Member
 
Join Date: Sep 2006
Location: Arlington, VA
Posts: 121
Default Re: Slide sizing


I think that you would need to add the height of the target movieclip to the y position to find or define the position of the left corner of the movieclip
__________________
Cyrelle Gerson

freelance elearning developer
www.webucateus.com
cyrelle is offline  
Old 07-15-2010, 10:52 AM   # 10
Member
 
Join Date: Jun 2010
Posts: 13
Default Re: Slide sizing


Thanks Cyrelle,

You're right, adding the lines

_level55._xscale = 95;
_level55._yscale = 95;
_level55._y = 55;


To my API-Test.fla actions has done the trick.

Thanks for your help
timrelton is offline  
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Articulate E-Learning Blogs

×

Search Engine Friendly URLs by vBSEO 3.1.0