load presentation into a swf
Author | Message |
I am building a custom interface for a ispring presenter generated swf. I have this working fine in two ways. One if I publish my file as an air app it loads the ispring presenter generated swf just fine. The other if I publish my file as a swf and I load the ispring presenter generated swf from a server using a full http://mydomain.com/presentation.swf. However the problem is if I have my presentation sitting next to my published file and want to load it locally. this does not work and gives me url not found. if I load it using just flash loader it loads so I know the url is correct. I really need it load into a swf as that will be la module that loads into my main app. I have other swf modules loading fine I am not sure why this would be any different.
|
Please use CPresentation loader inetrface to load converted FlashMovies with iSpring Presenter into your project. You can learn more at the following page in our online documentation:
|
where can I download those classes from? currently were using ispring.as2player
|
could not find the classes any where on your site so I had to install the sdk and found them.
|
Please run samples from the directory of the original iSpring SDK installation. All the samples provided are working correctly.
|
none of the samples in the sdk use the fsplayer api classes. the link you providedhttp://www.ispringsolutions.com/help/index.jsp?topic=/sdk_index/as_api/cpresentationloader.html with this code Code: import fsplayer.api.*; var loader:CPresentationLoader = new CPresentationLoader(); // this object (in our case it is _root MovieClip) will listening to the player loader.setPlayerListener(this); // load generated Flash presentation loader.loadClip("presentation.swf", presentation); // this method is invoked when player gets initialized function onPlayerInit(p:IPlayer):Void { // add your extra initialization code here } gives this error C:\Users\dave\Desktop\SmartModule\src\fsplayer\api\IPlayer.as, Line 1 5007: An ActionScript file must have at least one externally visible definition. now this appears to be an issue with the fsplayer api that you sugested we try to use with a flex app. to resolve the issues mentioned in this post.
|
Can you please address this issue. We have paid good money for the software and it is not doing what it was advertised to do, your code samples and classes appear to be broken. We have invested time and money into developing with this product and now are at a standstill in this project due to these issues.
|
Sorry for not getting back to you sooner, however I figured out the reason of this issue.
|
please read the original post. That is the method I am using and is giving errors when used as an air app. It gives an url path error even though the url is correct and using the same path I can load the presentation using the standard flash functions, but with those I cant control the presentation. That is when you suggested using fsplayer which now you say is as2. Please advise on how to resolve this issue, after reading the original post.
|
The path error is occurred since when using ispring.as2player.PresentationLoader class, URL string contains 2 more parameters. They establish local connections between loaded Flash presentation and PresentationLoader. The URL looks like: mypresentation.swf?param1=value1¶m2=value2 which cannot be accepted by FlashPlayer as a file name, while it is the valid URL.
|
I have no idea what your talking about. I am not trying to pass any variable to the swf via url I am simply trying to load presenter.swf file into an air app
|
Sir, please contact us at our support mail with the definite description for this problem.
|
||||
|
Who is online | |
---|---|
![]() |
In total there are 8 users online :: 2 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes) Most users ever online was 803 on Sat Dec 12, 2020 9:21 am Registered users: Bing [Bot], Google [Bot] |