Reply
New Member
JackieMorris
Posts: 1
Registered: 12-26-2011
0

Spacer class missing from player API?

[ Edited ]

I'm using a Spacer in my BEML layout, and I would like to be able to use ActionScript to control whether or not the Spacer gets included at runtime. The BEML DTD shows this component as having a "includeInLayout" property, but for some reason I cannot find the corresponding Spacer class in the player API. personal loans -> http://samedayonlineloans.net personal loans Here's what I'm trying to do:



In BEML:


<Spacer id="spacer" width="8"/>

In my overlay SWF:


var mySpacer = experienceModule.getElementByID("spacer");
mySpacer.setIncludeInLayout(false);

This approach works fine with other components like ToggleButton, but won't work with Spacer and actually causes my overlay SWF to malfunction. Is this because Spacer is not exposed in the API?

Brightcove Team
BC-Oscar
Posts: 455
Registered: 12-11-2008
0

Re: Spacer class missing from player API?

Yes that is the reason. I’ll open an enhancement request to add an API for the Spacer

Brightcove Team
BC-BrianD
Posts: 275
Registered: 12-10-2008
0

Re: Spacer class missing from player API?

Jackie, you may want to check to see if something happened with your password?  I see a link in the middle of your question that doesn't make sense, not sure if someone is acccessing your account to do this.

-----
Brian Deitte, Brightcove player developer
http://twitter.com/bdeitte