vishnukottala / flexpaper

Automatically exported from code.google.com/p/flexpaper
0 stars 0 forks source link

FlexPaper can not load T9 swf? #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
AIR Application, Flex 3.5, FlexPaper 1.4.7, swftools 0.9.1

1.generat pdf to swf use swftools, params:pdf2swf -T9 -s 
internallinkfunction=true -t, i need internallinkfunction=true, it can only 
work on T9
2.load swf with flexpaper in AIR
3.shows error:SecurityError: Error #3207: Application-sandbox content cannot 
access this feature.
    at flash.system::Security$/allowDomain()
    at rfx::MainTimeline_180de0267b21c388b516420a68c5578a()[constructor.as:0]

I tried remove t9,-s,-t, it works fine.

Original issue reported on code.google.com by XIAOBOLO...@gmail.com on 26 Dec 2011 at 10:21

GoogleCodeExporter commented 9 years ago
allowDomain

Original comment by yiditu...@163.com on 27 Dec 2011 at 1:22

GoogleCodeExporter commented 9 years ago
seems it's not allowed to use Security.allowDomain() in AIR app, I'm getting 
the same error

Original comment by XIAOBOLO...@gmail.com on 27 Dec 2011 at 2:36

GoogleCodeExporter commented 9 years ago
I tried remove some params to see what's the result, here it is:
ERROR:-T9 -s internallinkfunction=true -t
ERROR:-T9 -s internallinkfunction=true
ERROR:-T9
   OK:-t
   OK:-s internallinkfunction=true

I attached a file using:-T9 -s internallinkfunction=true -t

using "internallinkfunction=true", because i want control the hyperlink in my 
app when user click it

Original comment by XIAOBOLO...@gmail.com on 27 Dec 2011 at 3:30

Attachments:

GoogleCodeExporter commented 9 years ago
Use "-s linknameurl" instead of internallinkfunction. Supplying this argument 
will throw a ExternalLinkClicked event which can be handled via JavaScript or 
Actionscript.

Original comment by erik.eng...@devaldi.com on 29 Dec 2011 at 5:13