Flex swc library in Flash CS3 project
Is it possible to use a swc library created in Flex in a
Flash CS3 project?
Thank but It does not seem to work with Flex 3.0. I've tried
with the compiler "-compute-digest=false" option as suggested but
no luck. Do you have any idea?
Thanks
Similar Messages
-
I have created a few SWC libraries in Flex and I would like
to distribute them so that they can be used in Flash CS3.
Is this possible at all?
None of the classes in my libraries contain any Flex-only
classes ( i.e. anything in the mx.* packages ). There doesn't seem
to be any options available in Flash CS3 to allow it to reference
classes stored in SWC files though. :(
Thanks.Thank but It does not seem to work with Flex 3.0. I've tried
with the compiler "-compute-digest=false" option as suggested but
no luck. Do you have any idea?
Thanks -
Comunication and events: Flex Builder 2 with Flash CS3
Hey hello...well, my question is: how can i comunicate Flex
Builder 2 with Flash CS3?
this is my code on Flex Builder 2:
<mx:Script>
<![CDATA[
import mx.controls.*;
import mx.events.*;
public function CargaCompleta(e:Event):void
try
e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
catch(er:Error) { Alert.show(er.message,"Error"); }
public function uno(e:Event):void
try
s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Finaliza"]);
s1.source = null;
s1.source = "recursos/reactivos/208M-1R.swf";
catch(er:Error) { Alert.show(er.message,"Error"); }
]]>
</mx:Script>
<mx:SWFLoader id="s1" width="278" height="251"
complete="CargaCompleta(event)"
source="recursos/interactivos/208M-1I.swf">
</mx:SWFLoader>
and when it change from one file to another, on the event
"Complete" for the SWFLodar, an error happend
TypeError: Error #1009: No se puede acceder a una propiedad o
a un método de una referencia a un objeto nulo.
at 208M_fla::MainTimeline/frame1()
Hope somebody can help me...for your time thanks..."Jorge EdOardo" <[email protected]> wrote in
message
news:gfcfcr$9s2$[email protected]..
> Hey hello...well, my question is: how can i comunicate
Flex Builder 2 with
> Flash CS3?
>
> this is my code on Flex Builder 2:
> <mx:Script>
> <![CDATA[
> import mx.controls.*;
> import mx.events.*;
> public function CargaCompleta(e:Event):void
> {
> try
> {
>
e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
> }
> catch(er:Error) { Alert.show(er.message,"Error"); }
> }
> public function uno(e:Event):void
> {
> try
> {
>
>
s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Fin
> aliza"]);
> s1.source = null;
> s1.source = "recursos/reactivos/208M-1R.swf";
> }
> catch(er:Error) { Alert.show(er.message,"Error"); }
> }
> ]]>
> </mx:Script>
> <mx:SWFLoader id="s1" width="278" height="251"
> complete="CargaCompleta(event)"
> source="recursos/interactivos/208M-1I.swf">
> </mx:SWFLoader>
>
> and when it change from one file to another, on the
event "Complete" for
> the
> SWFLodar, an error happend
>
> TypeError: Error #1009: No se puede acceder a una
propiedad o a un m?todo
> de
> una referencia a un objeto nulo.
> at 208M_fla::MainTimeline/frame1()
>
> Hope somebody can help me...for your time thanks...
http://weblogs.macromedia.com/pent/archives/2007/04/using_actionscr_1.html -
How to import swc into Adobe Flash CS3 ?
I use following command to create a swc file,such as test.swc, there is a file named test.swf in myapp directory
compc -include-sources myapp -output test.swc
then I copy test.swc into Adobe Flash CS3\zh_cn\Configuration\Components directory, Then I restart Adobe Flash CS3,and create a file and press ctrl+f7, but I don't find test.swc! Why? Where is wrong? How to import swc into Adobe Flash cs3?
ThanksIf you want to embed videos in your muse site, without using a service like youtube or vimeo, then you will need to manually upload the video files on the server and use them via the video tag available in html5, HTML5 Video
To insert the video tags in your muse pages, you will need to use the 'Object -> Insert HTML' option.
Since this option is not available in Muse, out of the box, I will recommend that you post this on our ideas section over here, https://forums.adobe.com/community/muse/ideas, and let our devs team know of this requirement.
- Abhishek Maurya -
Flex Component Kit for Flash CS3
Hi,
I created a flex component using the component kit for Flash
CS3. The component contains a vector image wrapped as a MovieClip.
In my flex application I add the component as child to a
Canvas. It works well if i add it like -
<mx:Canvas id="container" >
<local:MyComponent />
</mx:Canvas>
or like -
container.addChild (new MyComponent()); //DISPLAYED
However, the component is not displayed when I do the
following -
var array:Array = new Array(new MyComponent());
container.addChild(array[0]); //NOT DISPLAYED
Can somebody tell me why this is so?
I would also like to know if such components can be
instantiated using flash.utils.getDefinitionByName.
I tried it but I get Error #1065: Variable 'componentName' is
not defined
Could somebody please tell me what is going on?Hi bolaughlin,
Thanks for you reply.
Error 1065:
import MyComponent;
var comp:MyComponent = new MyComponent(); //Error 1065
//Where MyComponent is the Flash CS3 clip that was converted
to Flex component
I have a workaround for this -
I first add the component as an Mxml tag with visibility
false and then remove the component
with actionscript. Now all instantiations work normally (this
includes all components in the SWC).
<mx:Canvas id="container" >
<local:MyComponent visible="false" />
</mx:Canvas>
and in <mx:Script>
container.removeAllChildren();
var comp:MyComponent = new MyComponent(); //Works
var anotherComp:MyOtherComponent = new MyOtherComponent();
//From the same swc; This also works.
I have a feeling this problem is similar to the 'shared
fonts' problem that
existed with Flash MX and below.
Anyway, even though I don't really know whats happening, my
project can
move ahead. Hopefully some Guru will explain this.
Until then...thank you very much. -
Linking library with flash builder project?
I have a flash builder project going and I have found I need to make various movie clips and sprites in in Flash Pro. Is there a simple way to just link my library from the .fla project to my builder project so I can access the assets made in the .fla?
I'm using the latest version of both software packages.
Thanks!
-SGWOpen your .actionScriptProperties file and set useFlashSDK to false. This will allow you to use your older SDKs. They are managed in the same way as Flash Builder 4.6 when this option is changed.
-
Problem Installing Flex Component Kit for Flash CS3
i have downloaded the mxp files from here:
http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex_skins
And installed them using the extension manager (flash cs4) but i don't get the new commands added (rebooted flash cs4, of course...)
Any ideas please?Would you mind posting your question on the Flex Kit for
Flash CS3 discussion page on Adobe Labs? This way the engineers
developing the kit can respond.
Here's the link:
Flex
Kit Discussion -
Adding classes to Flash CS3 project
Forgive me I'm a newbie when it comes to Flash projects. I
have the source code for a Flash based media player written in
Action Script 3 that I need to modify. I’m trying to add
classes to this project in Flash CS3 however after I import them
and try to reference the classes in an existing class within the
original source I get the following error when I try to build:
1172: Definition ‘classname’ could not be found.
However the project builds fine if I don’t reference
any of the newly imported classes. What am I missing here?
ScottFrom a brief look you need to import your new package into
existing class:
import alducente.services.*;
Also make sure that you provide a path to this package in
Flash publishing preferences - you need to start with a directory
that one level up. For instance, if your new classes reside in a
path: c:/documents/classes/alducente/services, you need to tell
Flash that you classes are in c:/documents/classes - not in
c:/documents/classes/alducente -
How to use flex SDK library in flash
Halo.
I would like to use BitmapAsset class inside CS3 or CS5.
I know that the class is somewhere inside flexSDK library (I use version 4.1). So is it possible to use flexSDK for "flash purposes" ?
RegardsThanks! You were right
The solution is:
For flash CS4 and CS5 one should specify path to the FlexSDK library (File/Publish Settings).
For example:
C:\.........\flex_sdk_4.1\framework\libs
My mistake was that I was trying to find the exact package.
Regards -
Using Flex SWC in Flash CS3 (ADOBE EXPERT NEEDED)
I've searched everywhere, and there is not one good answer to
the question: "How do I use a Flex AS3 Class Library in Flash CS3?"
So I decided to come to the source :)
This question has also been asked on this forum twice, but
got no answer.
Any help on this topic will be greatly appreciated
- OzIf you're using Flex 2, there's a solution using a
manifest.xml file. Tim Walling details it on
his
blog, but I haven't found a way to get it to work for Flex
3. -
Embed fonts in Flash CS3 and load in Flex at runtime
Hi,
I want to embed fonts in the library of Flash CS3, compile it into a SWF and load it in my flex up at runtime and register the embedded font.
I'm able to get the linked class in Flex but the font doesn't show.
The FLA has a font called Viner Hand embedded as a library item, with linkage VinerHand and baseclass as flash.text.Font
Here's the code in flex to register the font -
var FontLibrary:Class = ApplicationDomain((event.target as LoaderInfo).applicationDomain).getDefinition('VinerHand') as Class;
Font.registerFont(FontLibrary);
When I do Font.enumerateFonts after this, I see [Font VinerHand] in the array but the textField doesn't show the font embedded.
NishantHi there,
Try taking a look at the following links:
http://www.trajiklyhip.com/blog/index.cfm/2007/7/18/Embedding-Fonts-in-Flex
http://blog.flexexamples.com/2007/10/25/embedding-fonts-from-a-flash-swf-file-into-a-flex- application/
Hope it helps.
With best regards,
Barna Biro -
Flash8 or Flash CS3 determine what frames and objects use a given library object
I am doing cleanup on a FLA file(a large fla file). I am
looking for an easy way to determine where each library item
may be used in the given flash document and at what frame and
layer it may be used at.
Yes I have updated the use counts by selecting "update use
counts". Which is really nice. Becuase I can then
easily delete all the unneeded objects(note: I was also
guaranteed they(library items) were not called into the FLA file
dynamically by action script, Which was a relief).
So what I am looking for is a way to run a report for one
object or for the entire library to show me where
a given symbol, button,swf, flv or picture is being used in
the parent or it's chidren or in another library item.
Here is an example of the report I am looking for.
Library Item "logo.jpg":
ocurrence #1> _root;layer8,frame 25
ocurrence #2> _root;layer(showlogo),frame 25(imageframe)
ocurrence #3> _root;layer(showfinishpage),frame
125(exitpage)
occurence #4> LIBRARYITEM(logoTween),frame23,layer2
Does anyone know how this can be done...?
Additional search item references
==============================
report library items
Flash 8 library report
Flash MX library report
Flash CS3 librarry report
Flash Library objects usage counts
Keep use counts updated
update use counts now
determine where library items are used in a give fla file
flash library "update use counts" objects frames report
flash "library use" objects frames report
flash 8 fla library usage where are they being usedWill Edit > Find and Replace help?
I don't know of any report, other than Generate size report
(found in publish settings under Flash), but you could probably
write a .jsfl script to do it for you I imagine. -
Flex obselete with the release of Flash CS3?
Flash cs3 and its new components feature pretty much give the
same functionality as flex's components.
The only reason why i used flex was because of the
components, ive only created a few applications but i cant see why
i couldnt just make them with CS3 now?You could certainly make that attempt. Our goal is to give
you as much choice as possible. Some people like the Flash IDE,
others like Flex because you can use any text editor, not just Flex
Builder. With Flash CS3, you need the Flash IDE to work with the
FLA files.
When you choose to work with Flex you can put your source
files into a source code control system - you can do that with
FLAs, but you lose change management. In other words, every time
you edit your FLA, it changes so it is always going back into
source code repository. With Flex and MXML and AS files, you save
only those files which have changed.
Flex provides a more traditional way to build SWFs. You can
use Flash to supplement it. You'll find with Flex 3 that the
reverse will be true, too - use Flex to supplement Flash.
Anyway you want to do it, that makes you comfortable and
successful, is the best way to go. We're glad to be able to offer
you choices. -
Hi!
I have installed the Flex Skin Design Extensions and
Flex Component Kit for Flash CS3. But i cannot find the flex skin item under File > New > Templates > Flex Skins in flash. How can i find the items? I have tried everything. Restarting my computer, try to install it in another computer and installed the plugin files again. But non of it work for me. Is really getting my nervs.. Please.. can some one help me???Help??? any one???
-
Problem with using swc files in Flash Player 10
I have two Actionscript projects in Flex. One is using Flash Player 9 the other is using 10. Both projects use the fl classes specifically FLVPlayback.
In the Flash Player 10 project I am using the recently released version 2.5. Both players use individual controls instead of a complete skin swf. So the code goes something like video_player.playPauseButton = playPauseBtn. All the swc files are imported through properties-ActionScript Build Path-Library path-add swc. This all works great in both projects exept in the Flash Player 10 project the volumeBar swc does not load properly. In the debug variables for a break point at the function below in FLVPlayback.as the variables handleLeftMargin, handleRightMargin, handleLinkageID and handleY are missing even though they are all in the original fla used to compile the swc. I have tried compiling swc in both Flash CS3 and 4. I have tried moving the Actionscript inside the fla files but nothing changes. This leads me to believe it is a bug in the Flash Player 10 or the version 10 playerglobal.swc since this part of FLVPlayback.as is identical in versions 2 and 2.5. The result is that only the volume bar renders but no handle. Debugging all through fl.video.UIManager.as handle_mc remains null?
public function set volumeBar(s:Sprite):void {
uiMgr.setControl(UIManager.VOLUME_BAR, s);
In the Actionscript 9 project all the variables are accounted for so the volume bar and handle render and work fine.Further info for anyone who can help!
I am opening a session from a server via the following sql
statement:-
http://servername/virtualdirectoryname?sql=SELECT
* FROM table1 for XML auto&root=root"
I only get the popup window when trying it out from our
webserver?
The server is MS SQLServer
The virtualdirectory is created with access set as Windows,
and always log on set as "myusername" + "mypassword"
So I thought (hoped) I could pass the "myusername" +
"mypassword"
bits into the above sql statement (maybe appended at the
end?)
If I type the above sql statement into a browser it works
perfectly with the xml returned in a web page,
also as I state above, when I run it from within my flash
prog on my local machine it runs OK and returns the results into
the text area specified within the flash prog.
BUT - When I upload my flash prog to the webserver and try it
from there, I get a windows popup asking me for username + password
+ domainname.
any ideas please?
Maybe you are looking for
-
Can I download my sons apple id purchases onto my iphone with a different id from icloud?
my son has an ipod touch with a different apple id. all of his songs are in icloud. can I transfer them to my iphone via the pc?
-
Installed XP; Boot Camp drivers won't work.
Everything has run relatively smoothly up until i have to install the mac drivers on XP. I installed them successfully using a leopard disk, and then the computer restarts. Briefly before shutting down, a blue screen shows up for about one second wit
-
In need of Fixed-point algorithm
hi peeps, Im in need ( a very urgent need ) of a fix-point algorithm , with explanations if possible. Can anybody point me to the right direction? thanks....
-
I have windows 8.1 and office 365 when I try to fill in a 1065 fed tax form a window aqppears that says " Windows cannot access the specified device, path or file. You may not permission to access this data."
-
If i have to build a class with a constructor that prompts user to input X integers and store them into the array registers how do I do it? Couple specific questions: 1. What part of program contains the instructions for user to input data?Is it in t