Skip to main content
August 19, 2007
Question

Support Flash Element ActionScript 3.0

  • August 19, 2007
  • 2 replies
  • 509 views
I have made flash component for the test.
In Flash CS3 all works perfectly. I create extension for Dreamweaver CS3. For an insert of a component on page I use a code "dw.getDocumentDOM().insertFlashElement('MyComponent.swc')", in file MXI. At attempt to insert component Dreamweaver gives out the message " The MyComponent Flash Element could not be found ". With components ActionScript 2.0, similar problems were not. What is the problem? Whether supports Dreamwever such components?
This topic has been closed for replies.

2 replies

Inspiring
February 20, 2008
constsi wrote:
> Just the same problem. AS 3.0 SWC files have different structure (there are no
> *.asi files inside it and the catalog.xml is different). Unzip your SWC file
> and change the library.swf file name to the name of your component
> (FooterNav.swf for example). After that just zip it again and create new MXP.
> In this case you'll get rid of the "could not be found" error. But this doesn't
> solve the problem with element parameters - the "Flash Element" panel is just
> empty.
>
> It looks like Dreamweaver CS3 just doesn't have normal support for AS 3.0
> Flash Components yet.
>

Given that Adobe is removing Flash Elements from the next version of Dreamweaver, I'd be quite surprised if they did any more work to include AS3 support inside of Dreamweaver CS3. Read the features to be removed:
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402489&sliceId=1


--
Danilo Celic
| Extending Knowledge Daily : http://CommunityMX.com/
| Adobe Community Expert
Participant
February 28, 2008
quote:

Given that Adobe is removing Flash Elements from the next version of Dreamweaver, I'd be quite surprised if they did any more work to include AS3 support inside of Dreamweaver CS3. Read the features to be removed:


Such information must be included into the official "Extending Dreamweaver CS3" document. Its current version describes the Flash Elements API but there are no any notes about the lack of AS3.0 SWCs support. We spent several hours trying to follow the official document instructions.
Participant
February 20, 2008
Just the same problem. AS 3.0 SWC files have different structure (there are no *.asi files inside it and the catalog.xml is different). Unzip your SWC file and change the library.swf file name to the name of your component (FooterNav.swf for example). After that just zip it again and create new MXP. In this case you'll get rid of the "could not be found" error. But this doesn't solve the problem with element parameters - the "Flash Element" panel is just empty.

It looks like Dreamweaver CS3 just doesn't have normal support for AS 3.0 Flash Components yet.