Convert symbol to flex component fo CS4
I installed Flex component kit and it works fine in Flash CS3
but doesn't appears at Flash CS4 Command menu.
I installed using Adobe Manager CS4 and enabled it.
What is wrong?
Thanks but didn't solve...
The mxp component wasn't copied to that folder.
It was in the original place.
Then I copied and register again.
But doesn't works.
In CS3 everything works fine.
Any other idea?
Similar Messages
-
Flash Pro CS5 Convert to Flex Component and SWC export
Hi,
my question is about the Flash Pro CS5 and Flash Builder 4 (Flex 4) integration.
My goal is simple - to make a simple graphic in a MovieClip and then export that for use in Flash Builder 4. I found out I have 2 ways of doing that:
1) -> create the MovieClip with the graphic
-> export it for ActionScript with a name of the class
-> select the symbol in the library again and export SWC file. Total size of this SWC in my example is 24kb.
-> put the SWC in the libs folder and use the class/component which should be put inside SpriteVisualContainer or UIMovieClip
2) -> create the MovieClip with the graphic
-> export it for ActionScript with a name of the class
-> select it in the libraly and then select Commands -> Convert Symbol to Flex Component
Now here we can do 2 things:
-> select the symbol in the library and export SWC file. Total size here is 104kb.
-> publish the whole project and use its SWC file.
And last:
-> put the SWC in the libs folder and use the class/component wherever you want because it's already extending UIMovieClip.
So My point is that with the first way I need to use just one simple container to put my component into and I save like 80 kb. Why would I want to use the second way, just to be more comfortable or there are other reasons too?
I was thinking that maybe I could put more flex converted components in the fla file so I would then export the swc with all of them being already flex components and that 80kb will be shared for all of them, which makes sense of using this feature, but if someone could confirm my thinking is right or there was some other better purpose or way of doing things in an optimised way, I will be glad to hear them. Thanks!Hi,
I am using the first option while converting from flash to flex. Its easy and it saves lots of memory. -
Using Flex Component Kit for FlashCS3 in Flash Builder
Hi at all,
i apologize for my english.
I'm using Flash Builder 4 and i've created a movie clip symbol in Flash CS4.
I convert the flash symbol in Flex Component but Flash Builder sends a "Verify Error" because the mx.flash.UIMovieClip class in the Flex Component Kit package is not updated at mx.flash.UIMovieClip in Flex4 library,
Is there a updated version of Flex component kit? At this moment i'ive a 1.1.2 version.
Thanks.
F.You should be able to get version 2.0.0 of the MXP in the open source repository:
http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/flash-integration/ -
Flex component kit for cs4:
Hello people:
I've got flex component kit for cs4 installed. i can see the "convert to flex component" option in the flash menu and can convert movie clips into swc's; am able to import the movie clip to flex by going to the project menu in flex, selecting properties and selecting the paths to the swc file, but i cannot see the movieclip turned flex component in any of the perspectives or anywhere niether do i see them whn i try to use them by mxml code hint.
can anyone assist me in anyway because i get errors if i try to hard code the component name into the project.
Thanks:There isn't. But the CS3 kit works for CS4 too.
-
Flex Component Kit for Flash CS4
Is there a Flex Component Kit for Flash CS4? All I have found
is a download for Flash CS3.There isn't. But the CS3 kit works for CS4 too.
-
When will Adobe release Flex Component Kit for Flash CS4?
Any idea when will Adobe release Flex Component Kit for Flash CS4?
There isn't. But the CS3 kit works for CS4 too.
-
Flex Component Kit for Adobe Flash Professional CS4
I installed Flex Component Kit for Adobe Flash Professional CS4 and nothing appears at Command menu.
I use OSX 10.6 portuguese language.
Any suggestion?There isn't. But the CS3 kit works for CS4 too.
-
Flex Component Kit for Flash Professional - still available?
Is the Flex Component Kit for Flash Professional still available for download somewhere?
We are currently trying to get some old stuff done in Flash to port over to flex and convert a MovieClip made in Flash to an SWC/Flex component.
The link stated here at the bottom Flex Component Kit for Flash Professional (Adobe - Flex Downloads) does not work.There isn't. But the CS3 kit works for CS4 too.
-
Following the instructions, I've been able to take a Flash
symbol/class, convert it to a Flex component, and import into Flex.
However, while the following code compiles without errors, nothing
shows up on the display. I'm sure I'm probably doing something
dumb, but I've searched and worked on this for several hours now
without luck. Thanks to anyone who can point me in the right
direction.
<?xml version="1.0" encoding="utf-8"?>
<mx:ApolloApplication xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:bevy="*">
<bevy:RedCircle id="please"/>
</mx:ApolloApplication>I think so. I think I have that all right. I'm declaring the
namespace in the original mx:ApolloApplication tag as you can see
in the code I pasted in my first post - is that sufficient? Flex
Builder prompted me for RCircle when I typed Bevy, so I'm pretty
sure it can see it and it compiles it just fine... just doesn't
show up when I run it.
Other information: the RCircle symbol was exported to AS and
associated with the RCircle class before it was exported to Flex.
The .swc, .swf, and .fla are all named FlComponents and are in the
same directory as the main project .mxml files. I also explicitly
imported the .swc into the project using
project->properties->... I'm using the eval version of
FlexBuilder upgraded to 2.01 if that matters.
Also, I can take the Hello World app and plug the bevy line
right into the middle of it and create a .air that runs fine -
except that it doesn't show my symbol. -
Problem installing flex component kit
Exercise: Skinning components graphically (PDF, 1,520K)
I have trouble installing the flex component kit. It says the
version of my product is incorrect. Is it because of the german
version?There isn't. But the CS3 kit works for CS4 too.
-
Insert flex component in flash .fla file
hello,
Is it possible to dynamically load a flex component, compiled as a swf file into a .fla file.
Originally, this flex component can be loaded as a standalone flex application with parameters to connect to the appropriate server.
But now a customer of mine wants to integrate this flex component (originally inserted in a flex application) in a custom flash application, thus in .fla file using Adobe Flash CS4.
I've seen that it was possible to integrate a flash animation created with Adobe Flash CS4 in a flex application. But what I need to do is the opposite.
thanks for your help,
yohannI also have an odd behavior with parameters. I use a parameter to display a text area for logs. If this parameter is found, the text area is displayed, if it's not found, nothing is displayed. When I load my application with CTRL + ENTER in CS4, I can see my debug text area, but when I export it to swf, copy it to a local web server and visualize it in a browser, I see no debug text area.
Here is the code I'm using:
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
var request:URLRequest = new URLRequest("http://1.2.3.4/callme.swf?server=1.2.3.4&caller=abc&callee=yohann.martineau");
var loader:Loader = new Loader();
loader.load(request);
addChild(loader);
This code is in a key frame of the fla animation. -
Quality (aliasing) of downscaled flex component created in flash cs 5.5
Hi!
I have created a iPhone-Slider-Button in Flash. All vector graphics in Flash I've converted into bitmap data.
For all these bitmaps I allowed smoothing in the library.
Then I've converted the Flash MovieClip into a Flex component.
Then I load the component in Flex with the <local: tag which works great! Because the component is too big I have to scale it down in the Flex Design view.
Here is the result in 100% an an iPad:
You can see the bad quality of the white text. It would be great to be free in choosing any component size (proportional scale) in Flex with a smoothed look.
Who can help? Thanks a lot!Hi,
For the flash only swc, you dont need the initialize functionality. As
mentioned in the post, intialize() function is called when the
FilePublisher component is added to a Flex container. In the flash only
swc we have decoupled it from Flex and its mechanisms, and it required
us to eliminate intialize functionality. So, calling
filePublisher.subscribe() should instantiate all the needed variables.
In summary, the thread you mentioned is Flex specific, and doesn't apply
to the scenario you mentioned. Subscribing to the filePublisher manually
might fix your issue.
If you are still stuck, Can you post your code and debug logs if possible,
Thanks
Arun -
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. -
How does one define a default style for a custom Flex component?
How does one define a default style for a custom Flex component?
hello
I created a new set of Flex component library slib.swc (Flex 4.5). Would also like to have a default style. defaults.css file, making it the default style of the component library.
Like flex the builder install directory of sdks \ 4.5.0 \ frameworks out \ libs directory has a spark.swc file, open with Winrar will see defaults.css this file. Defaults.css file defines the default style of the flex spark components.
How can it be achieved?
As follows
slib.swc contains a CLabelEx components, and a defaults.css file
defaults.css source file as follows:
@ namespace s "library :/ / ns.adobe.com / flex / spark";
@ namespace mx "library :/ / ns.adobe.com / flex / mx";
@ namespace cn "http://os.slib.cn";
cn | CLabelEx
styBackgroundAlpha: 1;
styBackgroundColor: # 569CC0;
styBorderAlpha: 1;
styBorderColor: # 569CC0;
styBorderWeight: 1;
styCornerRadius: 3;
In slib.swc the application MyLabel.mxml of the source file as follows:
<? xml version = "1.0" encoding = "utf-8"?>
<s: Application, the xmlns: fx = "http://ns.adobe.com/mxml/2009
xmlns: s = "library :/ / ns.adobe.com / flex / spark"
xmlns: mx = "library :/ / ns.adobe.com / flex / mx"
xmlns: cn = "http://os.slib.cn
the minWidth = "955" The minHeight = "600">
<fxeclarations>
</ fxeclarations>
<cn:CLabelEx x="67" y="112"/>
</ s: Application>
I hope CLabelEx default use cn | CLabelEx, style to display its appearance.
I refer to above approach, but failed to achieve. Can you please re-Detailed
Thanks!dj is right. Any Folder can be a picture folder.
Create a root level folder and add it to your Pictures Library in Windows. It will show up with all the scattered pictures from other programs. It can even be a different dirve if you like. You can even specify one to be the default save location for pictures in this dialog.
Navigate to Pictures in your Libraries in Windows Explorer Right Click and select Properties.
Message was edited by: Rikk Flohr forgot the instructions... -
Drag and drop external text into a Flex component
Hi,
is there any way to allow drag and drop of external text (for
example, selected text from another browser or even from the
address bar) into a Flex component like TextArea? I know how to
drag and drop between two different Flex components but in this
case, the source is external. There must be something I can do to
TextArea like its dragdrop property to allow this feature... any
help would be greatly appreciated.
Thanks,
JoshShort answer: Yes, as long as it is an AIR app.
Browser-based Flex apps do not have access to
ClipBoardFormats, so I'm not sure it is possible to do what I think
you want to do -- have a web-based Flex app that allows you to drag
and drop selected text from other apps. Most possibly because of
the security sandbox that the Flash player runs in.
However, if you wanted to do it in an AIR app, I built this
as an example for you (you can view a "cleaner" version with proper
indents at
http://pastebin.com/f741cbac8
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="initDandD();" width="500" height="600">
<mx:Script>
<![CDATA[
public function initDandD():void {
addEventListener(NativeDragEvent.NATIVE_DRAG_ENTER,
onDragIn);
addEventListener(NativeDragEvent.NATIVE_DRAG_DROP,
onDragDrop);
private function onDragIn(e:NativeDragEvent):void {
if(e.clipboard.hasFormat(ClipboardFormats.TEXT_FORMAT)) {
NativeDragManager.acceptDragDrop(this);
private function onDragDrop(e:NativeDragEvent):void {
var myString:String =
e.clipboard.getData(ClipboardFormats.TEXT_FORMAT) as String;
myTextArea.text = myString;
]]>
</mx:Script>
<mx:TextArea id="myTextArea" width="326"
height="262"/>
</mx:WindowedApplication>
Maybe you are looking for
-
How do I populate an abstractlist that is an input to an RFC? I read the post by Bertram Ganz, but my generated classes look different. I imported the RFC and the system generated the following: -zbapi_appraisal_create -zbapi_appraisal_create_inp
-
Need open REPORT from FORM in Oracle Apps with Parameters
Hello All, I have a custom Form, which is running fine in stand alone by invoking the report from it. There is a code in behind the button which triggers to open the report having parameters. Here we used RUN_PRODUCT function to invoke the form. Now
-
Urgent --oracle service is not starting
hi everyone, in my server one of oracle service is not starting. "oracleorahome81httpserver" if i try to start this service its telling that " error 1067, the process terminated unexpectedly. i checked in cmd prompt, by r3trans -d. its telling " erro
-
Epub to itunes connect delivery
Hello, I just uploaded my short story through iTunes Connect, it went through, not sure what the next step is? Will they email me? Thanks. Amazon and Nook put the stories up in less than a day. Any idea?
-
When is Android 4.4 Kit Kat due for the Sony Z1 Compact?
I have seen several website say "the first week in February" but can't find any information confirming it, and also nothing in this forum section. Does anyone have any info please?