Flex :: Creating A Multi Column Navigation Bar For Viewstack?
Oct 5, 2010
I have created a Viewstack and using a Tile component and repeating LinkButtons I was able to make a multi column navigation with the viewstack as the dataprovider. My question is can this be done better? My code is below and I am wondering if I took the long way around this approach.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code].....
View 1 Replies
Similar Posts:
May 4, 2011
Creating Multi-Column Text in Flash tutorial.
View 1 Replies
May 12, 2011
I'm very sleepy right now, so this is just an example of what I want (obviously this code is wrong):
<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
[code].....
View 1 Replies
Apr 4, 2012
What is the best way to make a multi column form in Flex?My current solution if more than one column is required is to put the form items inside an <s:HGroup> but the alignment isn't the best.
View 2 Replies
Jul 30, 2009
I need to to a programmatic multi column sorting on the AdvancedDataGrid.The issue is, currently I am implementing paging on my grid. So, if I sort the data,only the perticular page is being sorted. So,I need to sort the entire list by the column criteria.I tried HeaderRelease event,but I guess it is of no use as I need to make a round trip call to the server to get the sorted data.Is there any way I can implement that.I also need to show the sort markers in the Column headers' right position, indicating the sort numbers and direction.
View 7 Replies
Apr 13, 2011
How can you display a multi-line column header using the Flex Spark Data Grid for Flex 4.5?
View 5 Replies
May 9, 2011
does anyboy know if Flex 4.5 Spark Datagrid suppoprts multi-column sort natively - just like the ADG does?
View 2 Replies
Jan 19, 2011
I'm having problems creating dynamic tabs here's my code:
[Code]...
View 1 Replies
Aug 25, 2009
I actually wanted to create an itemrenderer which will contain below code :
<mx:HBox xmlns:mx="[URL]" width="0" height="0" >
<mx:Label text="{data.xval}" />
<mx:Spacer width="100%" />
<mx:Image source="edit.gif" width="16" toolTip="Edit" />
</mx:HBox>
Now when I click on the image datgrid column should be editable, for that I am using a textinput as an itemeditor. Now I also want to highlight all those cell for this datagrid column which are having data more than 8 characters. I am able to do this separately using 2 different itemrenderers. But I want to get this all together. Can we have multiple itemrenderer for any datagrid column?
View 1 Replies
Nov 16, 2010
I have a Flex 4, mx:DataGrid with the following (pertinent) properties set:
width="100%"horizontalScrollPolicy="off"
I have the minWidth set on all of the DataGridColumns and the width set on one of them. If I simply maximize/minimize the display (in browser or stand-alone flash player) of the application, the columns scale up and down nicely. But if you grab the edge of the application and drag it to make it bigger, only one column grows really big. When you drag the size down again, the one column remains big, but all of the other columns get squished way down.
View 3 Replies
Mar 9, 2010
I want to know column index of header in AdvancedDataGrid when a user clicks on header - either left click or right click.
View 1 Replies
Jan 29, 2011
In Flex, using AdvancedDataGrid, I'm trying to achieve a drag and drop of one row's column data to another row's column or the same row but different column. Is this even possible? I've been googling for hours and all I can find are drag and drop whole columns just to rearrange their view order.
View 1 Replies
Sep 14, 2010
Here is what I want to do: I want to have a datagrid that displays a total value for each row. Lets say for example I have a datagrid. In this datagrid on each row I have five columns. Of the five columns four are for the user to input numbers. The fifth column is the the "total" column which is the result of a formula that calculates the previous four columns on that row in which the user inputs the numbers.
[Code]...
View 3 Replies
Oct 13, 2009
I'm pretty new to flash so apologies if i use incorrect terminologies. I'm trying to create a sliding interface set in a manner demonstrated in the diagram below.On MAIN PAGE there will be objects which will enable you to navigate around the site. i.e. if you click on the stick man the movie clip will navigate to the left and location you to the contributors page. If you click on the camera the movie clip will navigate to the right. Click on the TV the Movie will navigate downwards.Each page is only visible when you click on the relevant icon (i.e if you click on the stick man the movie clip slides to the left locating you to CONTRIBUTORS PAGE and MAIN PAGE comes off the screen.
In order to construct a site which navigates this way.......how would i do it and what is the Actionscript for this sliding interface style Do i combine all pages together and make one big movie clip...using script such as.....
public function moveX(event:Event):void {
Xspeed = (mover_mc.x-newX)/
2+Xspeed)/2.5;
[code].....
View 1 Replies
Apr 24, 2009
I am aware of the built-in 'Strings' panel within the Flash IDE, however is this the best way to go about creating a multi-lingual AS3 site/application nowadays?Are there any recommended 3rd party APIs/frameworks available? Ideally I'd like to be able to change language on the fly and support as many character sets as possible, I will also be dealing with both static and dynamic text content.
View 6 Replies
Nov 15, 2010
creating an image gallery for my site. Please see my photo link:I want all the thumbnail btns on the left to load the large photos on the right. For 3 of the thumbnails, I need to show more than 1 image so I created numeric btns underneath the large images that will load photo 1, photo 2 etc. The issue that I can only get this to work on layer 1 and 2, when I try to do this for another thumbnail I get this error:"TypeError: Error #1009: Cannot access a property or method of a null object reference.t press2_fla::MainTimeline/frame1()"This is the basic script that I am using for all my thumbnails:
ezo1.addEventListener(MouseEvent.CLICK,playezomag) ;
function playezomag(event:MouseEvent):void{
gotoAndStop("fefe1");
[code].....
View 1 Replies
Jun 19, 2005
I am currently poulating a Flash production for a client with XML generated data, simply so that I can give my client a piece of work which they themselves can update easily. The problem comes from the fact that I could have quite a lot of information hanging around in the form of a multi dimensional array structure where the XML data will be placed after parsing.Ideally I would like the ability to create a delimited Multi-dimensional array, which can dynamically update it's size, without me having to declare an array of 32000 cells each time, which could waste system resources to a stupid proportion.I have tried:-
Code:
_global.myArray = new Array();
but it didn't seem to initialise the array unfortunately....
[code].....
View 6 Replies
Aug 10, 2011
I've been searching for the last couple days but can't seem to find a basic example of what I'm looking for. I'm developing a Flex 4.5 app and in it I have a viewstack of 2 components that use some of the same services. Currently the only way I can get the app to correctly use the web services is by defining 2 different web services that use the same PHP web service file. For example: I have an app, and within it I have a viewstack with tab navigation of 2 components: #1) retrieve a list of all Salary Employees, and #2) retrieve a list of all Contractors. Currently to get it working I am defining a UsersTableEmployees webservice within component #1 and a UsersTableContractors webservice within component #2, but they both point to the same PHP class, and only differ in the arugment value I pass to them. Ie, getUsers("employee") and getUsers ("contractors"). Of course this is not best practice.
Searching StackOverflow and Google gives me many results about ColdFusion and MVC (example What's the best way to share data between components in Flex?), but I'm still confused. Can anyone here point me to a basic example (even sample MVC) and source code of an app that uses Zend AMF and allows different components to call common web services?
View 1 Replies
Mar 23, 2010
I'm using a viewStack which have is property resizeToContent set to true. When I'm selecting a child higher than the viewStack, it's correctly resized, but when I'm selecting another child which is smaller, the viewStack isn't resized! What I want is that my viewStack get the height of the selectedChild each time.
though, the Adobe doc say :
If true, the ViewStack container automatically resizes to the size of its current child.
View 1 Replies
Nov 2, 2010
I've got a Flex 3 project.Does deep linking only work on viewStacks? (My project doesn't have any viewStacks). I'd like to use deeplinking based on what was selected in a comboBox. I'd like the user to be able to bookmark or use the back button based on what was selected in the comboBox.The comboBox selection determines which data is pulled from the database.Is this possible? I set-up deeplinking in another project, but it had viewStacks. And all of the deep linking examples that I've seen use viewStacks.
View 1 Replies
Dec 3, 2009
in main.mxml :
public function init():void
{
PopUpManager.createPopUp(this,login,true);
}
[Code]....
How can i selectchild of main.mxml's Viewstack from login.mxml ?
View 4 Replies
Jan 24, 2010
I have as good as finished a new project I'm working on now for a while, and I have this small problem coming up at the fine tuning.The area of concern is so I believe the ViewStack I'm using, but I'm not sure so here the details.I have several check boxes (4), and only one at all times can be selected to show off associated Radio Buttons as a Group of (6). No RBtn pre selected.With the selection of a check box I also make visible a new Radio Button Group of (4). No RBtn pre selected here either.Now if I select one of the RBtn (6 - each has a different Paper size measurement showing) then I can view through a external Xml data file details as Size, basePrice and the totalPrice which is in this case the same as the basePrice!
This totalPrice is located on the first Canvas/Label in the VStack!Selecting any of the first three (3) of the second RBtn Group (4) No RBtn pre selected either! - it will show me a Paper type description, and by selecting the fourth RBtn it will show me as well a field with the extra costs for a Canvas type, and it should select the second Canvas of the VStack with the totalPrice which is basePrice plus the extrasCost Canvas Price.Now the problem is that my second VStack Canvas/Label = totalPrice (basePrice +extraCost) is not showing up immediately! (It just shows blank canceling the basePrice out), and only if I select another of the six (6) RBtn! then it is showing the second vStack with the totalPrice (basePrice +extraCost). From here on everything works perfectly!I think that I have to mention that my RBtn Group are working in a function If / Else / If /Else configuration where both the Labels on both VStack Canvases are called up at the same time. So therefore both Labels should have data available which than should be viewed when the VStack changes?
View 1 Replies
Jun 10, 2010
I'm trying to figure out how to in as3 (not mxml) add views to a view stack.For example I have a view component like so[code]I've being trying to add it to a viewstack in the following way.[code]I'm aware I have to assign ID's but for now I just want to get the view in there
View 2 Replies
Jan 31, 2011
I want to know if I can use a tree and when and item in the tree is clicked the viewstack changes to that certain item?
View 1 Replies
Mar 15, 2011
My Strucutre is like this.
<mx:ViewStack>
<mx:HBox>
<mx:Form>
[code]......
View 2 Replies
Mar 28, 2011
I have a ViewStack with 2 panels:
<mx:ViewStack id="viewstack1" height="243">
<mx:Panel id="gridPanel">
<mx:DataGrid id="grid" right="10" left="10" top="10" bottom="10" width="300" height="150" itemClick="showDetails(event)">
[Code]....
I want to have the user click a grid item in the first panel and then load the data in a panel in the second panel. I can grab the value of the index for the clicked item in the itemClicked handler, but how do I access the detailsPanel to set the values based on the row info from the Grid?
View 3 Replies
Aug 2, 2011
I want to add a component into a Viewstack dynamically in flex4. Like code below
[Code]....
But the code in comment doesn't play the effect. How can I implement it? Does the canvas have any hideffect or showeffect to Bind
View 2 Replies
Sep 20, 2008
I'm having problems creating dynamic tabs here's my code:
mxml:
<s:TabBar x="1" y="1" height="32" width="100%" dataProvider="{tabHolder}" chromeColor="#EF8B01"/>
<mx:ViewStack x="2" y="34" id="tabHolder" width="100%" height="214" creationPolicy="all">
<s:NavigatorContent label="Home" width="100%" height="100%">
<mx:Image x="6" y="8" height="181" width="402"/>
[code]....
tab wasn't added, what is wrong?
View 1 Replies
Jul 21, 2009
In my flex project i used one option like Link button . If i like it will be open new page contain more information and components . Which container is suitable one ? Where is used viewstack and stages ?
View 2 Replies
Dec 9, 2009
What is the main difference Between ViewStack Container and Canvas?
View 1 Replies