Flex :: Distort Object Like Panel So It Looks Like Trapezoid?
Dec 29, 2009I was wondering how to distort a Flex object like Panel so it looks like a trapezoid?
View 2 RepliesI was wondering how to distort a Flex object like Panel so it looks like a trapezoid?
View 2 RepliesI want to use Image Reflection in trapezoid shape. That why i ask how to create trapezoid shape with the class of matrix
View 1 RepliesI have a map in a panel.When maximizing the panel,the map remain the smaller size.How to make the map growing synchronizely with the Panel? When maximizing the Panel,I added Resize Effects.How to apply Resize effects on the Map when the extent of the map changing? It seems to me that I should dispatch extentChange event when maximizing the panel.
View 1 RepliesI discovered this while doing some programmatic panel resizing:Components in a spark Panel will still be visible when their location is outside the physical Panel boundaries. This does not happen with the mx Panel.unning Flex 4.1 on Windows 7I tried putting mx and spark controls in the spark Panel, and they both appear outside of the boundaries. Note this doesn't happen with the mx Panel. What am I missing to make the spark behave like the mxSample Code:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code].....
I want to create a panel docking to a pop up panel in my flex app, like Winamp's playlist window can dock to main window. but I didn't find any useful on docking in flex
I've traced the PopUpManager, but I didn't find any available interfaces or events about popup window's moving, I think it's design shouldn't be so bad.
How can I map a trapezoid to a rectangle?
Do you have any AS3.0 code about mapping? Or a formula for mapping?
I'm just learning how to use transformation matrices and i'm wondering if its possible to apply a transformation that pinches one end of a shape. i.e. transforming a square/rectangle into a trapezoid by pinching the top.
View 1 Replieshow can i constrain the dragging of my movieClip inside the shape of a trapezoid? here's the code..
Code:
pamato.onPress = function()
{
startDrag(this, false, 1000, 270, 130, 605);[code]....
when i test the movie.. its a rectangle..
I cannot seem to get the Object Actions Panel to display or I just cannot see it for some reason. I am trying to add ActionScript for a button.RESOLVED: I moved the status/toolbar from the bottom to the side and lo and behold THERS MY Object Panel.
View 4 RepliesI just downloaded Flash CS5 for mac which installed without any errors. However, when I first launched the software I am getting the following error: The following panel layout is missing or could not be read: /users/rob/Library/Application Support/Adobe/Flash CS5.5/en_US/Configuration/Workspace/Essentials.xml The application will not have a correct layout. load one from Windows ->Workspace Once past this message none of the panels load.
View 3 RepliesDoes anyone knows of a way to get the output panel in flash or the console panel in flex builder or flash builder, to format the "traces" with html or any thing else? for example:
trace( <b>brett</b> ); and to get that to appear in bold in the console window or the output window?
i am using following code to popup a login panel whenever i click on some specific button.
the problem is the login panel sticks it should be non visible again if i click somewhere else on screen. Anyone got ideas how to do that.
[CODE]....
Is there any way to change the size of swatch panel in color picker control?? I tried thiscolorPicker {
swatchHeight: 21;
swatchWidth: 24;
}
but this is not working
I want to replace the default title of the header with my image in Flex Panel.
View 2 RepliesI am drawing a cellular automaton simulation on a Flex Canvas. I alternate computing the state of the automaton with updating the graphics on the Panel. However, the updating of the Panel does not seem to be "keeping up" with the update of the CA state.
I'm wondering whether I am doing something wrong with my handling of the graphics code. The code is below. Sorry it's so lengthy, but I don't think the problem will happen with anything simpler (well, it probably will, but I'm not certain I want to take the time to find it).
[Code]...
I know how to use the Bitmap transformation matrix to manipulate an image using ActionScript, but I cannot �distort� an image. I can only scale and skew.
I did a bit of research before posting my message, and I found a very complicated process of using Fuse along with Sandy (custom class) and some other custom classes. But there must be an easier way.
I simply want to distort an image like in the example below (I am referring to the one with the caption "No")
How can I distort a Loader in AS2?
View 6 RepliesI have a movieclip that I load a jpg image into. I can rotate the movieclip & scale it in x & y directions which is great BUT has anyone got any ideas how I could distort it into a trapezium using actionscript?[code]Scaling the y is fine, but I effectively want to scale the x dimension by different amounts depending on what the y position is.
View 3 RepliesHow do I make this effect... to Drag a CD image, (about 300x300 pxls) to the right of the stage and at the same time, while dragging, making the cd to flip in position to get inside a CD drive or something? When realesed inside the drive, a music clip would play. If release outside, go back in initial position.
View 1 RepliesI'm trying to implement a collapsible TitleWindow popup by adding a handle to the top right corner of a Panel control. Unfortunately, the image that I add as the handle doesn't show up when the control is drawn. I can trigger a redraw by changing the source of the image, so apparently it's there, but it's somehow hidden. Is there a way to make this Image control visible to the user?Here's the code for the window:
package
{
import mx.containers.Panel;
[code]......
I want to increase the (height) size and change the color of a spark accordion header, similarly I want to change the color of a spark panel header. Can I do this through mxml properties and css or will I need to use a custom skin?
View 1 RepliesI have a web-application whose UI is implemented in GXT (ext GWT).Now I want to switch to Flex but as the application is so large that I cannot afford to start migrating the whole application at once.So I have decided to migrate slowly. So what I want is to bring up a Flex panel on the click of a GXT's button.Basically the idea is how to make Flex components listen to the events generated by GXT's component.
View 1 RepliesI give my users the ability to create items. The Create item dialogs such as:
<s:Panel id="postitNoteCreatePanel"
horizontalCenter="0" verticalCenter="0"
...
How can I make panel draggable so that users can move it around the page so it doesn't block other items
How can I center the titleicon in a Flex 3 panel? The title is centered but the titleicon is way on the left side of the panel.
<mx:Panel
title="{myTitle}"
textAlign="center"
titleStyleName="panelTitle"
[code]...
Is there a way to remove the left+right+bottom border of a mx:Panel?
basically I want to have the right UI instead of the left one ( check the screenshot )
I know that the default spark Panel is able to do so, but I just need to use Flex 3.
Here is what I tried already :
padding (seems only changing the children)
borderStyle = none is removing the color of the header
My app has 3 categories of buttons, I want to have a tabbed panel I can use to switch between the 3 categories like in this example:
My app is a mobile app though so I can't use mx components. When I try searching for mobile tabbed navigation etc., I come up with only viewnavigator examples.
i have a tabbed panel in the flex having various tabs and i m using this to get the selected tab index
private function handleInspectorAreaButtonClick(e:Event):void
{
var selectedIndex:int;
[code]....
I have a Hgroup that contains of four panels. Sometimes it happens then when users open it the panls have a unknown width even bigger than the window resolution.
<s:Scroller width="100%" height="100%" >
<s:Group width="100%" height="100%">
<s:VGroup gap="10" width="100%">
[Code]....
All I want to do is have a word start as a normal word, and then distort into a U shape, like the word is smiling. I've been googling and tutorialing and all I have come up with is breaking the word up and then using the distort tool, but it distorts every corner of every letter, isn't there a way to distort the whole word just a little? Also, when I "create shape tween" the text dissapears and when I "create motion tween" it needs to turn into a graphic so then I cant even use the distortion tool. What do I do?
View 2 RepliesHere i am looking to skew and distort the Movie Clip dynamically.is this possible to do?
View 1 Replies