Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name: Password:
Ambiera Forum > irrFuscator
Problem finding embedded resources
Author Text

pbeltranl
Registered User
Quote
2012-02-02 13:28:58

Hi,

I'm using version 2.2.0 to obfuscate a Flash 4.6 mobile project.

I get the error shown below.

It seems like it cannot found an embedded resource declared in the main mxml file.

<s:MultiDPIBitmapSource source160dpi="@Embed('assets/file_32.png')"
source240dpi="@Embed('assets/file_48.png')"
source320dpi="@Embed('assets/file_64.png')"/>

The file is there. I marked the option for 'Also copy non-source files"

The application compiles. The error is raised at runtime.

Please, can you help me?

Thanks
Pablo

=================================0

ReferenceError: Error 1065: Variable DocMiner__embed_mxml_assets_file_32_png_512595863 is not defined.
at global/flash.utils::getDefinitionByName()
at spark.components.supportClasses::ViewNavigatorBase/loadViewData()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\supportClasses\ViewNavigatorBase.as:489]
at spark.components::ViewNavigator/loadViewData()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:2102]
at spark.components::TabbedViewNavigator/loadViewData()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\TabbedViewNavigator.as:1044]
at spark.components::TabbedViewNavigatorApplication/loadNavigatorState()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\TabbedViewNavigatorApplication.as:327]
at spark.components.supportClasses::ViewNavigatorApplicationBase/initialize()[E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\supportClasses\ViewNavigatorApplicationBase.as:813]
at DocMiner/initialize()
at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:189]
at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:359]
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:3057]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2843]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2723]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()


niko
Moderator
Quote
2012-02-02 19:19:19

Hi, that's strange, and difficult to say what happend without looking at the sources. If you select the option to let irrFuscator put out a list of symbols it obfuscated (the file will usually be at the location where irrFuscator is installed), you can have a look at what changed it did. Maybe it renamed the file_32.png or something similar somewhere? If so, put that symbol into the ignore list. Maybe that helps.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© 2020 Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact