IMA3 - AS3 SDK with flashplayer 9 issue

105 views
Skip to first unread message

siva sankar

unread,
Dec 19, 2014, 2:27:52 AM12/19/14
to ima...@googlegroups.com
Hi,

I created a demo file using the IMA SDK. When I published the flash player 10 there is no issue.

When I published the same using flash player version 9 it throws the following error (error because of the line "adsLoader.loadSdk()" )

Error: Error #2099: The loading object is not sufficiently loaded to provide this information.
at flash.display::LoaderInfo/get loader()
at com.google.ads.ima.loader::AdsLoaderImpl/get loaderInfoWrapper()
at com.google.ads.ima.loader::AdsLoaderImpl/isEmbeddedSdk()
at com.google.ads.ima.loader::AdsLoaderImpl()
at com.google.ads.ima.loader::AdsLoaderImplFlash10()

When i comment the loadSdk() function there is no error. 

My Questions are 
  1. Is there any constrain on the publishing flash player version? what are all other constrain.
  2. I want to catch the error how to do that (try...catch/AD_ERROR didnt work).
I am updating the IMA container to my clients. They may published  video player version < 10. On that case I want to catch error and want to move to content.How to do that?

Note:
I published my demo on flash player 9. Then I open the demo flash file on browser. The browser have flash player version 16.x.x. Still I got the mention error.

Thanks,
Siva

Bret McGowen

unread,
Dec 19, 2014, 7:47:59 PM12/19/14
to ima...@googlegroups.com
Hi Siva,

The IMA SDK only supports version 10+ of the Flash Player. You can see more detailed compatibility information on our Video Features and SDK Compatibility page. 

I would recommend checking the Flash player version and don't call any IMA methods or create any classes if the version is < 10. If that doesn't work let me know (and post a demo page) and I can see if we have any workarounds.

Cheers,
Bret McGowen
IMA SDK Team

siva sankar

unread,
Dec 22, 2014, 7:22:11 AM12/22/14
to ima...@googlegroups.com
Hi Bret,

Thanks for the Quick replay.

Yes I know IMA3 only supports version 10+. 

But question is how to catch error if the player is published on player version 9.


Error: Error #2099: The loading object is not sufficiently loaded to provide this information.
at flash.display::LoaderInfo/get loader()
at com.google.ads.ima.loader::AdsLoaderImpl/get loaderInfoWrapper()
at com.google.ads.ima.loader::AdsLoaderImpl/isEmbeddedSdk()
at com.google.ads.ima.loader::AdsLoaderImpl()
at com.google.ads.ima.loader::AdsLoaderImplFlash10()

Because I am going to give the IMA3 as a container to my clients.I can't restrict my client to publish on specific version.

1) If client published player on 9 (IMA3 not support) then my container should catch the error(How to catch the error?) and will show the content.

2)If the client published player on 10+ then I will show the IMA3 ads and then move to content.



Here is two link you can check with your browser (kindly check with debugger player version).
I used flash CS5.5 IDE to published the swf.

Link 1

Link 2:

Both Link 1 and Link 2 has same coding.
 Only one difference is Link 1 is published on flash player 9. Link 2 is publided on flash player 10.

Using the As3 code(Capabilities.version) I print the the player version on the top.It only returns current player version of the browser. 

Up to my knowledge there is no API to find the published player version.

Let me know if you want more details.



Thanks,
Siva

siva sankar

unread,
Dec 24, 2014, 12:00:57 AM12/24/14
to ima...@googlegroups.com
Hi Bret,

Thanks for the Quick replay.

Yes I know IMA3 only supports version 10+. 

But question is how to catch error if the player is published on player version 9.

Error: Error #2099: The loading object is not sufficiently loaded to provide this information.
at flash.display::LoaderInfo/get loader()
at com.google.ads.ima.loader::AdsLoaderImpl/get loaderInfoWrapper()
at com.google.ads.ima.loader::AdsLoaderImpl/isEmbeddedSdk()
at com.google.ads.ima.loader::AdsLoaderImpl()
at com.google.ads.ima.loader::AdsLoaderImplFlash10()

Because I am going to give the IMA3 as a container to my clients.I can't restrict my client to publish on specific version.

1) If client published player on 9 (IMA3 not support) then my container should catch the error(How to catch the error?) and will show the content.

2)If the client published player on 10+ then I will show the IMA3 ads and then move to content.



Here is two link you can check with your browser (kindly check with debugger player version).
I used flash CS5.5 IDE to published the swf.

Link 1

Link 2:

Both Link 1 and Link 2 has same coding.
 Only one difference is Link 1 is published on flash player 9. Link 2 is publided on flash player 10.

Using the As3 code(Capabilities.version) I print the the player version on the top.It only returns current player version of the browser. 

Up to my knowledge there is no API to find the published player version.

Let me know if you want more details.



Thanks,
Siva

Message has been deleted

Bret McGowen

unread,
Dec 30, 2014, 6:08:40 PM12/30/14
to ima...@googlegroups.com
Hi Siva,

Are you sure Capabilities doesn't return the information you want? When I visit the test pages you posted (http://download.yumenetworks.com/yume/selvam/sivasankar/testing/IMA3_samp/FP9/demo_IMA3.html) I get this value: "Player Version MAC 16,0,0,2" which is the version of my Flash player.

Thanks,
Bret McGowen
IMA SDK Team

siva sankar

unread,
Dec 31, 2014, 4:15:42 AM12/31/14
to ima...@googlegroups.com

Hi Bret,

I hope you run the link (http://download.yumenetworks.com/yume/selvam/sivasankar/testing/IMA3_samp/FP9/demo_IMA3.html)on your browser,which has flash debug player. If you run on flash debug player you will got the following error

Error: Error #2099: The loading object is not sufficiently loaded to provide this information.
at flash.display::LoaderInfo/get loader()
at com.google.ads.ima.loader::AdsLoaderImpl/get loaderInfoWrapper()
at com.google.ads.ima.loader::AdsLoaderImpl/isEmbeddedSdk()
at com.google.ads.ima.loader::AdsLoaderImpl()
at com.google.ads.ima.loader::AdsLoaderImplFlash10()
As you said your browser player version is "Player Version MAC 16,0,0,2". As per the IMA specification your browser player version is >10. But why still you got the error?
Because the swf is complied with flash player 9 (I cant restrict my client to publish on specific version).

All of my previous question are still same.

If source player published on player 9 it IMA SDK throw error. How to catch the error?

Please read all description  till the end without ignore anything. If you still not clear about the issue I request to arrange one to one text chat. 

Thanks,
Siva

On Friday, 19 December 2014 12:57:52 UTC+5:30, siva sankar wrote:

Shawn Busolits (IMA SDK Team)

unread,
Jan 2, 2015, 10:32:54 AM1/2/15
to ima...@googlegroups.com
Hi Siva,

Bret is currently out for the holidays, so I'll be picking up this case until he's back. I understand that you're having an issue when you publish your player for Flash version 9. I did run your test page and I do see the error. Normally we would not be able to help here because we only support Flash versions 10+, but I will try my best to help. I noticed earlier you said that you don't see this error if you comment out the call to loadSdk. That call is actually optional - it will marginally decrease latency when you use it, but without that call the SDK will still work fine. Do you see ads play back fine without that call? If so you can safely leave it out. If not, could you try wrapping that call in a try/catch to see if you can catch the error in your class and handle it?

Thanks,
Shawn Busolits
IMA SDK Team

siva sankar

unread,
Jan 3, 2015, 3:20:15 AM1/3/15
to ima...@googlegroups.com
Hi Shawn,

Thanks for picking up the case...I really happy that you understand my issue. 

Yes I do agree you may not able to help here because as per your guide it should be published flash version 10+. 

But as a professional programmer I expect some error handling technical help from you guys.Because the error causing on the IMA sdk. I don't expect to run the ads on <10 player.Just want to catch the error.Thats what I keep posting here.

I am really happy that you guys try to help me to catch the error.

As per your suggestion I commented the line adsLoader.loadSdk(); but the same error cause when I try the line adsLoader.requestAds(adsRequest);

Here is code on the swf

public function requestAds(adTag:String):void 
{
var adsRequest:AdsRequest = new AdsRequest();
adsRequest.adTagUrl = adTag;
adsRequest.linearAdSlotWidth = 500;
adsRequest.linearAdSlotHeight = 400;
adsRequest.nonLinearAdSlotWidth = 550;
adsRequest.nonLinearAdSlotHeight = 400;
// Instruct the AdsLoader to request ads using the AdsRequest object.
try
{
adsLoader.requestAds(adsRequest);
}
catch(e)
{
trace("catched")
}
}

Still I got the error 

Error: Error #2099: The loading object is not sufficiently loaded to provide this information.
at flash.display::LoaderInfo/get loader()
at com.google.ads.ima.loader::AdsLoaderImpl/get loaderInfoWrapper()
at com.google.ads.ima.loader::AdsLoaderImpl/isEmbeddedSdk()
at com.google.ads.ima.loader::AdsLoaderImpl()
at com.google.ads.ima.loader::AdsLoaderImplFlash10()

Let me know if you have any questions.

Thanks,
Siva
On Friday, 19 December 2014 12:57:52 UTC+5:30, siva sankar wrote:

siva sankar

unread,
Jan 9, 2015, 12:16:52 AM1/9/15
to ima...@googlegroups.com
Guys I am waiting for your replay


On Friday, 19 December 2014 12:57:52 UTC+5:30, siva sankar wrote:

Bret McGowen

unread,
Jan 10, 2015, 1:24:14 AM1/10/15
to ima...@googlegroups.com
Hi Siva,

Unfortunately the error you're experiencing is related to a Flash Player 9 bug. See here and here for more information. There are a couple of options:

1. detect the flash player version using JavaScript and load different SWFs, one with the IMA SDK and one without
2. If you want to send me your code (HTML+AS3+SWF) in a private message I may be able to do some more investigation but since we don't support Flash player 9 I can't promise a solution. But I'll take another look.

Thanks,
Bret McGowen
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages