I did that but it didnt work [added all the libs ] , throws compile time
errors

Severity    Description    Resource    In Folder    Location    Creation
Time    Id
2    Unable to resolve a class for ResourceBundle: core.
WebSiteEffects            December 5, 2006 10:58:50 PM    607
2    Unable to resolve a class for ResourceBundle: core.
WebSiteEffects            December 5, 2006 10:58:50 PM    608
2    Unable to resolve a class for ResourceBundle: core.
WebSiteEffects            December 5, 2006 10:58:50 PM    609
2    Unable to resolve a class for ResourceBundle: core.
WebSiteEffects            December 5, 2006 10:58:50 PM    610
2    Unable to resolve a class for ResourceBundle: effects.
WebSiteEffects            December 5, 2006 10:58:50 PM    611
2    Unable to resolve a class for ResourceBundle: skins.
WebSiteEffects            December 5, 2006 10:58:50 PM    612


So I was like maybe this is a namespace issue so i added

import mx.core.mx_internal;

use namespace mx_internal;

And well enough the compile time errors disappeared. But I get this runtime
error

Error: Could not find resource bundle core
   at mx.resources::ResourceBundle$/getResourceBundle
()[C:\dev\GMC\sdk\frameworks\mx\resources\ResourceBundle.as:125]
   at mx.core::UIComponent$cinit()
   at global$init()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:790]
   at mx.effects::EffectInstance/startEffect
()[C:\dev\GMC\sdk\frameworks\mx\effects\EffectInstance.as:422]
   at mx.effects::Effect/play
()[C:\dev\GMC\sdk\frameworks\mx\effects\Effect.as:763]
   at
WebSiteEffects$iinit()[C:\FlexProjects\WebSiteEffects\src\WebSiteEffects.as:42]


hope this helps
thanks
firdosh

On 12/5/06, Deepa Subramaniam <[EMAIL PROTECTED]> wrote:

   By default, an AS only project does not include framework.swc which
contains all the Flex framework classes. What you can do, is create your AS
only project and add framework.swc to your library path. Then you can
compile against any of the Flex framework classes.



-Deepa Subramaniam


 ------------------------------

*From:* [email protected] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Firdosh Tangri
*Sent:* Tuesday, December 05, 2006 11:25 AM
*To:* [email protected]
*Subject:* [flexcomponents] mx Tween class with as3 project



I dont know if this question really fits here but I am trying to get the
Alex Uhlmann super cool
Distortion effects to work in a AS3 only project. I had emailed him and he
replied back saying it should
work in an AS3 only project since all the classes are AS3 but I know the
base Distortion class extends

  mx.effects.effectClasses

.TweenEffectInstance;

and I was under the impression that mx classes cannot be used in an AS3
only project ?

thanks
firdosh

Reply via email to