Highlighted

How to get render mode of any application on runtime

New Here ,
Jul 27, 2015

Copy link to clipboard

Copied

Hi All,

Is there any way of knowing the render mode of an application at runtime on iOS device ?

I need to get the render mode of my running application and pass on different logic based on whatever render mode I get at runtime but I am struggling to find any such API or method that can solve my purpose.

Any suggestions ?

Thanks,

Ken

You should be able to get from the app descriptor XML from

NativeApplication.nativeApplication.applicationDescriptor:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApplication.html

--

Thanks,

Kawika Heftel

Heftel Studios

801-358-9830

http://www.heftelstudios.com

TOPICS
Development

Views

211

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to get render mode of any application on runtime

New Here ,
Jul 27, 2015

Copy link to clipboard

Copied

Hi All,

Is there any way of knowing the render mode of an application at runtime on iOS device ?

I need to get the render mode of my running application and pass on different logic based on whatever render mode I get at runtime but I am struggling to find any such API or method that can solve my purpose.

Any suggestions ?

Thanks,

Ken

You should be able to get from the app descriptor XML from

NativeApplication.nativeApplication.applicationDescriptor:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApplication.html

--

Thanks,

Kawika Heftel

Heftel Studios

801-358-9830

http://www.heftelstudios.com

TOPICS
Development

Views

212

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 27, 2015 0
Engaged ,
Jul 27, 2015

Copy link to clipboard

Copied

You should be able to get from the app descriptor XML from

NativeApplication.nativeApplication.applicationDescriptor:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApplication.html

--

Thanks,

Kawika Heftel

Heftel Studios

801-358-9830

http://www.heftelstudios.com

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 27, 2015 0
New Here ,
Jul 28, 2015

Copy link to clipboard

Copied

Thanks for the response. However, this method is not working in our case as we are using a remote swf and that doesn't not have permission to parse the XML due to iOS sandboxing.

Is there some other way to doing this ? or to do a hack fix, Is there any API that is supported only on GPU mode, using this I can differentiate GPU mode from CPU mode just like I can differentiate direct mode by checking support for stageVideo or stage3D.

Regards,

Ken

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 28, 2015 0
Adobe Community Professional ,
Jul 29, 2015

Copy link to clipboard

Copied

For the external SWF to have code it it, it would have to be included in the build of the app, and then the code-less SWF is put on the server. So, the code that you would run to see what render mode you're in would be in the IPA already, and as the render mode doesn't change, why would the remote SWF not know what render mode was being used?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 29, 2015 0