10-16-2012 08:41 PM
Hey guys,
I'm a web developer and this is my first Blackberry + AIR experiment.
I used to implement the .swf within an html file and compile it via webworks but I found out that there's another way using the AIR SDK.
So I followed the guides online, downloaded the SDK and created the 2 .xml files.
Then I put my .swf into the folder of my project as well.
Next I used the GraphicalAid to build the .bar file.
When installing I got "result::failure 881 application author does not match debug token author" which is not the case. However I just signed it then to test in on my Dev Alpha device.
Here's the new problem then:
The .swf shows up as it should but it just keeps playing and repeating so like there's no stop() in my actionscript.
That does not happen in Chrome and it didn't even happen using the WebWorks method and former build of Blackberry 10.
Maybe there's something wrong with my xml? So here's parts of my project.xml:
Please help me guys, I don't know what to do.
Best regards
Flo
Solved! Go to Solution.
10-17-2012 11:45 AM
Hi,
I just tested a sample and it appears to be working for me without issue. Did you follow this guide?
There is a link at the bottom to download the source code.
There should be nothing in your XML that would cause you SWF file not to execute AS3 on your timeline. You would need to add a stop(); in your timeline if you would not like it to repeat.
Regards,
Dustin
10-17-2012 11:49 AM
Thank you!
Is it only working with AS3? Mine's AS2... Works fine for PlayBook under WebWorks
10-17-2012 01:59 PM
Yes it only works for AS3. I'll look into if this is expected behaviour.
10-17-2012 02:07 PM
I just tested on a PlayBook running 2.1 and it is the same. Only AS3 works. I will update the article.
Regards,
Dustin
10-17-2012 03:45 PM