Hi.
I have a working MenuBar, with sub menus - all working exactly as I need it
to.
I was wondering, however, if there was a way to force the sub menu to open
upwards instead of downwards in relation to the menu bar.
I plan to place the MenuBar on the bottom of the component, and would like
to
Hi Tracy,
Thanks for the help and the code.
I ended up implementing the component myself, as a container of multiple
types of editors.
Similar to what you implemented really, just with separate editors instead
of states.
On Wed, Feb 25, 2009 at 3:06 AM, Tracy Spratt tspr...@lariatinc.com wrote:
Hi,
we're having 2 issues with memory in Flex:
1) Part way through our Flex application we open an external HTML page (3rd
party page). The user selects items from this page and then closes the page
the control is then returned to the Flex application. This 3rd party page
is heavy in terms of
--- In flexcoders@yahoogroups.com, markgoldin_2000
markgoldin_2...@... wrote:
Can I disable some buttons in ToggleButtonBar control?
Thanks
sure...something like this would do it
Button(myToggleButtonBar.getChildAt(1)).enabled = false;
OK, some updates:
What caused me to ask this, was that when I tried it, the sub menu appears
to flow off the bottom of the screen.
I tried it again, and it seems it only does this for the first time the sub
menu appears.
The second time, it kinda found out that it was flowing off the screen,
and
There is a compiler option to allow to supply a services-config, so you
can change it and supply the changes one.
Better question, why do you want to change them?
Gk.
Gregor Kiddie
Senior Developer
INPS
Tel: 01382 564343
Registered address: The Bread Factory, 1a Broughton Street,
I think describeType() gives the inheritance list. You could pick it out
of that. It certainly gives the baseclass
Gk.
Gregor Kiddie
Senior Developer
INPS
Tel: 01382 564343
Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ
Registered Number: 1788577
On Thursday 26 Feb 2009, Paul Kukiel wrote:
Did you install into Eclipse 3.3 or 3.4 because it only works with
3.3. When i tried with the apt-get install eclipse version with
Ubuntu I got lots or errors but when i manually setup 3.3 FB worked
correctly.
I'm using the apt provided Eclipse, so
On Thursday 26 Feb 2009, markflex2007 wrote:
which file can provice {server.name}, {server.port} and {context.root},
Their filled in at run time by the client.
Which file I can change if I want to change them? Please give me the
file name I can make some changes.
If you want to hard code a
Hi,
I have an Air application which is launched from a C# application
using System.Diagnostics.Process.Start(myAirApp.exe). I need to be
able to return some results from the Air app back to my C# app.
Is there any way to do this?
Any help regarding this would be greatly appreciated.
Thanks
On Thursday 26 Feb 2009, akila_ksri wrote:
using System.Diagnostics.Process.Start(myAirApp.exe). I need to be
able to return some results from the Air app back to my C# app.
obviousHave the AIR app write a file, read that back in.
--
Tom Chiverton
Helping to dynamically cluster cross-media
Hi Tom,
Thanks for your quick response, I do not want to write to a file
mainly because, the output keeps coming from the Air application and I
need to do the processing at the same time in C# and not wait till the
application has exited completly.
-Akila
--- In flexcoders@yahoogroups.com,
You could check if AIR allows to output to the output stream (or
System.Out) while running and you can catch that easily under Windows.
See for more information:
http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandardoutput.aspx
Of course, can also add some
They can communicate via LocalConnection. Your C# app just needs to
re-implement it, which admittedly is no small undertaking.
Gk.
Gregor Kiddie
Senior Developer
INPS
Tel: 01382 564343
Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ
Registered Number:
I think there is AxInterop.ShockwaveFlashObjects.dll that would be useful
On Thu, Feb 26, 2009 at 4:46 PM, akila_ksri akila_k...@yahoo.co.in wrote:
Hi,
I have an Air application which is launched from a C# application
using System.Diagnostics.Process.Start(myAirApp.exe). I need to be
You can find most of the information you need at:
www.osflash.org/localconnection.
1) I use HTTP1 to inquire from an Oracle Pipe in State1.
2) Then I use HTTP2 to load a dropdown in State2 with a default value
from the Oracle Pipe result in State1.
3) All the code resides in a single script.
Question:
How do I get HTTP2 to execute in State2 ONLY?
On Thursday 26 Feb 2009, akila_ksri wrote:
Thanks for your quick response, I do not want to write to a file
mainly because, the output keeps coming from the Air application and I
Use SQLlite then ? I'll be amazed if C# doesn't have a connector...
--
Tom Chiverton
Helping to appropriately
For the first problem I don't have clue but for second problem I can say
that it's due to weird behaviour of Flash Garbage Collector.
On Thu, Feb 26, 2009 at 2:48 PM, nwebb neilw...@gmail.com wrote:
Hi,
we're having 2 issues with memory in Flex:
1) Part way through our Flex application we
You can write a socket server into your c# application and connect to
that from the AIR app.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of akila_ksri
Sent: 26 February 2009 12:04
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
You can use is operator to compare that object with your desired set of
classes using if - else if conditions
Best,
Ashish
On Thu, Feb 26, 2009 at 3:30 PM, Gregor Kiddie gkid...@inpses.co.uk wrote:
I think describeType() gives the inheritance list. You could pick it
out of that. It
Still can't understand why the following does not work:
code:
mx:ToggleButtonBar id=floorlines direction=vertical
iconField=icon
horizontalGap=5 itemClick=clickHandler
(event); labelField=label
creationComplete=floorLinesData();
You should be able to override the className property, something like this:
override public function className():String{
return 'VBox'
}
Whether it is a good idea or not is open to discussion.
pmotzfeldt wrote:
Hi,
I am wondering if anybody knows how I can find the actual class type
of
Maybe you want to look at technologies other than AIR?
Tom's suggestion of write to file, read from file should be
implementable w/o shutting down the AIR app. You just have to implement
some kind of directory watcher in the C# piece.
Beyond that, you might look into WebORB.NET or
Solved. Use contentHeight and contentWidth to get scaledImage
properties. Hope this helps someone else out.
--- In flexcoders@yahoogroups.com, azona26 azsl1326-em...@... wrote:
I am have a (large) Image Control whose source property is based upon
which (smaller) Image Control is selected in
I have an itemRendrer in a DataGrid that contains an Image tag. When
the user uploads the image file from another column's itemRenderer, I
need to have the Image's source set to the new filename. How is this
done in Flex using good OOP practices?
Design:
mx:Array id=arr
mx:Object label=Accordion
icon=@Embed('D:/projects/sfcs/assets/status_online.png') /
/mx:Array
Run time:
objectToArray = new Object;
objectToArray.label = Accordion;
objectToArray.icon = @Embed
('D:/projects/sfcs/assets/status_online.png');
lineList[0] = objectToArray;
In
- Original Message -
From: markgoldin_2000 markgoldin_2...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, February 26, 2009 3:28 PM
Subject: [flexcoders] design time array vs. run time array
Design:
mx:Array id=arr
mx:Object label=Accordion
How to do this if I need se end point like
http://192.168.0.10:1080/mytest/mytestbroker/amf
Thanks
Mark
I add show event to my component like
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; height=768
width=858 xmlns:ns1=marketingModule.view.components.forms.*
show =init()
/mx:Canvas
but it doesn't call the function. I change it to craeteComplate,it
works at first time.
But
i'm no expert but i'd suggest not using XML as the
dataprovideronly because of what the docs say and looking at the
code prior to line 378 in NavBar.as
I modified your dataprovider to look like this
mx:dataProvider
mx:Array
mx:Object id=b4 label=G2 online=true icon=@Embed.../
etc..
Are you using SWFObject?
http://groups.google.com/group/swfobject/browse_thread/thread/d94bc23037ddc714
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of
Hello everyone,
I've been running into a pretty disturbing problem for the last few days.
I am updating a login module so that it can handle user registration
and password retrieval.
I have various messages displayed depending on what the user did ( e.g
: the password is incorrect ). And they
I am drawing the horizontal line of a crosshair on a columnchart.
g.lineStyle(2,0xFF,.5);
g.moveTo(0,_crosshairs.y);
g.lineTo(unscaledWidth,_crosshairs.y);
I would like to change the lineStyle when the crosshair hits a y
coordinate that would equate to a particular data value on the
Hi all,
I have a problem related to sorting type-casted numeric data, and was
wondering if someone could help me out:
Given some numeric data stored as strings (11.5), how can I populate
it into a DataGrid and have it sort properly?
From the Flex API docs
Hi Keith,
Have you tried casting your string to a number via the number()
function first? Number() handles floating points well. We have the same
problem sorting kit numbers in true numerical fashion as we can have
some that begin with a letter versus a true number. So in our sort
As I'm answering my own questions here, I guess I'll just posted my
findings :)
I just wanted to point out that this is much appreciated. There's way
too many forum threads that end with never mind--figured it out, which
is not that helpful to the next guy who has the same question
(flexcoders is
Yeah, I see it now too.
Do think it's possible to set an icon for a button at run time?
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
i'm no expert but i'd suggest not using XML as the
dataprovideronly because of what the docs say and looking at
the
code prior to line
Not by default, but there are about a million and a half examples if you
search the web.
--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com
-Original Message-
From: markgoldin_2000 markgoldin_2...@yahoo.com
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject:
I think you should be able to have the C# app open an XML socket server,
and communicate back through XMLSocket from Flex. It's much more
straightforward than reimplementing LocalConnection, and much more
flexible than communicating through a file.
--
Maciek Sakrejda
Truviso, Inc.
Hi,
I have created a dynamic AdvancedDataGrid, columns on data grid is
added dynamically and also uses header renders, data is attached via
binding (via Model).
The issue is, When the data provider is null or empty my browser
hangs, If I try adding a breakpoint in my custom header renderer
Has anyone handled syncing things like contacts or calendar events
with mobile phones? Are there services or libraries for integrating
with the existing contact and calendar apps on the popular smartphones?
In trying to track down a printing bug [1], I discovered that (on
certain browsers) I can print the exact same object twice using
PrintJob.addPage(myPage) and get different results, even though
nothing about the object changed between calls [2] [3].
So far, I've found that the following things
Yikes!!!
Man, I really hope that this is just a mistake and it will be fixed
soon.
Well, I also post this question on Flex SDK forum.
http://www.adobeforums.com/webx/.59b80d28
Still waiting for the reply...
Hello all,
I'm not to sure why this isn't firing. I've broke this down to the simplest
of forms and even used some very basic examples to reproduce. For some
reason the labelfunctiojn never gets hit, maybe I'm missing something very
simple. My stacked charts and pie charts fire just fine, seems to
I have an advanced datagrid with 3 levels of Grouping...
Like this
Total Expense
Total Expense by Section
Total Expense by Line
Total Expense by Vendor
The datagrid works perfectly but when I export to Excel using a
modified version of exportexcel.ascode found
Hey Bob,
Good meeting you at the AZFPUG meeting last night.
Looks like labelPosition defaults to none on a BarSeries. Try setting
that to something else:
mx:BarSeries labelFunction=myLabelFunction labelPosition=outside
yField=Month xField=Profit/
HTH,
Ryan
From:
Alex,
Is this still an issue? I got the impression it had been addressed in
swfobject 2.1.
Jeff
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui
Sent: Thursday, February 26, 2009 11:36 AM
That thread should have concluded that it was fixed in 2.1. Note that the
SWFObject that are in Flex templates is still 2.0 though.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com
Hi,
You could consider to use the SyncML protocol. Now you probably would
still need some program in the middle who can push the SyncML data to
the mobile phone like via Bluetooth. Of course, you can also generate an
iCal file or a vCard file. Maybe? Of course, you can just push to
something
I¹m trying to trim a little more fat off an application that has half a
dozen RSLs and a scad of modules. The application is being built out of a
continuous integration process using Flex Ant Tasks. My first thoughts were
to tune compiled targets in the IDE (which worked nicely) and then use
Matt, when you say shallow copies below do you really mean
references? I jsut ran across behavior where the dragSource items
changed between the beginning of the drag and the dragDrop event. This
happened because in the dragOver event handler I was changing the
selectedIndex on the drag initiator.
Ah! good point, I completely overlooked that!
Yes, it was good time. Nice seeing some new faces. :)
Thanks Ryan!
B.
On Thu, Feb 26, 2009 at 12:16 PM, Ryan Graham ryan.gra...@phoenix.eduwrote:
Hey Bob,
Good meeting you at the AZFPUG meeting last night.
Looks like labelPosition
OK, this is a real challenge. How do I handle both dragEvents and
NativeDragEvents inside a list...
For instance, files need to be able to dragged in and the list (doing
this on the itemRenderer) also the list needs to handle the ablility
to be reordered with it's own drag and drop.
It seems
Hi,
I am using BlazeDS for communicate Flex with java application.
I want to know how to how to convert enum object to Flex ActionScript
object.
--- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote:
OK, this is a real challenge. How do I handle both dragEvents and
NativeDragEvents inside a list...
For instance, files need to be able to dragged in and the list (doing
this on the itemRenderer) also the list needs to
This came up on this list recently and apparently it's not a great idea:
http://tech.groups.yahoo.com/group/flexcoders/message/136096
We're using Granite DS which *does* generate a mirror ActionScript Enum
type, but apparently this approach is fraught with peril (because
Flash--unlike
I have a program that create an XML string and write it to a file
using either regular file function or zlib file function to create
compressed file. This is done on the server.
On the client, I can read and process the uncompressed file in an AS3
application using URLLoader and URLRequest. I
What are the other bytes ;) ?
I've run into some issues working with low-level bit-twiddling before
(only on Linux, but that still may be indicative of larger problems).
For example, in FP9 on Linux, sending a payload with a POST URLRequest
truncates the payload data at the first 0x00 byte (!).
Hi Greg,
If you change the top half of your borderSkin class to the code below,
you can use a class selector style as a styleName for a VBox
(styleName=tightDashBorder). To use a type selector style, you're
probably going to have to turn the borderSkin into a full-fledged
component; with the
You're also going to want to change this:
.tightDashBorder {
dashlen: 2;
dashgap: 2;
}
To this:
.tightDashBorder {
dashlen: 2;
gaplen: 2;
}
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:
Hi Greg,
If you change the top half of your borderSkin class to the code
I can't find any way to apply a resize effect when I expand a Panel
inside a DividedBox.
I tried using transition and applying a resize effect directly to
Panel resizeEffect, but without any effective result. In some cases
the behaviour is weird and I presume the cause could be that the
effect
--- In flexcoders@yahoogroups.com, jer_ela g...@... wrote:
If the new rows have a timestamp of when they were added, you can use
the AdvancedDataGrid styleFunction to change the style of a cell based
on that timestamp. Both AdvancedDataGrid and AdvancedDataGridColumn
have the property.
Thanks for the quick response. Both my server and client are Windows.
Actually they are the same machine!!!
I will try the checksum tomorrow but I checked number of bytes that
are both the same.
Another test I did was to send the uncompressed file and read into a
ByteArray. When I compress the
--- In flexcoders@yahoogroups.com, markflex2007 markflex2...@...
wrote:
I add show event to my component like
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; height=768
width=858 xmlns:ns1=marketingModule.view.components.forms.*
show =init()
/mx:Canvas
but it
Since you're using view states, consider using transitions instead of
effects.
-TH
--- In flexcoders@yahoogroups.com, faserone faser...@... wrote:
I can't find any way to apply a resize effect when I expand a Panel
inside a DividedBox.
I tried using transition and applying a resize effect
My company is where I like it - small and maintainable - just a few
employees. But sometimes I get some BIG projects thrown at me that are
nearly guaranteed. The problem is, I don't want to hire anyone and it's too
hard to keep a good group of reserve programmers busy 100% of the time.
I've
Note that ByteArray cannot consume a .ZIP file, as it contains a catalog. It
only handles the actual compressed bytes.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
Hey, this is just my opinion and what I've learned from working for
people that run small companies. I don't have direct experience - but
here's what I think
In my opinion $30k projects just aren't that big. They're great to
maintain your business, and by all means money is money - so
I'm assuming you're using PHP based upon gzopen.
From reading the zlib library documentation, you'll want to use the
gzcompress function instead of gzopen to compress your string into the
zlib data format (which corresponds to ByteArray's compress/uncompress
methods). Note that gzopen uses a
Three words
John C Bland
http://www.johncblandii.com/
He's a friggin Flash / Flex / CF / .net genius.
Also a former Flash Platform User Group Manager here in Phoenix and now an
Adobe Community Expert. My company has used him many times on big important
projects.
=]
--
Alan Rother
Adobe
The actual type of your component is MyCustomBox. Its superclass is VBox.
VBox's superclass is Box. Box's superclass is Container, etc. So you're looking
for your immediate superclass.
Use the getQualifiedSuperclassName() function in the flash.utils package. It
will give you a String like
Yeah, I've seen some of John's work and heard him speak at meetings here
in Phoenix as well. His client list and work are impressive to say the
least.
+1
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alan Rother
Sent: Thursday, February 26, 2009 5:50 PM
Jim,
I am using the zlib in a C program.
Alex,
The file passed t AS3 is not zip file.
Thanks.
--- In flexcoders@yahoogroups.com, Jim Cheng li...@... wrote:
I'm assuming you're using PHP based upon gzopen.
From reading the zlib library documentation, you'll want to use the
gzcompress
I am trying to figure out how to use the LCDS 2.6.1 load-on-demand feature with
a
DataGrid. I have set up my associations and am getting the expected result
when I load the
object (which is that none of the load-on-demand associations are populated),
however, then
do not know how to
Why does my dateformater NOT work in my grid (below) if
I specify the resultformat as E4X? Thats the only difference
I can see in the grids below.
Grids 1 and 2 are not e4X and yet they display the date as processed by
the dateformatter.
Grids 3 and 4 are e4x and the field is just blank for
Because in the line,
return publishDate.format(dateItem[dateColumn.dataField]);
dateItem[dateColumn.dataField] is an XML object, not a string, and the
date formatter doesn't like that. Try adding toString() after it and
it should work, i.e.
return
Is it possible to define repeaters at runtime? I've scanned the web
and didn't find anything. I would like an Image array defined within a
repeater but WITHOUT using the mxml
mx:Repeater id=myRepeater dataProvider=...
mx:Image id=myImage/
/mx:Repeater
.
.
.
.
so that I can access it later in the
Yeah, I always get annoyed when I'm searching for an answer an then
it's just never mind...figured it out. The answer may make you look
foolish (if it's something simple), but someone else will probably be
grateful for having a quick solution to their problem.
--- In flexcoders@yahoogroups.com,
If you don't want to use mxml, why don't you use a simple loop instead of
repeater?
The idea of the repeater is to make a loop in mxml adding UI components.
But if you don't want to use mxml, you can easilly do this in AS3 with a
loop + addChild method.
Just my 2 cents,
Pedro Sena
On Thu, Feb
Thanks Pedro
So is it possible to define an Image Array without a repeater? I'd
like to run through 64 Images using:
for each (var img:Image in ImageArray)
{
... etc
}
Back to google.
Image is loaded, but Security Sandbox Violation log is outputted in
console. If scaleContent is true, there is no Security Sandbox
Violation log.
crossdomain.xml is like this.
?xml version=1.0?
cross-domain-policy
site-control permitted-cross-domain-policies=master-only/
Tried this but it failed:
In Model.as
public var a_red:Array=new Array();
then later:
Model.getInstance().a_red[1].source=Model.getInstance().red_source;
where red_source is a png image.
for (var i:int=0;i64;i++)
{
Model.getInstance().a_red.push(Model.getInstance().red);
}
then:
trace(Red
My question is why the show event never be fired.
Thanks
It works - please ignore the previous post. Wow, the ability to push
components into arrays like this opens up so many possibilities -
especially when working with flex frameworks. I find it strange the
documentation doesn't highlight this feature - otherwise I missed it.
Thanks again!
No takers on this one...Seems like a common request that would be
helpful to all in this community...
Or is the request very simple and I am missing something?
I have a panel which contains a form, form items, controlbar and a
button. When I create a new state and remove all the items from the
panel using removeChild, the error is thrown:
ArgumentError: Error #2025: The supplied DisplayObject must be a child
of the caller.
I have narrowed it down to an
How to do Dynamic tree inside advanced datagrid
88 matches
Mail list logo