Parent Container can't autoLayout Issue
var m:Matrix=new Matrix();
m.scale(a, d);
cusStage.transform.matrix=m.clone();
The parent Containter can't autoLayout, and the H/Vscrollbar don't show automatically.
The child is a displayobject. Parent is a Canvas.
Hello,
I've run into the same, if you have opened any sub-references to sheets, books etc they all need to be closed. What you have is a surviving reference floating about.
I wrote a container that kept all these references in shift registers and I needed to ensure that every new instance was closed after it was finished with. By the way it took a while to chase them all down.
If it is excel 97 and all you want to do is put data in tables and copy graphs I can forward you a copy of our component
Steve Watts (ssdc)
Similar Messages
-
How can i centre two side by side divs vertically so they both are in the centre of there parent /containing div? One of the divs is larger than the other so i would want the smaller one to centre inside a parent div like so:
Grey= parent/container (Width of both orange and red div)
Orange= Div 1
Red= Smaller div- centralised (hopefully)If you wanted to go completely "Not for IE8 or lower" and use some of the often overlooked viewport units, it could be very responsive to browser resizing...
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title> VW, it's not just a car for Mac users...</title>
<style>
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
#gray {
background-color:gray;
width:80vw;
margin:0 auto;
height:40vw;
font-size:2vw;
#red {
width:50%;
height:50%;
background-color:red;
margin-top:12.5%;
float:left;
#orange {
background-color:orange;
width:50%;
height:100%;
float:left;
</style>
<!--[if lt IE 9]>
<link href="IE-only.css" rel="stylesheet" type="text/css">
<![endif]-->
</head>
<body>
<div id="gray">
<div id="orange"></div>
<div id="red"></div>
</div>
</body>
</html> -
Hi All ,
I have created a sample project using a link button which when clicked opens up an TitleWindow which has an iframe and a text area in a hbox
When you execute the application ,
Click the link button
The Popup window opens up showing the title window with the close button
Click the close button of the title window
The Title window is removed and the iframe and the text area are not visible
Do this a couple of times
You can notice that the iframe is still visible even when the title window is closed
Can someone explain me how this issue can be resolved and also explain me why the iframe(child container) is still visible when the title window(parent container) is not visible.
Main Application file
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
width="100%" height="100%" creationPolicy="all"
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical" creationComplete="init()"
xmlns:containers="containers.*">
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
import containers.PopUpBrowser;
public function doRequest():void
var requestPopup:PopUpBrowser = PopUpManager.createPopUp(this, PopUpBrowser) as PopUpBrowser;
PopUpManager.addPopUp(requestPopup,this);
requestPopup.x = 220;
requestPopup.y = 50;
]]>
</mx:Script>
<mx:Text fontSize="14" fontWeight="bold" text="Click the link button below to open the Title Window" />
<mx:Spacer height="100"/>
<mx:LinkButton label="Click me" fontSize="16" fontWeight="bold" click="doRequest()"/>
</mx:Application>
PopUpBrowser.mxml Component
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow
xmlns:mx="http://www.adobe.com/2006/mxml"
close="removeMe()"
showCloseButton="true"
styleName="myTitleWindowStyle"
width="850" height="500"
title="Klout User Profile"
paddingTop="1" paddingBottom="1"
paddingLeft="1" paddingRight="1"
xmlns:generic="com.serendio.voom.components.generic.*"
xmlns:flexiframe="http://code.google.com/p/flex-iframe/"
horizontalScrollPolicy="off"
verticalScrollPolicy="off" >
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
public function removeMe():void
PopUpManager.removePopUp(this);
]]>
</mx:Script>
<mx:HBox width="100%" height="100%">
<flexiframe:IFrame source="http://www.google.com" id="iFrame" width="50%" height="100%"/>
<mx:TextArea text="Open and close the title window few times and watch the iframe remain visible even when the title window is closed"
fontSize="14" width="50%" height="80%"/>
</mx:HBox>
</mx:TitleWindow>
Thanks,
AjanthaHey,
This is working fine for me with the current 4.5 Flex, Firefox 3.6.12, IE8. On what browser you are getting this error.
Thanks,
Jayagopal. -
[AIR] Drag Problem (parent & children can receive d&d and HTML Control)
Hi,
I have a problem regarding drag and drop in AIR. The d&d involving parent & children that can receive d&d event and the children can contain HTML control. You might want to copy and paste the code below to get a better idea.
The objectives are:
1. If you drag the green object and drop it in the black area, it should alert "Parent Drop"
2. If you drag the green object and drop it in the magenta (purple) color, it should alert "Child Drop"
3. If you drag the green object and drop it in the white (HTML control) color, it should alert "HTML Drop"
The problems:
1. drag green object to black area, to magenta area, and back again to black area. Drop it, the alert is not shown
2. drag green object to the white area (HTML control). Drop it, the alert is not shown
Many thanks.
The Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:VBox verticalGap="0" x="50" y="50" width="200" height="200" backgroundColor="#000000" horizontalAlign="center" dragEnter="onParentDragEnter(event)" dragDrop="onParentDrop(event)">
<mx:Canvas id="canvas1" width="50" height="50" backgroundColor="#00ff00" mouseMove="onMouseMove(event)"/>
<mx:HTML id="html" width="50" height="50" dragEnter="onHtmlDragEnter(event)" dragDrop="onHtmlDrop(event)"/>
<mx:Canvas id="canvas2" width="60" height="50" backgroundColor="#ff00ff" dragEnter="onChildDragEnter(event)" dragDrop="onChildDrop(event)"/>
</mx:VBox>
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.events.DragEvent;
import mx.managers.DragManager;
import mx.core.DragSource;
public function init():void
html.htmlText = '<div style="font-size:small">HTML Control</div>';
public function onMouseMove(event:MouseEvent):void
var dragInitiator:Canvas = event.currentTarget as Canvas;
var ds:DragSource = new DragSource();
ds.addData("item", "item");
DragManager.doDrag(dragInitiator, ds, event, dragInitiator);
public function onChildDragEnter(event:Event):void
trace("onChildDragEnter");
DragManager.acceptDragDrop(event.currentTarget as Canvas);
public function onParentDragEnter(event:Event):void
trace("onParentDragEnter");
DragManager.acceptDragDrop(event.currentTarget as VBox);
public function onChildDrop(event:DragEvent):void
trace("onchilddrop");
Alert.show("Child Drop");
public function onParentDrop(event:DragEvent):void
trace("onparentdrop");
Alert.show("Parent Drop");
public function onHtmlDragEnter(event:DragEvent):void
DragManager.acceptDragDrop(event.currentTarget as HTML);
public function onHtmlDrop(event:DragEvent):void
Alert.show("HTML Drop");
]]>
</mx:Script>
</mx:WindowedApplication>The parent drop issue is because there can only be one drag acceptor and you don't get another dragEnter event when the mouse leaves the child (since technically, it never left the parent). This isn't as big an issue as it might seem, since generally you wouldn't have both a parent and a child that could take the drop. The ways to fix this are to use the dragOver event in addition to dragEnter or you could handle the dragExit event dispatched by the child and set the drag acceptor back to the parent.
The HTML control issue is a bit trickier. HTML content has its own drag-and-drop system that operates a bit differently than the ActionScript version. I don't think there is a way to intercept the events before they are handled by the WebKit HTML engine. You can accept a drop in HTML/JavaScript code as described here: http://help.adobe.com/en_US/as3/dev/WS6717AA0A-2B7D-4728-86DC-7D60F919E6B4.html. -
Datagrid Scrolling Problem.. Does not fit into Parent Container..
Hi All,
I have a module and module contains only one datagrid. I am adding this module to tab navigator dynamically in the next index. I am using Text as Item renderer in the datagrid and the row height will change depending upon the data diplyed on the Text. When the data populate in datagrid the datagrid going beyond the containers layout. i.e height is not fit into parent container. I am using Canvas as parent container .. Please find the below attached pictures and you will get to know what is my problem?
Please help me to get out from this issue.. It is urgent..Thanks for quick reply
Here I am adding this module to canvas and the canvas is also dynamic . As you said "customize the measure() method in Text control and return the correct measuredHeight based on the explicitWidth." what is the relation between Text control height and datagrid? Datagird should take it's parent container width and heights. I am newbie to this Flex.. can you please explain it briefly. And if you have any Other way to do this please tell me .. it is very helpful to me.. Can you please post cusomized measure method if possible. please -
I have a panel (which contains buttons) which is added in another panel and this another panel is also added in another tab container and the tab is in a JFrame. Now, in panel which contains buttons, there is a button- CLOSE. Now,how can I dispose the parent (may be grand parent) container- JFrame from that class of panel (button panel).
HA HA...........but if the parents dont have the capability to save themselves and give the child a means to kill them..what to do? I just want to know HOW CAN A CHILD DO THAT so that I can take some measures for saving the parents....lol..
-
Get parent container size in renderer?
Hi,
I'm trying to add a variable number of same-sized Canvas
squares to the HorizontalList below:
<mx:HBox width="100%" height="50%" >
<mx:HorizontalList height="100%" width="60%"
dataProvider="{myData}"
itemRenderer="renderers.Topic" >
</mx:HorizontalList>
<mx:Canvas height="100%" width="40%" >
</mx:Canvas>
</mx:HBox>
I want the squares to be proportional such that as the app is
resized, the squares also grow or shrink in size. My item renderer
gets the size of the parent HorizontalList (via
BaseListData.owner.width) in order to calculate the dimensions of
each canvas square; as the app is resized, the size of the parent
changes and my square's dimensions are recalculated. However, it
seems that the size of the parent container isn't know until I
render some content but I can't render content until I know the
amount of real estate available in the parent. I missing something
basic here, right?
Thanks, GarryTurn it around. Instead of having the item renderer calculate
its width based on it's parent's width, have the HorizontalList set
the size of its children in updateDisplayList(). -
Float clearing for parent container - DW doesn't display
When I use one of the methods of float clearing for a parent container that has other floated elements inside of it, it seems to work fine in FF and IE. But it never shows up properly in DW design view. Instead, it just continues to show the parent container as collapsed.
Is there some setting in DW that I can change to make it display properly? It's difficult to really know what's going on when it displays like this.
Thanks...
-JesseJesseLY wrote:
Thanks, Osgood. Here's a link to a test page.
http://www.jesseyoung.com/tests/float_test/
It displays fine in FF and IE, but shows the outer container as collapsed in DW design view.
-Jesse
Hi Jesse
Change overflow: auto; to overflow: hidden; on the 'wrapper' css as below. This method will only work in DW CS4 design view.
If you have a previous version of DW then you'll need to use the <br style="clear: both;"> method in the code if you want to see the correct rendering in Design view (see below)
#wrapper {
border: 5px solid purple;
padding: 10px;
overflow: hidden;
width: 700px;
background-color: white;
Insert the <br> after the last floated element (as below)
</div><!-- end floatLeft -->
<br style="clear: both;" />
</div><!--end wrapper -->
Incidentally you appear to have an 'unpaired' </div> tag at the end of the code . -
Output can not be issued.
I want to see output of outbound delivery when I clicked print preview, i get message Output can not be issued.
What is issue, if any body know plz do reply. Thnx in adv.Hi
Check with your functinal Consultant he can help out , u need to Click on MESSAGEs and then choose a communication Method and Medium etc etc and SAVE , this ur Functional Consultant can help out and then u can see the OUTPUT when u click on PRINT PREVIEW.
surya -
Output can not be issued in SapScript..
I want to see output of outbound delivery of Packing List when I clicked print preview, i got message Output can not be issued.
In output there is showing red incorrectly processed No handling units exit.
For that delivery no handling units exit. I want to print delivery with out handling units.
Plz ket me know any suggestion.Hi
Check with your functinal Consultant he can help out , u need to Click on MESSAGEs and then choose a communication Method and Medium etc etc and SAVE , this ur Functional Consultant can help out and then u can see the OUTPUT when u click on PRINT PREVIEW.
surya -
I want to start my own account separate from my parents. Can I transfer my music from one account to another? If so, how?
lisafromwindermere wrote:
I want to start my own account separate from my parents. Can I transfer my music from one account to another? If so, how?
Lisa,
Just get copies of the song files and add them to your iTunes library. With the exception of any DRM-protected files (purchased before mid-2009 and never upgraded) they will play fine, even though they are technically associated with the original account. -
As a grand parent, how can I put some apps on an ipod touch and then give it as a gift?
As a grand parent, how can I put some apps on an ipod touch and then give it as a gift?
Apps and many other purchases are tied to the iTunes Store account via which they were purchased. So if you buy the app, that app is tied to your iTunes Store account. Without that account information, the child could not update the app nor back it up.
I'd also suggest giving the child an iTunes gift card or gift certificate along with the iPod. If the child is too young to have and manage his or her own iTunes Store account, then his or her parent could set up an iTunes Store account to purchase the apps. That could be done with that gift card and not need a credit card. You can also gift specific apps, though again that would require the child or a parent to open an iTunes Store account through which to redeem the gift. For more information on gift options, see:
http://support.apple.com/kb/HT2736
Regards.
Message was edited by: Dave Sawyer -
Printfreview, output can not be issued. why?
Hi, All
I created a program and a related script form. And I need to make a test in printpriview. Of course, the business module person had set output type for my form. But when I pushed "Printview" , the error message happened that output can not be issued.
<Priority normalized by moderator>
Thanks in advance!
Edited by: Vinod Kumar on May 26, 2011 9:49 AMI found the configurature on print output type had somthing wrong, that the output type configured by business moduler has red spots. Please refer to the screen shot attached .
So does it mean the print output hasn't configure sucessfully? And it's no business with my form or program?
Edited by: stephanie.sheng on May 26, 2011 8:40 AM -
My iPhone says that my charger is not supported, but it's the charger that came with my phone. Is there any way I can solve this issue?
Try cleaning out the phone's port, of pocket fluff and such. Carefully. And check the mains adapter similarly, but less likely.
-
My cellcom line doesn't work with my iPhone here in Israel, why? Is there any way I can solve this issue?
Please explain.
What does "cellcom line doesn't work with my iPhone" mean?
What are you trying? What is happening?
Where did you buy the iphone?
Any info abnout your issue at all?
Maybe you are looking for
-
Photoshop CS not working in Leopard !
Got Snow Leopard when it came out and had no problems at all for the last few weeks using Photoshop CS until today when i get," Adobe CS quit unexpectedly". I can't think of anything that has changed,it was working fine yesterday. Here is the "Proble
-
I have a SharePoint 2010 Reports library that has reports with old subscriptions. Whenever a user tries to add a subscription or edit one by selecting the ellipsis to choose this particular library we get the SharePoint correlation error that really
-
what is the latest version of firefox I can run on my mac computer which is a powerbook G4 laptop with OS X leopard Operating system.
-
How to upgrade EJB client to ORMI 1.1
Hello, we have an OC4J Instance(OAS 10g linux RedHat) that receives calls over rmi. Every time the instance starts and at various times in the log we see this message: Warning a client is using a different version of the ormi protocol 1.0 != 1.1 Acco
-
i just got a sandisk PC card adapter to read/write to a compact flash card. can i leave the adapter in the PC slot (w/o a card) when i'm not using it? i won't lose it that way. thanks , barbara power book G5 Mac OS X (10.4.3)