Skip navigation
blackquipment
Currently Being Moderated

How to control swf file loaded in flash builder project?

Sep 6, 2013 1:47 AM

Tags: #error #flex-mobile #android #mobile #flex-4.6 #builder #air3 #4.6

Condition :

1. I have a swf file presentation.

2. A flex mobile project using flash builder 4.6 with its default SDK.


What i want :

1. Include those swf file into my flex mobile project and interact with those swf like i run it on flash player for PC. Shown here >>

1.pnghttp://prntscr.com/1pmio


What i've tried :

1. Call swf file using swfloader and it work(on my pc). Here is my code >> 2.png

http://prntscr.com/1pmjdl


Problem :

1. I cant interacted with swf file presentation. If i click on screen, it get error code >> "Error #2025: The supplied DisplayObject must be a child of the caller" and another error. Here is error warning >>3.png

http://prntscr.com/1pmkcr

 

I dont want to upload the swf file into a web and load it remotely because i want the swf file available offline. Im newbie in flex, please tell me clearly. i have downloaded Flex in a week video training but gets nothing. searching for another problem which may same, but i didnt get any answer.


Please Help.

 

Message was edited by: blackquipment for image fix

 
Replies
  • Currently Being Moderated
    Sep 6, 2013 9:08 AM   in reply to blackquipment

    Some loaded SWFs may not be compatible with Flex.  Try making a simpler SWF (like one that just draws a circle where you click) and see if it can be loaded and interacted with.

     

    -Alex

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points