Hi Lach/All,
Can you please send some sample code for this because I am not able to
create slideshow using below approach.
It will be really helpful.
Thanks
Kumar
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lachlan Cotter
Sent: Saturday,
Hey Lach,
Loading XML files from where? I need to write an help html and im
looking at the best way to write it without creating external
dependancies.
- Saba
--- In flexcoders@yahoogroups.com, Lachlan Cotter [EMAIL PROTECTED] wrote:
Hi Saba,
What's wrong with just loading ordinary XML
Hi,
I'm trying to find the best practice to use with IViewCursor interface and a
pair of buttons to walk the collection ( previous and next buttons).
I want these buttons to enable/disable through binding but I only found two
properties afterLast and beforeFirst that doesn't do what I want since
Hi everyone,
Is there any means via which I can have my mxml file act as a template
and manipulate data via my class. Similar to the library concept what
we have in Flash 8, where we can use the asset in library by attaching
it to the main stage and then manipulate data for that asset from a
Hi All,
I need to create a dynamic form which has multiple pages each page
will be displayed in separate tabs and has individual controls. On
submit of a a button i need to trace the data entered in the controls
for each Tab. The numer of Tabs and controls will vary depending on
criteria
Your original post said you were happy to load an external file, why
couldn't it be an xml or html file?
Paul
- Original Message -
From: ssundke [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, December 27, 2006 11:08 AM
Subject: [flexcoders] Re: Load swc instead of swf
Could you please assist? This problem is very important, I think. :)
On 12/22/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
Did anybody face this problem?
On 12/19/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
Run this application in Internet Explorer:
?xml version=1.0?
mx:Application
Yes, Hank's solutionsis what I would do.
Further, when you say ...Flex 2 tree control limits direct access to
nodes..., you make me suspect you are making a conceptual mistake.
With data-driven controls, you never directly access the controls
themselves. Rather, you work with the
I've created a base state with a Form (we'll call it myForm)
containing 3 FormItems each containing a TextInput; I've also created
2 additional view states:
State FooA just has a FormItem with a ComboBox and is based on above
base state, and is added as the last child of myForm.
State FooB has 2
Carlos Rovira wrote:
Hi,
I'm trying to find the best practice to use with IViewCursor interface
and a pair of buttons to walk the collection ( previous and next
buttons).
I want these buttons to enable/disable through binding but I only
found two properties afterLast and beforeFirst that
Hello, I'm very new to Flex so please excuse my newbie question if it
seems a bit dumb...but here is my situation: I have a Flex
application - let's call the main application file 'Main.mxml' - I have
a component file - let's call it 'MyComp.mxml'. Within
the 'MyComp.mxml' file I have an
Hi all,
being pretty knew to Flex, I am currently wondering about the best way
to define a single dataprovider for both a list component and a viewstack.
On paper, I can see many ways to achieve this, but being a new flex
user, I am still pretty unsure about what would be the best/easiest
way...
Hi everyone,
My name is Jorge Maiquez, and this is my first post here. My question
relates to the AVM2 garbage collection mechanism. I have asked it
elsewhere but have not gotten a response. Here it goes:
From the AS3 docs:
Objects with registered event listeners are not automatically removed
Actually, Tracy, I dont think you need to do all of this work. The openItems
field of the tree does it for you. So you just need to go through the
openItems array of nodes and gather all the item IDs that I described in the
prior email.
To reopen them later, you just use the an e4x function (I
I know this has been rehashed a few times but I was wondering if anyone has
an updated resource showing comparisons? I need to talk someone down from a
Laszlo ledge and show the glory of Flex 2. :)
Rich
This may be a simple question, but it there a best place to store
the Cairngorm SWC? Currently, I have it residing in my documents
folder with all my other Flex projects (the default Flex Builder 2
folder). I simply followed this info for installing Cairngorm:
I keep a swcs folder at the same level as my projects so that it can be
easily included in multiple project build paths.
Rich
On 12/27/06, Kevin Merritt [EMAIL PROTECTED] wrote:
This may be a simple question, but it there a best place to store
the Cairngorm SWC? Currently, I have it
Sounds like other people may have had this problem, but I can't find
a solution online...
After installing Cairngorm (Flex Builder 2 Mac Pre-release), I am
getting this error:
unable to open C:\dev\swat\projects\ac_emea\Cairngorm\buildlib
Does anyone know what is causing this and how to fix
Thanks Dmitry,
I'm already using those methods. The problem is that I want to use a Button
and set a binding in the enabled property
something like
enabled={myCursor.beforeFirst}
But this is useless since I must go outside the collection to make the
button enalbed or not.
I want the previous
The point is the when I use a label sub-node it DOES work. From what I
read on the internet I shouldn't have to have a sub-node, hence the point of
my email. Oh, and I also do have 'labelField=label' even though that is
the Flex default and not required unless you want to change the name of the
Hi All,
I want to customise busy cursor. is there any way to customise it? how
can I put my own animation instead of clock animation? or is there
other animations available to change that cursor?
Please help me thanks.
Sanjay
There are several ways to do this. The simplest to code is to directly
access your control by dottting down through the component dom. If your
component is directly referenced by id in the main app you can do:
myCompId.chkBox1.selected.
This might not be the best term solution, though,
Hi All,
Is there anyway to get the current (open/closed) state of a combo box?
Senario:
in my application, the screen gets refresh automatically after a
specific period, lets say 30 seconds. if i open my dropdown list and
screen refreshes at that point of time, it closes the dropdown.
What
Try @label, since the values are in attributes. I think using a
sub-node makes that sub-node a top-level property so is accessible
using label.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Collin Peters
Sent: Wednesday,
Hi All,
There is an attribute called Label in Canvas tag, can anyone tell me
whts the use of this attribute?
Is there any way to show this label in the middle of top border of
canvas as label is shown in VB n JAva's canvas?
If there is a way to make the canvas or anyother component like VB
This property is inherited from Container. Here's excerpt from
documentation:
The text displayed by some navigator containers to represent this Container.
For example, if this Container is a child of a TabNavigator, this string
appears in the corresponding tab. If this Container is a child of
Solved the problem. There is nothing special going on. All I had to
do was to use the dataChange method to update the items variables
(which were bound to the items in the custom component).
Happy Holidays!
-bill
That's it!!! Awesome. Thanks Tracy.
private var foo:XML = types
typex event_type_id=1 label=General value=foo/
typex event_type_id=2 label=Tanning value=foo/
typex event_type_id=3 label=Tennis value=foo/
/types
Hi folks,
I am trying to create a custom button in AS3 using the Flex 2 SDK. It is
pretty simple; I just want it to be a wedge shape that I can rotate to
point in an arbitrary direction. My code is attached below, but I'm
stuck on two issues:
1. Making it behave as regular buttons do in terms
I'm trying to remember the height at which someone sets a vertically
divided section. I am using a VDividedBox and have set a listener to
the dividerRelease event.
When I get in there I can trace out the height of the top component
within the VDividedBox but it gives me the pre-resized value.
I was curious if there was any way that flex could access a HTTP
Session. I have not seen any type of tutorial/doc posted that might
work other than a very small note in the help section of flex's
installed doc's.
At this point my only solution is to use flash vars to capture the
session ID,
Hi,
I am trying to add a button to my application with vertical label.
Does anyone know how can it be done ? I've tried adding rotate='90'
to the button but then the whole button is being rotated and the label
disappears.
Adding Label or Text element also does not produce what I need, the
I am trying to import some sample projects from the web to understand
Flex application design better and I am running into problems loading
them into my workspace.
Could someone provide me with a step-by-step example of to how to
import these into my flex builder workspace.
Here is one of
Can someone please explain the following:
var foo:XML =
root
node attrib1=one /
node attrib1=two
subnodefoo/subnode
/node
node attrib1=threevalue/node
/root;
for each(var x:XML in foo.node)
trace(- + x);
Which outputs:
-
- node attrib1=two
subnodefoo/subnode
/node
- value
No, HTTP sessions are stored on the server-side, so you can't access them
from just the client side. The only thing you CAN access on the client side
is cookies, which may contain the session id, but the actual data is stored
on the server-side, indexed by that key.
Patrick
2006/12/27, Ryan
Hello all,
I am creating a portfolio application using Flex 2. In the app, I am
loading a number of swfs into the portfolio using a SWFLoader. These
swfs were created using Flash 4 through Flash 8 over a number of years.
In a few of the swfs, the author has, clearly, made reference to the
trace uses toString() to print the XML node. toString() gives
unexpected results like you see, with non-complex elements.
The best solution is to always us toXMLString() to print out xml.
trace(- + x.toXMLString());
Tracy
From:
Why not pass everything you need into Flex when you deliver the swf?
If you do decide to make a call to the server, consider HTTPService over
WebService. Returning xml over HTTP is much simple than using SOAP.
Tracy
From: flexcoders@yahoogroups.com
Hello,
I have a custom headerRenderer with a combo box, the combo box loads
data by week, day or month into my datagrid. Unfortunately, clicking
on an item in the box automatically loads items into the dataGrid
which was last selected, how do I prevent this from happening? Why
does clicking on
Hi all,
Here's what I am trying to do. I have an object that I
get from the server (currently via XmlRpc but that
doesn't really matter). It's an Object. I want to convert
it into a data structure on the client side for easier
manipulation. If I do something liek
class Foo {
var prop1:String;
If you want to get the height of children of any container including boxes,
you are going to need to look at the size of the children themselves. So if
you want the top box in your example, it would be vbox.getChildAt(0).height.
However, I do believe that on dividerRelease the child would not
I'm trying to use the itemEditBeginning event on a datagrid to only
allow a column to be editable if the person clicks on it, if they tab
to it I need to kick them out of the column.
I can't figure out how I can get access to the keycode since the
itemEditBeginning event is a DataGridEvent and
sanjay-
i just put together a site dedicated to skinning flex apps. check it
out at http://www.scalenine.com and check out the resources page for
answers to your question. so far the site offerings are pretty limited
(there's a theme i created called obsidian and 2 others i found
online), but i
I am reading the book, Advanced Actionscript 3 with Design
Patterns, and must confess that I've never truly followed proper
OOD/OOP in writing my Flash 8 web apps. But, now that I'm doing my
first Flex 2 web app, I figured I really should do this the right
way by implementing a proper MVC
Hi to Matt and all flexcoders!
I have implemented AutoScrollManager class that do this job:
http://skovalyov.blogspot.com/2006/12/probably-one-of-most-annoying-thing.html
I consider this solution could be changed a bit and added to the native
Container class in future Flex releases or updates.
I'm working on a client/server app where we implement the
FlexSessionListener interface to detect when a user closes the browser
window so that we can clean up the data on the server. I have found
some shortcomings with this approach, but the biggest one seems to be
that the sessionDestroy
Ron, when creating your views, you can use MXML with no problem. Take
a look at the Cairngorm framework at Adobe Labs
(http://labs.adobe.com/wiki/index.php/Cairngorm). They routinely use
mxml to create their views and attach ActionScript view helpers to
their mxml files.
Common uses of this
I've been using the errorString property of UIComponent to remove
errors associated with TextInput fields, but it seems to put a black
border around the field instead of just removing the red error border
and error string.
Thoughts?
-riley
If your question is when flex calls a java class and within the java class how
do I access the associated session, then the code is below and it is in the
documentation. The FlexSession class is located in the flex-messaging.jar.
FlexSession session = FlexContext.getFlexSession();
But whats
I'm confused on how to use setTimeout
i have a function that i need to wait 500 milliseconds to call...
var aVars:Array = [lat, lng, zoom];
trace(aVars); //39,-105,6
var my_timedFunction:uint = setTimeout(manipulateMap,500,aVars);
public function
Ron,
Two suggestions on samples of MVC with Flex 2:
1) http://cairngormdocs.org/ This link has several levels of downloadable
Example Apps
2) http://www.adobe.com/devnet/flex/articles/blueprint.html In the article
at this link Joe Berkovitz gives a fantastically concise walkthrough of MVC
in
I'm no eclipse expert, but the file u download doesn't have the special eclipse
project config files within it (like .project, etc...)
So create a flex project, specify a source folder and put the files in there,
it should work.
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
check out darron shall's object serializer, it should do the trick
On 28/12/2006, at 7:52 AM, chuvakgu wrote:
Hi all,
Here's what I am trying to do. I have an object that I
get from the server (currently via XmlRpc but that
doesn't really matter). It's an Object. I want to convert
it into a
I've got it in /libs/swc/
On 28/12/2006, at 2:29 AM, Rich Tretola wrote:
I keep a swcs folder at the same level as my projects so that it
can be easily included in multiple project build paths.
Rich
On 12/27/06, Kevin Merritt [EMAIL PROTECTED] wrote:
This may be a simple question, but
Thanks to both of you for the references. I'm printing them out to
read now.
Ron
--- In flexcoders@yahoogroups.com, greg h [EMAIL PROTECTED] wrote:
Ron,
Two suggestions on samples of MVC with Flex 2:
1) http://cairngormdocs.org/ This link has several levels of
downloadable
Example
The docs advise using Timer instead.
If you are trying to use this to wait for the result of an external data
call, you are making a mistake.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jensen.axel
Sent: Wednesday,
Anyone have any links to share?
Rich
On 12/27/06, Rich Tretola [EMAIL PROTECTED] wrote:
I know this has been rehashed a few times but I was wondering if anyone has
an updated resource showing comparisons? I need to talk someone down from a
Laszlo ledge and show the glory of Flex 2. :)
Rich
The reason you don't see the effects trigger is because you're adding
elements to the chart, you're not changing the underlying data for the
chart. You might want to try going through first and setting up the
columns like you have but pointing yField to a dummy column, say
intervalN. This will
I played around with this some more. The fix was pretty easy.. just
add one line resultchart.hideData(). At least this worked for me.
public function appendInterval(column:String):void
{
resultchart.hideData();
var series:ColumnSeries = new
What you have described is basic deep linking, but does not solve the
problem I have been attempting to articulate. Regardless of what goes on
on the server, if you enter some path info after the .com part of the
url, the server thinks it is getting its data from that location
(foo.com/bar/
Rich,
I have been out of the loop on Laszlo. I am plenty busy with my Flex work
:-)
If someone can come up with a concise comparison chart on Flex 2 vs Laszlo I
would be interested to see it.
Last I had left off, after Macromedia announced Flex 2 pricing, Laszlo
announced they were going to
61 matches
Mail list logo