Hello,

  How to detect device using FlexJS.This works fine in swf ouput but throw
error when i convert as/mxml to js/html using asjsc command.

Could not find file for class: flash.system.Capabilities
File not found: flash.system.Capabilities

java.lang.RuntimeException: Unable to find JavaScript filePath for class:
flash.
system.Capabilities
        at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDe
psWriter.java:176)
        at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDe
psWriter.java:210)
        at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDe
psWriter.java:128)
        at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles
(GoogDepsWriter.java:80)
        at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPubli
sher.publish(MXMLFlexJSPublisher.java:330)
        at
org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:467)
        at
org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346
)
        at
org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271)

        at
org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.jav
a:230)
        at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)

Thanks,
Kinjal



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Detect-Device-using-FlexJS-tp12145.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to