I use code-behind on pages with lot of code, since I don't want a mess:
On index.mxml I have the script block containing th epath to the
actionscript file (not as class):
mx:Script source=index.as /
My question is:
Why doesn't Flex Builder allow to name the .mxml and .as page using the
same
Hi,
I'm using mx:Move effects on ViewStack as it's items showEffect and
hideEffect. HideEffect moves the previous view off-screen; then the
next view slides in.
(btw these views are complex full-screen displays (containing
TabNavigators, DataGrids and TileLists)
First time when changing
Hi,
I have a great problem with this one.
I'd like to use the embedded image:
[Embed(source=images/window.png)]
[Bindable] public var imgWindow:Class;
.. in a class (that extends UIComponent) that generates the image as
it's child:
protected override function createChildren():void {
Problem solved:
Seems that the image size created by myClass was 0x0 px (?!) by
default: that's why the image was invisible.
Danko
--- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
Hi,
I have a great problem with this one.
I'd like to use the embedded image
I've made a custom component (based on Canvas). When resizing a
browser, the updateDisplayList(unscaledWidth, unscaledHeight) fires
only when resizing to a greater window size. When resizing to a smaller
size, it doesn't fire. The scrollbar appears instead. Why?
Thanks!!
Oh, I got it: a horizontalScrollPolicy of the parent container wasn't
set to off..
Sory for inconvenience...
--- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
I've made a custom component (based on Canvas). When resizing a
browser, the updateDisplayList(unscaledWidth
@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
Oh, I got it: a horizontalScrollPolicy of the parent container
wasn't
set to off..
Sory for inconvenience...
--- In flexcoders@yahoogroups.com, Danko Kozar danko.kozar@
wrote:
I've made a custom component (based on Canvas
Thank you Mike, you helped me to solve my problem!
In the measure() method I have had this statements:
measuredWidth = measuredMinWidth = parent.width;
measuredHeight = measuredMinHeight = parent.height;
Well.. this code originally came from an example - now I realised that
this min width and
I have a strange behavior of a policy file.
On two different computers I have the same url open (IE6) and the
very same Flex content is loaded in both of them:
The first one loads the specified crossdomain.xml normally, and
consumes the web service from the remote location.
The other one
The same flicker thing is happening to me. Seems that if object on
the state that is being shown is already created (built) - the
flicker appears. It does not appear the first time - e.g. when object
is created for the first time.
Whoa do we need to do? Destroy objects on state change?
??
---
Fiddler says that the request is being made (by both computers).
Only that one receives the responce, the other not.
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED]
wrote:
Did you try to look at the HTTP requests made by Flash Player. Try
using
charles or fiddler to look
mapping... :-| The error says that it is trying to connect
to 192.168... (some local addresses) and not to a domain name.
Huh..
--- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
I have a strange behavior of a policy file.
On two different computers I have the same url
I'm trying to compile a library (swc) project for a first time, but
nothing happens - the bin folder remains empty.
The project is created with: File - New - Flex Library Project. I've
included the classes as described in examples.
I've tried to 1) build the project manually, and 2) with
Have you tried:
myDP = xmlData.partsList.catalog as ArrayCollection;
?
--- In flexcoders@yahoogroups.com, helihobby [EMAIL PROTECTED] wrote:
Hello,
I have XML data which comes back from a server via a custom socket.
How can I convert that the to an ArrayCollection ?
If I try:
myDP =
as
it builds
the swf.
If everything looks good and you see no errors.
Try Project-Clean and clean the library project.
Peace, Mike
On 1/25/07, Danko Kozar [EMAIL PROTECTED] wrote:
I'm trying to compile a library (swc) project for a first
time, but
nothing happens - the bin folder
Is it possible to use mx:Effects with TitleWindow popped up by
PopUpManager?
I'd like to use some Move and Resize effects on window show and hide -
just to make it slide in and out.
I've try it using showEffect and hideEffect property of TitleWindow,
but it doesn't work.
Thanks! I'll try it..
D.
-- In flexcoders@yahoogroups.com, Brian Holmes [EMAIL PROTECTED] wrote:
On your title window set visible=false and then on the
creationComplete
event set visible=true;
mx:TitleWindow visible=false creationComplete=this.visible=true
showEffect={myShowEffect}
, Doug Lowder [EMAIL PROTECTED] wrote:
Does it work if you use creationCompleteEffect?
--- In flexcoders@yahoogroups.com, Danko Kozar danko.kozar@
wrote:
Is it possible to use mx:Effects with TitleWindow popped up by
PopUpManager?
I'd like to use some Move and Resize effects
the show effect either doesn't fire or has
already fired. (not sure which)
B.
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Danko Kozar
Sent: Thursday, February 01, 2007 3:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders
I noticed a bug in Accordion (Flex 2.0.1). I have an Accordion with
three children end every one of them has another image as icon property:
mx:Accordion
myForm:Form icon={icon1} /
myForm:Form icon={icon2} /
myForm:Form icon={icon3} /
/mx:Accordion
The problem is that THE LAST ONE (icon3)
I'm trying to create a control that receives a dataProvider (which is
an ArrayCollection of Objects) and draws these objects as Sprites on
screen (the object contains x and y property (coordinate) of the
Sprite).
My question is: when moving the object with mouse, how can it's new
position
.. and that has to change the dataProvider..
Thx..
--- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED]
wrote:
in your dragDrop event, broadcast the items x y along with its
arrayCollection identifier and update the collection.
On 2/2/07, Danko Kozar [EMAIL PROTECTED] wrote
Does my control have to implement some interfaces which are
implemented by DataGrid?
I'd like a simple explanation what list controls do behind the scene
when it's item is updated.
Thanks..
--- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
Yes I now that - but I'd
Hi,
I'd like to make a Flash animation that will be reusable throughout my
apps as application background. I'd like to have it attached like:
mx:Application backgroundImage=Embed(source=myBackground.swf) ...
I also want it to extend UIComponent, because of it's automatic
resizability. I made
I'm interested what's the best practice for this issue:
I edit a DataGrid items - not in the grid but in the form that pops up
on items double-click.
After the edited item is submitted to the database, I'd like to change
it's on-screen appearance.
If I change its value in a DataProvider -
I have two Cairngorm events that trigger two commands which (using
delegate) trigger two different web service methods.
The problem is that both calls return the same result set (?).
It seems that fireing two events at the same time causes this problem.
Any suggestions?
Thanks.
btw how am I supposed (for the sake of Cairngorm consistency) to handle
calls that are not actions to user gestures, for instance: calling 3
web service methods for filling 3 combo boxes?
Thx!
--- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
I have two Cairngorm
a
function that make the service calls. This is quite common in
applications
that I have built that need to have data populate on load.
Rich
On 2/10/07, Danko Kozar [EMAIL PROTECTED] wrote:
btw how am I supposed (for the sake of Cairngorm consistency)
to handle
calls that are not actions
I've got a weird problem:
- When passing an ArrayCollection (of strings) to the web service as
its method argument, everything works OK.
- But, when wrapping an ArrayCollection (of objects) into a custom
collection object, only the first item in the collection is
transferred.
The problem is
@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
I've got a weird problem:
- When passing an ArrayCollection (of strings) to the web service
as
its method argument, everything works OK.
- But, when wrapping an ArrayCollection (of objects) into a custom
collection object, only the first item
The livedocs suggest that every UIComponent has automatically set
event listeners for keyUp (adn keyDown) events:
http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html#key
UpHandler()
So, I expected that it's enough to override this method to make some
action on key-click. But that
I really need help with this one.
My tab navigator has icons that render on wrong positions.
Please look at this image:
http://www.dkozar.com/images/bugs/tab_icons_1.gif
After I mouse-over over the tab(s), the icon position is (magically)
fixed:
: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Danko Kozar
Sent: Wednesday, March 07, 2007 3:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] UIComponent: keyUpHandler - what's it for
anyway?
The livedocs suggest that every UIComponent has automatically set
I'd like to hear some thoughts about paging implementation on Flex
DataGrid.
The server side implementation isn't a problem - I have a paging
routine that fetches chunks of data from a database. This paging
works ok with asp.net.
But, with changing the client-side technology to Flex, I would
for in html,
like ntobi's live grid for example. I'm sure it wouldn't bee too
difficult to adapt my paged grid to changes pages using a
scrollbar.
Let me play around with it a bit and I'll post some code soon.
Paul
--- In flexcoders@yahoogroups.com, Danko Kozar danko.kozar@
wrote
--- In flexcoders@yahoogroups.com, Danko Kozar danko.kozar@
wrote:
I'd like to hear some thoughts about paging implementation on
Flex
DataGrid.
The server side implementation isn't a problem - I have a paging
routine that fetches chunks of data from a database. This paging
works ok
in the grid.
--- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
I am testing both of this examples, thanks..
Question: is there any possibility to control the DataGrids
scrolling thumb position and height?
Because this way a page size would be fixed (rows
Private methods and variables drive me nuts..
For example, I'd like to make a simple DataGrid change: make headers
clickable without refreshing the grid (just toggle a sort icon).
(I need this behaviour because I'd like to have a paging DataGrid
which only propagates the sort column/direction
..
I think the question that framework developers should ask themselves
is: would someone like to extend this? If the answer is yes,
then make it PROTECTED!
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Thursday 08 Mar 2007, Danko Kozar wrote:
Private methods
on the ListCollectionView after adding the
sort to it.
jason
-Message d'origine-
De : flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la
part de Danko Kozar
Envoyé : jeudi 8 mars 2007 11:48
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: Are other developers
: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la
part de Danko Kozar
Envoyé : jeudi 8 mars 2007 11:48
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: Are other developers hesitant to extend
existing
classes in Flex?
Private methods and variables drive me nuts
PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Danko Kozar danko.kozar@
wrote:
I am testing both of this examples, thanks..
Question: is there any possibility to control the DataGrids
scrolling thumb position and height?
Because this way a page size would be fixed (rows
I've got the MenuBar on the top of the screen. And I'd like to force
opened windows to go BELOW it, not over it.
I've been using PopUpManager.addPopUp() to make popups:
PopUpManager.addPopUp(window, parent, modal,
PopUpManagerChildList.PARENT);
I tried everything, like setting parent to some
hope that helps
- Original Message
From: Danko Kozar [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, March 15, 2007 11:01:46 AM
Subject: [flexcoders] Preventing PopupManager to make popups over
the MenuBar?
I've got the MenuBar on the top of the screen. And I'd
I forgot to mention that the TabNavigator appears inside the
TitleWindow..
--- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED]
wrote:
I really need help with this one.
My tab navigator has icons that render on wrong positions.
Please look at this image:
http
?
Etc..
Difficult to assist if we have no idea what might have led to this
display?
Providing code helps.
jason
-Message d'origine-
De : flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la
part de Danko Kozar
Envoyé : vendredi 16 mars 2007 12:39
I have decorated the TitleWindow CloseButton with custom CSS:
close-button-up-skin: Embed
(../images/resizable_window/window_close_up.png);
close-button-over-skin: Embed
(../images/resizable_window/window_close_over.png);
close-button-down-skin: Embed
What are unnneded regions?
Thanks.
ps. my pngs are EXACTLY 16x16
--- In flexcoders@yahoogroups.com, Janis Radins [EMAIL PROTECTED] wrote:
Probably your button png has some unnneded regions filled with
pixels.
Check it with some image editor
from Adobe or anyone who has investigated this further care to
explain?
Thanks,
Jaime
On 1/17/07, Danko Kozar [EMAIL PROTECTED] wrote:
Hi,
I'm using mx:Move effects on ViewStack as it's items showEffect and
hideEffect. HideEffect moves the previous view off-screen
Does anyone know how is it posible for a web service to have a method
and a minute later it doesn't have it?
I'm getting an error that web service method doesn't exist:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
(Before this error occured, the
This is a serious Flex bug! I run a Flex application on a corporate
computer that doesn't have a sound card and the application crashed.
Using Flash player debugging version I realized that the problem was
in playing sound.
--- In flexcoders@yahoogroups.com, jpc14_99 [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Paul DeCoursey paul@ wrote:
Maybe I'm a little naive, but wouldn't you just use a try/catch to
suppress the error.
1) I think that if Flash player handles issues such as working on
Thanks, Doug!
Btw I have been using a debug version of Flash player on this computer,
so I can't say that error isn't supressed on the ordinary one..
--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote:
Have you seen this thread?
53 matches
Mail list logo