[flexcoders] Re: Scroll Parent Canvas from Datagrid Drag and Drop...

2010-07-13 Thread shahjitesh
Did anyone encountered such scenario.

 How can I scroll parentDocument canvas when I perform Drag and Drop in
 DataGrid.
 
 
 
 First MXML
 There is creationComplete Script which adds Second mxml as child
 mx:Canvas id=containerWidgets x=0 y=35 width=100%
 height=5000 backgroundAlpha=0 /
 
 
 
 Second MXML (This MXML is used to move rows from one datagrid to another.
 Basically displaying 3 column layout where objects can be drag and dopped.
 When I drag top level level row to bottom I want ParentDocument canvas also
 to scroll, so that user can drop rows in 10th or 20th record which cannot be
 displayed on screen)
 mx:Canvas x=0 id=widgetCanvas y=25 width=98% height=100%
 resize=resizeGrids()
 
 mx:DataGrid selectionColor=white id=dbGrid1
 dataProvider={grid1XMLData} paddingTop=0 paddingBottom=0
 variableRowHeight=true rowHeight=500  x=5 y=5 width=33%
 height=100% showHeaders=false dragEnabled=true dragMoveEnabled=true
 dropEnabled=true borderStyle=none visible=false rollOverColor=white
 alternatingItemColors=#FF
 mx:columns
 mx:DataGridColumn dataField=col51
 itemRenderer=components.ShowWidgetData /
 mx:DataGridColumn dataField=col2 visible=false /
 mx:DataGridColumn dataField=col3 visible=false /
 mx:DataGridColumn dataField=col14 visible=false /
 /mx:columns
 /mx:DataGrid
 mx:DataGrid  liveScrolling=true selectionColor=white
 id=dbGrid2 dataProvider={grid2XMLData}  paddingTop=0 paddingBottom=0
 variableRowHeight=true rowHeight=500  backgroundAlpha=0 x=5 y=5
 width=33% height=100% showHeaders=false dragEnabled=true
 dragMoveEnabled=true dropEnabled=true borderStyle=none
 visible=false  rollOverColor=white alternatingItemColors=#FF
 mx:columns
 mx:DataGridColumn dataField=col1 visible=false /
 mx:DataGridColumn dataField=col51
 itemRenderer=components.ShowWidgetData/
 mx:DataGridColumn dataField=col3 visible=false /
 mx:DataGridColumn dataField=col14 visible=false /
 /mx:columns
 /mx:DataGrid
 mx:DataGrid selectionColor=white id=dbGrid3
 dataProvider={grid3XMLData} paddingTop=0 paddingBottom=0
 variableRowHeight=true rowHeight=500 backgroundAlpha=0 x=5 y=5
 width=33% height=100% showHeaders=false dragEnabled=true
 dragMoveEnabled=true dropEnabled=true borderStyle=none
 visible=false  rollOverColor=white alternatingItemColors=#FF
 mx:columns
 mx:DataGridColumn dataField=col1 visible=false /
 mx:DataGridColumn dataField=col2 visible=false /
 mx:DataGridColumn dataField=col51
 itemRenderer=components.ShowWidgetData /
 mx:DataGridColumn dataField=col14 visible=false /
 /mx:columns
 /mx:DataGrid
 /mx:Canvas
 
 




Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
right. its for lazy loading. when the scroll thumb goes into the hot area
then it sends requests to the server for new content. when new content is
received i create a new container and add it to the accordion with
addChildAt(newContainer, 0); to make sure it is before existing content. to
keep a natural feel the view should stay where it is, where the user has the
mouse down on the scroll thumb.

code example. this isn't showing lazy loading. it is only showing that when
adding a container before exiting content that new container is selected

?xml version=1.0 encoding=utf-8?
s:Application xmlns:code=http://code.google.com/p/flexlib/2010/;
   xmlns:fx=http://ns.adobe.com/mxml/2009;
   xmlns:mx=library://ns.adobe.com/flex/mx
   xmlns:s=library://ns.adobe.com/flex/spark

fx:Script
![CDATA[
private var item:int;
private var itemAfter:int;

protected function addBefore_clickHandler(event:MouseEvent):void
{
var prevIndex:int = accordion.selectedIndex;
var canvas:Canvas = new Canvas();
var label:Label = new Label();
label.text = item  + --item;
canvas.addChild(label);

// when we add to the beginning of the current content it
becomes selected
accordion.addChildAt(canvas, 0);

// to keep the selected item the same you must set the index
// or the new item will be selected
//accordion.selectedIndex = ++prevIndex;
}

protected function addAfter_clickHandler(event:MouseEvent):void
{
var prevIndex:int = accordion.selectedIndex;
var canvas:Canvas = new Canvas();
var label:Label = new Label();
label.text = item  + accordion.numChildren;
canvas.addChild(label);

// add to the end of the current content
accordion.addChild(canvas);
}
]]
/fx:Script

fx:Declarations
!-- Place non-visual elements (e.g., services, value objects) here
--
/fx:Declarations

s:Scroller height=100% width=100%
s:Group
code:HAccordion id=accordion
 height=200 width=100%
mx:Canvas
s:Label text=item 0/
/mx:Canvas
mx:Canvas
s:Label text=item 1/
/mx:Canvas
mx:Canvas
s:Label text=item 2/
/mx:Canvas
mx:Canvas
s:Label text=item 3/
/mx:Canvas
/code:HAccordion
/s:Group
/s:Scroller

s:Button label=add before y=200
  click=addBefore_clickHandler(event)/
s:Button label=add after y=230
  click=addAfter_clickHandler(event)/
/s:Application





On Tue, Jul 13, 2010 at 12:49 AM, Alex Harui aha...@adobe.com wrote:



 I’m having trouble picturing an accordion with scrollbars.  But if it did,
 why wouldn’t the scrollbar be tuned for the total number of children?  Why
 are children being added as you scroll?



 On 7/12/10 6:59 PM, dorkiedorkfromdorkt...@gmail.com 
 dorkiedorkfromdorkt...@gmail.com wrote:






 In that case, I'll elaborate on the situation...

 I am using a horizontal Accordion component with newest items to the right.
 When you scroll left you get to a location where more items are added. As
 you add each item the scrollbar thumb track jumps to the right and then
 jumps back to where the mouse is. This happens every time a new item is
 added to the accordion.


 On Mon, Jul 12, 2010 at 6:35 PM, Alex Harui aha...@adobe.com wrote:






 Flash renders what is visible and on the display list.  UIComponent is
 invisible until creationComplete and theoretically, it and all of its
 children shouldn’t be changing after then.  Or make it visible=false until
 you know it is ready.



 On 7/12/10 2:37 PM, dorkiedorkfromdorkt...@gmail.com 
 http://dorkiedorkfromdorkt...@gmail.com  
 dorkiedorkfromdorkt...@gmail.com http://dorkiedorkfromdorkt...@gmail.com
  wrote:






 There's a component that I'm adding child components too it. When I do this
 there's a flash as the component is added and resized and then put into the
 right position. Is there a way to prevent a square area from being rendered
 for a second or two? I can fix the issue but I'd have to go into UIComponent
 and mess with the base classes. Since I've run into this before (elastic
 race track) and will in the future its seems a reasonable request.





 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui
   



Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread Tom Chiverton
On Tuesday 13 Jul 2010 08:48:43 you wrote:
 right. its for lazy loading. when the scroll thumb goes into the hot area
 then it sends requests to the server for new content. when new content is
 received i create a new container

Why not create an empty 'dummy' container before firing the request, then 
populate it when it comes back ?

-- 
Tom Chiverton
Helping to completely utilize interactive transparent customers as part of the 
IT team of the year 2010, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
i tried both adding it before and after data is available. the data isn't
necessary. its as soon as i add a new container to the beginning of the
accordion

2010/7/13 Tom Chiverton tom.chiver...@halliwells.com



 On Tuesday 13 Jul 2010 08:48:43 you wrote:
  right. its for lazy loading. when the scroll thumb goes into the hot
 area
  then it sends requests to the server for new content. when new content is
  received i create a new container

 Why not create an empty 'dummy' container before firing the request, then
 populate it when it comes back ?

 --
 Tom Chiverton
 Helping to completely utilize interactive transparent customers as part of
 the
 IT team of the year 2010, '09 and '08

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.Halliwells.com.
  



Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
I think what I'm looking for is a way to have it not apply any updates for a
few frames. In the same way includeInLayout set to false causes it to be
skipped in the layout, something similar to prevent any updates to scroll
position.

On Tue, Jul 13, 2010 at 3:54 AM, dorkie dork from dorktown 
dorkiedorkfromdorkt...@gmail.com wrote:

 i tried both adding it before and after data is available. the data isn't
 necessary. its as soon as i add a new container to the beginning of the
 accordion

 2010/7/13 Tom Chiverton tom.chiver...@halliwells.com



 On Tuesday 13 Jul 2010 08:48:43 you wrote:
  right. its for lazy loading. when the scroll thumb goes into the hot
 area
  then it sends requests to the server for new content. when new content
 is
  received i create a new container

 Why not create an empty 'dummy' container before firing the request, then
 populate it when it comes back ?

 --
 Tom Chiverton
 Helping to completely utilize interactive transparent customers as part of
 the
 IT team of the year 2010, '09 and '08

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.
 A list of members is available for inspection at the registered office
 together with a list of those non members who are referred to as partners.
 We use the word ?partner? to refer to a member of the LLP, or an employee or
 consultant with equivalent standing and qualifications. Regulated by the
 Solicitors Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.Halliwells.com.
  





RE: [flexcoders] Flex print Without Dialog Box ?

2010-07-13 Thread Gregor Kiddie
You need to have something actually on the user's machine to do this,
i.e. a service running that you can talk to.

 

You can't do this natively from the Flash Player, otherwise your printer
would be printing out advertising leaflets every time to you saw a Flash
ad on a website... and nobody wants that! (Except maybe the evil
advertisers...)

 

Gk.

 

I print with Flex using FlexPrintJob.

Do you think if it is possible for me to print without print Dialog?

Thanks




 



[flexcoders] Setting width/height not affecting visual display?

2010-07-13 Thread Roy Pardi
Probably really dumb question here: I was setting the width/height of a
SpriteVisualElement and was not seeing the change reflected visually. I
made a quick test file (code below) to isolate this from the rest of the
app I am developing. Same thing - when the 'testSprite' receives a mouse
event, it increments it's width/height but there is no change in the visual
display.

I took the same code into Flash CS4 - changed SpriteVisualElement to
Sprite and it worked as expected - the width/height of 'testSprite' and
it's child increased by 5 px each click.

So I'm baffled. The 'container' var below is a Spark 'Group' container.
What am I missing?

thanks/r

public var testSprite:SpriteVisualElement

protected function creationCompleteHandler(event:FlexEvent):void
{
testSprite = new SpriteVisualElement();

var childSprite:SpriteVisualElement = new SpriteVisualElement();
childSprite.graphics.beginFill(0x00, 1);
childSprite.graphics.drawRect(0, 0, 200, 100);
childSprite.graphics.endFill();
childSprite.name = child;

testSprite.addChild(childSprite);

container.addElement(testSprite);
testSprite.addEventListener(MouseEvent.CLICK, grow);
}

public function grow(event:MouseEvent):void
{
event.target.width += 5;
event.target.height += 5;
trace(grow,  event.target.width);
}
-- 
-
http://www.roypardi.com/





Re: [flexcoders] Setting width/height not affecting visual display?

2010-07-13 Thread Oleg Sivokon
These properties may be overridden. My gut feeling says there should be
something like commitProperties / validate or some similar method to apply
all changes to the changed display object.


Re: [flexcoders] Setting width/height not affecting visual display?

2010-07-13 Thread Mayur Bais
Two things

1) Try setting the height and width of the container.

2) I tried to read the adobe docs  and it says The SpriteVisualElement class
is a light-weight Sprite-based implemention of IVisualElement. and there are
no height and width property available for this class.
where are there are only write only protected properties available and that
are viewHeight and viewWidth (Which scales instance of IVisualElement
proportionately.)
You might want to check more in details
http://docs.huihoo.com/flex/4/spark/core/SpriteVisualElement.html



On Tue, Jul 13, 2010 at 6:44 PM, Oleg Sivokon olegsivo...@gmail.com wrote:



 These properties may be overridden. My gut feeling says there should be
 something like commitProperties / validate or some similar method to apply
 all changes to the changed display object.

  



Re: [flexcoders] Setting width/height not affecting visual display?

2010-07-13 Thread Roy Pardi
At 3:14 PM +0200 7/13/10, Oleg Sivokon wrote:
These properties may be overridden. My gut feeling says there should be
something like commitProperties / validate or some similar method to apply
all changes to the changed display object.


Thanks for the reply. Still tinkering here - I changed the type of the
'childSprite' var to be an instance of 'Sprite' - and then it works:
changing the width/height of 'testSprite (SpriteVisualElement) results in
a resizing of its child content.

Guess I am not clear on when to use 'SpriteVisualElement' - I started using
it in place of 'Sprite' because I could not add a Sprite to any of the
Spark containers. Much of my app's content is generated through code.



public var testSprite:SpriteVisualElement

protected function creationCompleteHandler(event:FlexEvent):void
{

testSprite = new SpriteVisualElement();

var childSprite:Sprite = new Sprite();
childSprite.graphics.beginFill(0x00, 1);
childSprite.graphics.drawRect(0, 0, 200, 100);
childSprite.graphics.endFill();
childSprite.name = child;

testSprite.addChild(childSprite);

container.addElement(testSprite);
testSprite.addEventListener(MouseEvent.CLICK, grow);
}


public function grow(event:MouseEvent):void
{
event.target.width += 5;
event.target.height += 5;
trace(grow,  event.target.width);
}
-- 
-
http://www.roypardi.com/





[flexcoders] How to remove the DateField textInput border?

2010-07-13 Thread Nick Middleweek
Hi,

Has anyone been able to modify the border of the TextInput component of the
Date field?

I'm trying to set it to ZERO.

I've tried extending the DateField - MyDateField and specifying the
borderThickness in updateDisplayList using
this.textInput.setStyle(borderThickness, 0);


... to be honest, I'm not even sure if that's the correct approach? is there
a way to do it through code?


Thansk in advance!!

Nick


Re: [flexcoders] How to remove the DateField textInput border?

2010-07-13 Thread Andriy Panas
Have a look at textInputStyleName style
http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/controls/ComboBase.html#style:textInputStyleName

-

http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/controls/ComboBase.html#style:textInputStyleName
.textInputStyleName {
border-skin : ClassReference(null);
}

mx:DateField
textInputStyleName=textInputStyleName
selectableRange={{rangeStart: new Date(2006,0,1),
rangeEnd: new Date(2006,2,15)}}/

-
--
Best regards,
Andriy Panas



On 13 July 2010 16:37, Nick Middleweek n...@middleweek.co.uk wrote:



 Hi,

 Has anyone been able to modify the border of the TextInput component of the
 Date field?

 I'm trying to set it to ZERO.

 I've tried extending the DateField - MyDateField and specifying the
 borderThickness in updateDisplayList using
 this.textInput.setStyle(borderThickness, 0);


 ... to be honest, I'm not even sure if that's the correct approach? is
 there a way to do it through code?


 Thansk in advance!!

 Nick

  



[flexcoders] Re: How to remove the DateField textInput border?

2010-07-13 Thread bhaq1972
or 
borderVisible : false;

--- In flexcoders@yahoogroups.com, Andriy Panas a.pa...@... wrote:

 Have a look at textInputStyleName style
 http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/controls/ComboBase.html#style:textInputStyleName
 
 -
 
 http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/controls/ComboBase.html#style:textInputStyleName
 .textInputStyleName {
 border-skin : ClassReference(null);
 }
 
 mx:DateField
 textInputStyleName=textInputStyleName
 selectableRange={{rangeStart: new Date(2006,0,1),
 rangeEnd: new Date(2006,2,15)}}/
 
 -
 --
 Best regards,
 Andriy Panas
 
 
 
 On 13 July 2010 16:37, Nick Middleweek n...@... wrote:
 
 
 
  Hi,
 
  Has anyone been able to modify the border of the TextInput component of the
  Date field?
 
  I'm trying to set it to ZERO.
 
  I've tried extending the DateField - MyDateField and specifying the
  borderThickness in updateDisplayList using
  this.textInput.setStyle(borderThickness, 0);
 
 
  ... to be honest, I'm not even sure if that's the correct approach? is
  there a way to do it through code?
 
 
  Thansk in advance!!
 
  Nick
 
   
 





Re: [flexcoders] Re: How to remove the DateField textInput border?

2010-07-13 Thread Andriy Panas
   There is no borderVisible style for DateField, it exists only for
DateChooser, only in Flex 4 SDK and only in default skin theme Spark.

--
Best regards,
Andriy Panas



  or
 borderVisible : false;





Re: [flexcoders] SOLVED Re: Setting Different Style on ComboBox DropdownList

2010-07-13 Thread Angelo Anolin
Thanks Valdhor. Worked like a charm.




From: valdhor valdhorli...@embarqmail.com
To: flexcoders@yahoogroups.com
Sent: Mon, 12 July, 2010 11:35:16
Subject: [flexcoders] Re: Setting Different Style on ComboBox DropdownList

  
Use an Item Renderer...

Test1.mxml:
?xml version=1.0 encoding=utf- 8?
mx:Application xmlns:mx=http: //www.adobe. com/2006/ mxml layout=vertical
mx:Script
![CDATA[
[Bindable] private var dp:Array = [
{ColorName: Red, ColorHex: #FF},
{ColorName: Blue, ColorHex: #FF},
{ColorName: Yellow, ColorHex: #00}
];
]]
/mx:Script
mx:ComboBox dataProvider= {dp} labelField= ColorName itemRenderer= 
Test1ItemRender er/
/mx:Application


Test1ItemRenderer. as:
package
{
import mx.controls. *; 

public class Test1ItemRenderer extends Text
{
private var colorHex:String;

public function Test1ItemRenderer( )
{
super();
}

override public function set data(value:Object) :void
{
if(value != null)
{
super.data = value;
colorHex = value.ColorHex;
}
}

override protected function updateDisplayList( unscaledWidth: Number, 
unscaledHeight: Number):void 

{ 
super.updateDisplay List(unscaledWid th, unscaledHeight) ; 
setStyle(color , colorHex);
}
}
}


--- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... wrote:

 Hi Flexcoders,
 
 How would I be able to set different styles on the list of a combo box based 
 on 

 the values for the binding list to that?
 
 For example, I have some data retrieved as follows:
 
 ColorName  ColorHex
 Red#FF
 Blue   #FF
 Yellow #00
 
 And I am binding it to the combo box.
 
 Now When I show the list of the combo box, the LabelField maps to the 
 ColorName 

 column and I want to display the ColorName based on its color as defined in 
 the 

 ColorHex column.
 
 Any tips?
 
 Thanks.


 


  

[flexcoders] Flash Debugger crashing in Firefox?

2010-07-13 Thread Rick Schmitty
Is anybody having an issue with Flash 10 debugger and Firefox's new
anti crash feature?  Whenever I get a debug popup from flash Firefox
thinks Flash crashed and locks up completely until the lil frowny lego
with text that says The Adobe Flash plugin has crashed.  Send crash
report

The debugger works fine in IE or if no debug popups in FF it works fine

Anyone else run into this?


Re: [flexcoders] Flex print Without Dialog Box ?

2010-07-13 Thread Alex Harui
I think AIR 2.0 will let you get around it.


On 7/13/10 4:49 AM, Gregor Kiddie gregor.kid...@channeladvisor.com wrote:






You need to have something actually on the user’s machine to do this, i.e. a 
service running that you can talk to.

You can’t do this natively from the Flash Player, otherwise your printer would 
be printing out advertising leaflets every time to you saw a Flash ad on a 
website... and nobody wants that! (Except maybe the evil advertisers...)

Gk.


I print with Flex using FlexPrintJob.

Do you think if it is possible for me to print without print Dialog?

Thanks








--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread Alex Harui
I’m still lost.  Are you trying to control the wrapping Scroller’s scrollbar or 
is there a  scrollbar in your Haccordion?

I think I would build one into the Haccordion that knows how many children 
exist.  That’s how List and others handle virtualized renderers.


On 7/13/10 2:52 AM, dorkiedorkfromdorkt...@gmail.com 
dorkiedorkfromdorkt...@gmail.com wrote:






I think what I'm looking for is a way to have it not apply any updates for a 
few frames. In the same way includeInLayout set to false causes it to be 
skipped in the layout, something similar to prevent any updates to scroll 
position.

On Tue, Jul 13, 2010 at 3:54 AM, dorkie dork from dorktown 
dorkiedorkfromdorkt...@gmail.com wrote:
i tried both adding it before and after data is available. the data isn't 
necessary. its as soon as i add a new container to the beginning of the 
accordion

2010/7/13 Tom Chiverton tom.chiver...@halliwells.com






 On Tuesday 13 Jul 2010 08:48:43 you wrote:
 right. its for lazy loading. when the scroll thumb goes into the hot area
 then it sends requests to the server for new content. when new content is
 received i create a new container

Why not create an empty 'dummy' container before firing the request, then
populate it when it comes back ?

--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] Re: Flash Debugger crashing in Firefox?

2010-07-13 Thread valdhor
Yes. I am getting this a lot and not just my own code. The crash report happens 
on pretty much any site that has flash content. I don't know if this is a 
problem with the Flash debugger or Firefox but it did not happen before the 
latest update to Firefox.

--- In flexcoders@yahoogroups.com, Rick Schmitty flexc...@... wrote:

 Is anybody having an issue with Flash 10 debugger and Firefox's new
 anti crash feature?  Whenever I get a debug popup from flash Firefox
 thinks Flash crashed and locks up completely until the lil frowny lego
 with text that says The Adobe Flash plugin has crashed.  Send crash
 report
 
 The debugger works fine in IE or if no debug popups in FF it works fine
 
 Anyone else run into this?





RE: [flexcoders] Flex print Without Dialog Box ?

2010-07-13 Thread Gregor Kiddie
  True, I should have prefixed that with... with the Flash Player

I think AIR 2.0 will let you get around it.





 



Re: [flexcoders] Re: Flash Debugger crashing in Firefox?

2010-07-13 Thread kris range
Something like this happens to me on Safari OS X. If an flash
application is loading or doing something and I go to another page,
I'll usually get an IOErrorEvent error with the error dialog popping
up, then it disappears and I can't click on anything in the browser
(Flash or not). Very annoying. I hope they fix this soon as this
didn't happen for me before 10.1


On Tue, Jul 13, 2010 at 7:12 PM, valdhor valdhorli...@embarqmail.com wrote:
 Yes. I am getting this a lot and not just my own code. The crash report 
 happens on pretty much any site that has flash content. I don't know if this 
 is a problem with the Flash debugger or Firefox but it did not happen before 
 the latest update to Firefox.

 --- In flexcoders@yahoogroups.com, Rick Schmitty flexc...@... wrote:

 Is anybody having an issue with Flash 10 debugger and Firefox's new
 anti crash feature?  Whenever I get a debug popup from flash Firefox
 thinks Flash crashed and locks up completely until the lil frowny lego
 with text that says The Adobe Flash plugin has crashed.  Send crash
 report

 The debugger works fine in IE or if no debug popups in FF it works fine

 Anyone else run into this?





 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links






Re: [flexcoders] Re: Flash Debugger crashing in Firefox?

2010-07-13 Thread Robert VanCuren Jr
http://www.riaxe.com/blog/flex/flex-firefox-flash-debug-player-crash-solved/

On Tue, Jul 13, 2010 at 3:40 PM, kris range krisra...@gmail.com wrote:



 Something like this happens to me on Safari OS X. If an flash
 application is loading or doing something and I go to another page,
 I'll usually get an IOErrorEvent error with the error dialog popping
 up, then it disappears and I can't click on anything in the browser
 (Flash or not). Very annoying. I hope they fix this soon as this
 didn't happen for me before 10.1


 On Tue, Jul 13, 2010 at 7:12 PM, valdhor 
 valdhorli...@embarqmail.comvaldhorlists%40embarqmail.com
 wrote:
  Yes. I am getting this a lot and not just my own code. The crash report
 happens on pretty much any site that has flash content. I don't know if this
 is a problem with the Flash debugger or Firefox but it did not happen before
 the latest update to Firefox.
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Rick
 Schmitty flexc...@... wrote:
 
  Is anybody having an issue with Flash 10 debugger and Firefox's new
  anti crash feature?  Whenever I get a debug popup from flash Firefox
  thinks Flash crashed and locks up completely until the lil frowny lego
  with text that says The Adobe Flash plugin has crashed.  Send crash
  report
 
  The debugger works fine in IE or if no debug popups in FF it works fine
 
  Anyone else run into this?
 
 
 
 
 
  

 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
   Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links
 
 
 
 

  



Re: [flexcoders] Re: Flashbuilder 4.0.1 debugger issue?

2010-07-13 Thread Alan Shaw
We've spent hours on this same issue today.  We have not updated Flash
Builder itself, but after installing the latest debug player, one of our
apps also hangs on startup when running with FB debugging and does not hang
when running in non-debug mode.  I have now reverted to an earlier Flash
debug player, 10,0,something, and can debug the app again.  It would be
great to hear what it is that makes an app hang when run with the latest
debugger...

-A


On Mon, Jul 12, 2010 at 5:51 PM, Richard Rodseth rrods...@gmail.com wrote:



 He's also on Flash Player 10.1 and after deleting shared objects used by
 our splash screen, the app is locking up earlier (i.e. before dismissing the
 splash screen. Are there some changes I should know about relating to 10.1,
 security sandboxes, Shared Objects and the 4.0.1 debugger?


 On Mon, Jul 12, 2010 at 2:41 PM, Richard Rodseth rrods...@gmail.comwrote:

 A colleague is experiencing a problem where our app hangs the browser when
 run in the debugger, but not when launched in non-debug mode (from
 Flashbuilder). He's the only one on the team who started Flex work since the
 release of 4.0.1 so I'm wondering if there are any known problems that could
 explain this.



  



Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
that makes sense. i wanted to make sure there wasn't any other options
before working on that. ps the scroller scrollerbar. the mxml example
doesn't show that.

On Tue, Jul 13, 2010 at 12:14 PM, Alex Harui aha...@adobe.com wrote:



 I’m still lost.  Are you trying to control the wrapping Scroller’s
 scrollbar or is there a  scrollbar in your Haccordion?

 I think I would build one into the Haccordion that knows how many children
 exist.  That’s how List and others handle virtualized renderers.



 On 7/13/10 2:52 AM, dorkiedorkfromdorkt...@gmail.com 
 dorkiedorkfromdorkt...@gmail.com wrote:






 I think what I'm looking for is a way to have it not apply any updates for
 a few frames. In the same way includeInLayout set to false causes it to be
 skipped in the layout, something similar to prevent any updates to scroll
 position.

 On Tue, Jul 13, 2010 at 3:54 AM, dorkie dork from dorktown 
 dorkiedorkfromdorkt...@gmail.com wrote:

 i tried both adding it before and after data is available. the data isn't
 necessary. its as soon as i add a new container to the beginning of the
 accordion

 2010/7/13 Tom Chiverton tom.chiver...@halliwells.com






  On Tuesday 13 Jul 2010 08:48:43 you wrote:
  right. its for lazy loading. when the scroll thumb goes into the hot
 area
  then it sends requests to the server for new content. when new content is
  received i create a new container

 Why not create an empty 'dummy' container before firing the request, then
 populate it when it comes back ?


 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui
  



Re: [flexcoders] right click menu @ flex

2010-07-13 Thread Brendan Meutzner
You have the debug player installed in google chrome... those two items
can't be removed in the debug player.  If you uninstall the player plugin
and then reinstall the non-debug version they'll go away.

However, if you're not familiar with the debug player, you should look into
it... how are you currently debugging your apps?


Brendan



On Tue, Jul 13, 2010 at 10:20 PM, cholid cholid cholid_rid...@yahoo.comwrote:



 hi all,
 i've found something menu on right click when i running my application at
 google chorme
 that's has additional menu's that's Show Redraw Region and Debugger
 i never found that in any browser except google chrome

 how to hide / remove it?
 thanks for advice