Home
> SlideshowBox 2
> Topic
Applying new font
Posted by user857566
Applying new font August 29, 2011 08:51PM | Registered: 12 years ago Posts: 8 |
Can someone help me and include for me the Google Web Font 'Oswald' in a new swf. I can't import the component in my Flash Version to make this... You can find the font here : [www.google.com]
Thanks
Thanks
Re: Applying new font August 30, 2011 08:25AM | Admin Registered: 13 years ago Posts: 248 |
Re: Applying new font September 01, 2011 03:27PM | Registered: 12 years ago Posts: 8 |
Re: Applying new font September 02, 2011 12:17PM | Admin Registered: 13 years ago Posts: 248 |
Re: Applying new font September 03, 2011 02:27PM | Registered: 12 years ago Posts: 8 |
Re: Applying new font September 03, 2011 04:52PM | Registered: 12 years ago Posts: 8 |
Ok, it works now... I had to open the Extension Manager through the Flash Programm and not directly.
Now I would to create the exact same file like PolaroidVectorial.swf and include the specific font, if I use the Panel to edit the parameters I can't edit them afterwards when the swf is created. I would control them with this embed code:
<object id="PolaroidVectorial1299743017765" type="application/x-shockwave-flash" data="PolaroidVectorial.swf" width="800" height="600">
<param name="movie" value="PolaroidVectorial.swf" />
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="bgcolor" value="#1C1C1C" />
<param name="wmode" value="window" />
<param name="flashvars" value="source=source.xml&domainKeys=&audioFile=&audioPlayerIcon=speaker&audioPlayerColor=0xFFFFFF&loopAudio=true&audioPlayMode=audioOff&autoSlideShow=true&slideShowSpeed=6&backgroundVisible=true&backgroundColor=0x1C1C1C&backgroundImage=&scaleBackground=true&autoHideControls=false&controlsHideSpeed=2&controlBarAlpha=1&controlBarPrimaryColor=0x333333&controlBarSecondaryColor=0xCCCCCC&navigationControls=true&slideShowControls=true&fullScreenButton=true&showImageInfos=true" />
</object>
How can I do this, or could you give me the respective AS3 code to make the PolaroidVectorial.swf from the SlideshowBox Component?
Edited 2 time(s). Last edit at 09/04/2011 11:01AM by user857566.
Now I would to create the exact same file like PolaroidVectorial.swf and include the specific font, if I use the Panel to edit the parameters I can't edit them afterwards when the swf is created. I would control them with this embed code:
<object id="PolaroidVectorial1299743017765" type="application/x-shockwave-flash" data="PolaroidVectorial.swf" width="800" height="600">
<param name="movie" value="PolaroidVectorial.swf" />
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="bgcolor" value="#1C1C1C" />
<param name="wmode" value="window" />
<param name="flashvars" value="source=source.xml&domainKeys=&audioFile=&audioPlayerIcon=speaker&audioPlayerColor=0xFFFFFF&loopAudio=true&audioPlayMode=audioOff&autoSlideShow=true&slideShowSpeed=6&backgroundVisible=true&backgroundColor=0x1C1C1C&backgroundImage=&scaleBackground=true&autoHideControls=false&controlsHideSpeed=2&controlBarAlpha=1&controlBarPrimaryColor=0x333333&controlBarSecondaryColor=0xCCCCCC&navigationControls=true&slideShowControls=true&fullScreenButton=true&showImageInfos=true" />
</object>
How can I do this, or could you give me the respective AS3 code to make the PolaroidVectorial.swf from the SlideshowBox Component?
Edited 2 time(s). Last edit at 09/04/2011 11:01AM by user857566.
Re: Applying new font September 05, 2011 02:03PM | Admin Registered: 13 years ago Posts: 248 |
The swf is created by the flash cs program and not by some code.
In your flash file you need to drag the component on the stage and then to use the slideshowbox panel to set the font, template, source xml....etc After everything is set you need to press ctrl+enter and the swf file will be generated. Anyway for this new file you will need to use a different embed code and not the one from the template example folders.
In your flash file you need to drag the component on the stage and then to use the slideshowbox panel to set the font, template, source xml....etc After everything is set you need to press ctrl+enter and the swf file will be generated. Anyway for this new file you will need to use a different embed code and not the one from the template example folders.
Re: Applying new font September 05, 2011 03:33PM | Registered: 12 years ago Posts: 8 |
I know, but when I use the panel to edit the parameters, they are fixed forever. It's not what I want... I want to edit these parameters with a embed code afterwards the swf is created. So how can I do this?
It must be possible because it works with the original given PolaroidVectorial.swf file
It must be possible because it works with the original given PolaroidVectorial.swf file
Re: Applying new font September 06, 2011 11:14AM | Admin Registered: 13 years ago Posts: 248 |
Re: Applying new font September 06, 2011 04:03PM | Registered: 12 years ago Posts: 8 |
Re: Applying new font September 07, 2011 11:24AM | Admin Registered: 13 years ago Posts: 248 |
In that case you need to use FlashVars in order to send the value from the embed code to the swf.
Read about flashVars here:
[kb2.adobe.com]
[blogs.adobe.com]
Read about flashVars here:
[kb2.adobe.com]
[blogs.adobe.com]
Re: Applying new font September 08, 2011 04:29PM | Registered: 12 years ago Posts: 8 |
Ok thanks, I will try it...
But I have an other question... What's the name of the Album created by the SlideshowBox Panel? I want that the album always fit the stage with the following AS3 code but I don't know the name used by the component.
myAlbum.width = stage.stageWidth;
myAlbum.height = stage.stageHeight;
Can I access all parameters of the album like this?
myAlbum.slideShowSpeed=3;
myAlbum.source=source.xml;
myAlbum.showImageInfos=true;
myAlbum.fontSize=20;
...
But I have an other question... What's the name of the Album created by the SlideshowBox Panel? I want that the album always fit the stage with the following AS3 code but I don't know the name used by the component.
myAlbum.width = stage.stageWidth;
myAlbum.height = stage.stageHeight;
Can I access all parameters of the album like this?
myAlbum.slideShowSpeed=3;
myAlbum.source=source.xml;
myAlbum.showImageInfos=true;
myAlbum.fontSize=20;
...
Re: Applying new font September 08, 2011 06:44PM | Registered: 12 years ago Posts: 8 |
Sorry, only registered users may post in this forum.