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
Similar Messages
-
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.
-
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.
-
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 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. -
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 -
Flex component kit for Flash.
Hi,
I have installed Flash CS3 <no extension manager> and
Flex 3 builder. I want to import movie clips I made in Flash in to
Flex builder. Please guide me exactly which patches and software do
I need exactly and the process of importing these assets.
Thanks.http://weblogs.macromedia.com/pent/
search there -
Flex Component Kit Unavailable
All the MXP downloads on this page
http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%5Fskins#fxcompkit
returns null. Where do I download the Flex Component Kit
from?Oh and I am not looking for
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1273 018,
just in case anyone should think of suggesting that. I am looking
for Flex Component Kit for Flash CS 3, for Flex 3. -
Flex Component Kit - FB3 - Not found
Hi - I searched but I don't find the Flex Component Kit for
Flash CS3 for FB3.
The following page says that the final version would be
included in the FB3 SDK but it's not there. Does somebody where to
get it?
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1273 018It was posted a day later.
http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%5Fskins -
Running into problems zooming in on a component made in Flash
I created a component in flash CS3 and am trying to put some
kind of zoom feature on it, but when I zoom in on it it zooms right
out of the Panel it sits in. What's the problem here?
Here's what I have:
- MXML -
<mx:Panel id="radar" title="Radar" width="100%"
height="100%" horizontalAlign="center" verticalAlign="middle" >
<mx:Canvas width="100%" height="100%"
clipContent="true">
<fR:StarAndBall id="radar" width="600" height="600"
click="getService()" />
</mx:Canvas>....
<mx:HSlider
minimum=".25" maximum="2"
value="1"
liveDragging="true"
change="radar.zoomRadar(event.target.value)"
tickInterval=".15" labels="[.25,2]" left="10" top="10"
bottom="36"/>
- AS in the Flash -
public function zoomRadar( factor:Number ) : void {
this.scaleX = factor;
this.scaleY = factor;
}Hi,
In the project our team work on, we are in a similar
situation where a Flash piece scales according to the size of Flex
components surrounding it. The first thing is to place the Flash
component in a Box (a workaround for the bug where components do
not accept percentage sizing as a box always scales to fit the size
of its content). Then place the Box in a Canvas.
<mx:Canvas id="gameContainerCanvas"
width="100%"
height="100%"
minWidth="512"
minHeight="384"
horizontalScrollPolicy="off"
verticalScrollPolicy="off">
<!-- This box is there to be the container of the Flash
CS3 component (cf. Flex Component Kit for Flash CS3 issue) -->
<!-- Percentage sizing is not working in absolute
layouts.
As a workaround, you can use horizontal/vertical layouts or
put your contents inside a VBox.
This is a bug that will be fixed in a future release. Glenn
Ruehle 11:00, 16 May 2007 (PDT) -->
<mx:Box id="gameContainerBox"
width="100%"
height="100%"
paddingBottom="50"
paddingLeft="50"
paddingRight="50"
paddingTop="50">
<local:MyFlashComponent id="content"
width="{ this.gameContainerCanvas.width }"
height="{ this.gameContainerCanvas.width * ASPECT_RATIO
}">
</local>
</mx:Box>
</Canvas>
Now, if you dynamically change the width and height of your
canvas (e.g by binding to the value of an <mx:Slider), the Flash
component will scale.
Karl Sigiscar. -
Creating a action script class for a flex component
Hi,
I am new to flex.
I have designed a flex component into that I have 4 action script function. I have to write all those function in a separate action script class.
Can anyone tell me how to do that?
Thanks,
TusharI'm not sure I understand the question.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
In Flex 3 how to Stop and Replay .swf animation created in Flash
Hi
I have an animation file that is created in Flash (I think
CS3). In Flex if I import it inside a SWFLoader or if I import it
as an Image. It plays once and stops. Then I can not replay it. I
also can not pause it when its playing.
I have tried few things based on help and code available in
the Web to of no help. I have tried to convert the swfLoader
instance to a movie clip like so to stop
var c:MovieClip = swfLoaderHeaddress1.content as MovieClip;
c.stop();
<mx:SWFLoader x="53" y="116" width="206" height="255.3"
visible="true"
source="assets/animations/curatorial/ZoomHeadress_2nd.swf"
id="swfLoaderHeaddress1"/>
It does not work.
I have not created the .swf animation, I am not sure how it
is done. I belive it may not be using any ActionScript as I know
the artist who created it does not know ActionScript. Does
something need to be done inside the Flash to support the stop and
play? Or is there a way to restart/replay stop a .swf animation in
Flex 3 no matter how (and whether or not its developed using
ActionScript) its developed in Flash?One way is she has to add some AS code to the animation, or
you can do it yourself.
In swf there must be something like this:
var connReciever:LocalConnection = new LocalConnection();
connReciever.client = this;
connReciever.connect("fromFlexToSWF");
function myFunction(parameter:SomeClass):void {...}
And in Flex:
var connSender:LocalConnection = new LocalConnection();
connSender.send("fromFlexToSWF", "myFunction", [..args]);
The other way: in case with just play/stop there is a way to
resolve this by using that Flex Component Kit (or maybe "Flex Skin
Design Extension", i do not remember), it is something like she
just adding labels to animation frames then she exports it with
Flex Kit and then you can work with it like with an object with
"states". -
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/ -
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... -
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.
Maybe you are looking for
-
Can't seem to install/run Flash in Windows 7
I just got my new computer with Windows 7, 64 bit, and I've tried installing Flash numerous times. It indicates that it has installed properly, but then it doesn't work. Every time I try to play something that requires Flash, it still says "You need
-
Factory restore and Pages...
I want to perform a factory reset on my iPad and then restore from my last iTunes backup. But I'm worried about the 100+ documents I've created in my Pages app. Does a regular iTunes sync save all my Pages docs to my iTunes Backup? Or do I have to ma
-
How to automat. copy configuration of higher level material to sub-item
Hi Experts, I have Make to Order Scenario. My customer wants the configuration of the non-phantom sub-items in the sales order to be automatically copied from the configuration of the higher level material. I have added the ZCOPY function module( to
-
Can't Modify WCS Report File Destination
Once I upgraded to WCS 6.0.132.0 I can no longer change the destination file location when I run reports. The reports seem to run on schedule but they end up in the default location of C:\WCSFTP\reports\. I would like to change that to my E: where I
-
Hi there, I'm looking for a BAPI or FM that has the fields that I need to create a customer. I need to fill the "Withholding tax information", it is in the Company Code data. I can't find this data in the BAPI BAPI_CUSTOMER_CREATEFROMDATA1 and neithe