Flex Container ERROR
I need help with flex container, trying to contain my linearchart.
Error message in the end.
Code:
<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<s:Scroller width="700" height="190">
<s:Group id="myGroup" height="141" width="200">
<mx:Form id="from1" x="51" y="141" width="258" height="100">
mx:LineChart id="chart" x="51" y="141" width="875" height="190" dataProvider="{myArray}"
showDataTips="true">
<mx:horizontalAxis>
<mx:LinearAxis/>
</mx:horizontalAxis>
<mx:verticalAxis>
<mx:LinearAxis minimum="0"/>
</mx:verticalAxis>
<mx:series>
<mx:LineSeries yField="Value"/>
</mx:series>
</mx:LineChart>
</mx:Form>
</s:Group>
</s:Scroller>
</s:Application
Error:
Hi. So, I did take a quick look at the Axis2 standalone server and didn't see any way to server up a file such as crossdomain.xml. It seems like it might be a useful enhancement to have the ability to serve up files even if this functionality was very simple/limited and nothing like a full blown http server.
I'd log an enhancement request against axis2 if this is something you'd like to have.
http://issues.apache.org/jira/browse/AXIS2
-Alex
Similar Messages
-
Can't get Flash-built Flex container to work at all
Having religiously followed the steps on Serge Jesper's video on creating a Flex container in Flash CS4 using the Flex component kit, I can successfully see my test container in the "Design" view of Flex.
However, an attempt to compile the document gives me this error, which I cannot get past:
ReferenceError: Error #1069: Property mx.managers:ISystemManager::isTopLevelRoot not found on _TestPanel_mx_managers_SystemManager and there is no default value
The Flex project is called "TestPanel", with the main MXML file being TestPanel.mxml
This is making my brain hurt. Has anyone encountered anything similar? Is there an easy explanation. I've followed through the video 3 times step by step but it just will not work.
Thanks,
SJHi Alex,
Thanks SO much for your reply.
I thought as much, but for the life of me I can't see where to get it.
I'm using the 3.2.0 SDK for builds.
The instructions online at adobe.com say to download the Flex 3 SDK
and the latest .mxp files will be in /frameworks/flash-integration/
but I can't find that directory either in my official download of the
Flex Builder 3 Professional package OR the Flex SDK open source SDK.
Screenshot below of what I see when looking in "frameworks" - and this
is a download from TODAY! No "flash-integration" folder. -
The boot configuration data for your Pc is missing or contains errors: error code 0x000014c
Hello,
See if any body may help here... I get this blue screen:
RECOVERY
Your PC needs to be repaired:
The Boot Configuration Data for your PC is missing or contains errors.
file:\\EFI\Microsoft\Boot\BCD
Error code: 0xc000014c
You'll need to use the recovery tools on your installation media. If you don't have any installation media (like a a disc or USB device), contact your system administrator or PC manufacturer.
Press Esc for UEFI Firmware Settings
First I was able to get into the option 11 and run the whole factory reset, i was so happy because I tought it will be easy.. but then after I did the factory reset.. I keep getting this blue screen. if I press ESC I get into this next screen:
F1 System Information
F2 System Diagnostics
F9 Boot Device Options
F10 BIOS Setup
F11 System Recovery
ENTER - Continue Startup.
this is what happen when I click any of this options:
F1 I get into the System Information with no problems, then I click <ESC> to continue and get back to the last screen... then I press F2 and super, I am able to run Memory Test and Hard Drive Check 100% with no problems in any of those, after I am done with my teste I press exit and I am back to the F1,F2, ETC menu... now I want to try F9, F10 or F11. bummer.. in this 3 options I get back to the blue screen described at the beggining of this post. (I already connect a USB with an boot loader, which works perfectly)
so I can't do anything, nothing at all!! crazzines.
So what I did to check why I can't get into the BIOS or at least to boot from my USB... I removed the botton cover of my laptop and removed the hard drive and that's how then I was or I am able to Log into the BIOS, - I did the changes to boot first from the USB and then from the HD and this is how I was able to boot from the USB - BUT If I connect back the Hard drive, I am not able to get into the BIOS or boot from the USB - so basically I am stuck in this blue screen and I can't boot from a USB if I have the HD connected.. I can't use any option.. no BIOS, nothing.. only if again, i disconnect the HD.
This is an:
HP ENVY TS Sleekbook 4
PRODUCT NUMBER D1A99UA#ABA
SYSTEM BOARD ID: 1894
Bios F.25
**** I though that by updating the BIOS I may be able to get help, nothing. What I did is, I removed the HD and then and boot from the USB and with a DOS command propmt I excecuted the Bios Update from F.21 to f.25... but again, when I installed the hard drive back, BUMMER, nothing I can't do nothing but this silly blue screen.
Any idea of what should I do?
Thanks in advance.
This question was solved.
View Solution.If you can't access BIOS with the hard disk connected, you certainly won't be able to boot to the usb recovery flashdrive. That is indicative of a failed hard disk.
Install a new hard disk and then boot to the recovery flashdrive.
****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
2015 Microsoft MVP - Windows Experience Consumer -
Error in using BAPI_CONFEC_CREATE : Interface data contains Errors
Hi,
I am using this BAPI BAPI_CONFEC_CREATE to create confirmations locally in SRM for a PO. I am following Documentation available for this BAPI. But when I excuted with below data getting error " INTERFACE DATA CONTAINS ERRORS"
I am passing these data:
Hedaer: Ref_doc_no - PO Number
Description:
Process Type: "CONF"
Header_cust: parent_guid : PO GUID
Item: Parent: PO Header GUID
PO Number: PO number
PO GUID: PO HEDAER GUD
PO ITEM Number: PO item Number
PO_ITEM_GUID: po item guid
Account:
Parent_GUID : PO Item GUID
G/L acct : Po G/l acct
cost center : PO cost center
what are the data sholud be passed to this BAPI?
Am I missing any input data to this BAPI? Please let me know.
Am I using correct Function Module to create a confirmation for a PO in Stand alone scenario?
Thanks.
Shears
Edited by: Shears80 on Sep 10, 2010 1:39 AMHi Matt
I'm using the same FM but it's not working. Can you please share what data you are passing in the FM.
After debugging I found that my confirmation is getting created but it's not getting saved.
Please enlighten me.
Thanks
Ankit -
Hi All,
I am getting flex compilation error when i deploy the models which were developed in older version7.0, now it is 7.01.I am getting the following error in 7.01 version.
Flex2Compiler.Build: Error in executing a process for Flex compilation: /usr/sap/BWD/DVEBMGS30/j2ee/cluster/server0/GUIMachine_Business_Packages/[KCRXK59]MyModels.SMIScoreCard/FLEX_COMPILATION_FOLDER/AAD583.mxml
Does the older version models doesnot deploy in new versions?
Thanks
Srinivas KHello Srinivas,
Currently i am also facing the same issue , Can you let us know were you able to solve the problem u encountered , if yes how?
Thanks and Regards,
Ronniee -
Compilation is ok, but the deployment is giving this error messages:
Error in executing a process for Flex compilation, Error 1004: Operator '%' must be followed by an operand
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Error 1004: Operator '%' must be followed by an operand
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Error 1004: Operator '%' must be followed by an operand
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Error 1033: ')' expected
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Error 1033: ')' expected
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Failed to compile AAD8G.mxml
I do not succeed in finding the cause of this errorCompilation is ok, but the deployment is giving this error messages:
Error in compiling Flex application: Error 1004: Operator '=' must be followed by an operand
(/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc_59929/FLEX_COMPILATION_FOLDER/AADHE1_P.mxml:374)
Error 1142: The class 'vc.custom.SkinAssetDependency' could not be loaded.
(/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc__59929/FLEX_COMPILATION_FOLDER/AADHDR.mxml)
Failed to compile AADHDR.mxml
Edited by: Rafael Ovidio on Feb 15, 2008 10:28 AM -
Flex compilation error: line exceeds 32k span
Hi All,
I am trying to execute my application being developed in VC7.0 (nw04s sneak preview version) using tabbed layers. I have 3 layers and has the following UI components
1 tab/layer: input form
2 tab/layer: table control
3 tab/layer: table control
Following is the error from the source Viewer window
<b>com.myComp.myProduct.8J.Empdetailsview</b>
Error in executing a process for Flex compilation, Error: Branch between 8421 and 41193 around line 0 exceeds 32K span. If possible, please refactor this component.
(E:\usr\sap\J2E\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\empModel_18608\FLEX_COMPILATION_FOLEDR\AAD8J-generated.as:2188)
Error: Branch between 8421 and 41193 around line 0 exceeds 32K span.
Failed to compile AAD8J.mxml
PS: Initially I had a table and chart controls in my second layer (no 3rd layer then) and got the same error however, after removing the chart contrl, the app begun to run.
Now I added a 3rd layer which has one table contrl only and now the app is not working. I also have eventing between my layers..
Please help
Thanks
SathishHi
The 32k issue id pretty hard to get rid of once it starts, instead of using the 3rd layer, try and create a nested iview, you can also try and use a nested iview for each layer, this is a bit more complicated to do but does seem to workaround the 32k problem.
Jarrod -
Adding a window to a container: Error
Hello there,
Im facing a problem with my program.My program is about a Car Rental System and I am using GUI for the interface. From the main(CarRental) program,when user click one of the menu, there is another interface will appear for user to enter details.The problem is,my main (CarRental)program is running,click the first menu,then another interface open,but wen user enter details n click buttons , it is not even working. Below is my program:
//This is main menu program
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
import javax.swing.JFrame;
public class CarRental extends JFrame implements ActionListener{
JFrame f;
JLabel l1,l2,l3,choice;
JPanel p1,p2,p3,p4,p5,p6,p7,p8,p9;
JButton btnA,btnB,btnC,btnD,btnE,btnF;
Connection conn;
Statement stmt;
ResultSet rs;
public CarRental(){
p1=new JPanel();p2=new JPanel();p3=new JPanel();
p4=new JPanel();p5=new JPanel();p6=new JPanel();
p7=new JPanel();p8=new JPanel();p9=new JPanel();
f=new JFrame("New Rental Record");
l1=new JLabel("........::: Car Rental System :::.........");
l2=new JLabel("*******************************************************");
choice=new JLabel("Please select your option:");
btnA=new JButton("[1] New Rental Record");
btnB=new JButton("[2] Update Rental Record");
btnC=new JButton("[3] Search Rental Record");
btnD=new JButton("[4] Delete Rental Record");
btnE=new JButton("[5] Display Rental record");
btnF=new JButton("[6] Exit");
l3=new JLabel("*******************************************************");
f.setLayout(new GridLayout(10,1));
f.pack();
f.setVisible(true);
f.setSize(350,500);
f.setBackground(Color.white);
p1.add(l1);f.add(p1);
p2.add(l2);f.add(p2);
p3.add(choice);f.add(p3);
p4.add(btnA);f.add(p4);
p5.add(btnB);f.add(p5);
p6.add(btnC);f.add(p6);
p7.add(btnD);f.add(p7);
p8.add(btnE);f.add(p8);
p9.add(btnF);f.add(p9);
btnA.addActionListener(this);
btnB.addActionListener(this);
btnC.addActionListener(this);
btnD.addActionListener(this);
btnE.addActionListener(this);
btnF.addActionListener(this);
f.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e)
{System.exit(0);}});
public void actionPerformed(ActionEvent e){
if(e.getSource()== btnA)
{ NewRecord nr=new NewRecord();}
else if(e.getSource()== btnB)
{ updateRecord ur=new updateRecord();}
else if(e.getSource()== btnC)
{ searchRecord sr=new searchRecord(); }
else if(e.getSource()== btnD)
{ deleteRecord dr=new deleteRecord(); }
else if(e.getSource()== btnE){
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
catch(ClassNotFoundException e3) {
JOptionPane.showMessageDialog(null,"ERROR:"+e3.getMessage());
try{
conn=DriverManager.getConnection("Jdbc:Odbc:Car Rental", "", "");
stmt=conn.createStatement();
rs=stmt.executeQuery("Select * from Customer where CustID");
String s=("CustID: CustName: CustAdd: CustPhone: No.of days rent: Rate per rental: \n");
while(rs.next())
s=s+rs.getString(1)+" "+rs.getString(2)+" "+rs.getString(3)+" "+rs.getString(4)+" "+rs.getString(5)+" "+rs.getString(6)+"\n";
JOptionPane.showMessageDialog(null,s);}
catch(SQLException e4){e4.printStackTrace();}}//end of F
//to exit the program
else if(e.getSource()== btnF){
JOptionPane.showMessageDialog(null,"Thank you");System.exit(0);}
else
JOptionPane.showMessageDialog(null,"Invalid Option!");System.exit(0);
}//end of if statement
public static void main(String args[]){
CarRental cr= new CarRental();}//end of main
}//end of main menu
//New Rental program when user selects it
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class NewRecord extends JFrame implements ActionListener{
JFrame f;
Container c;
FlowLayout layout;
JLabel l1,l2,custId,custName,custAdd,custPhone,dayRent,rateRent;
JTextField tid,tname,tphone,tday,trate;
JTextArea tadd;
JButton save,clear,exit;
Connection conn;
Statement stmt;
ResultSet rs;
JPanel p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11;
public NewRecord(){
//super("New Record");
layout = new FlowLayout();
c=getContentPane();
c.setLayout(layout);
p1=new JPanel();p2=new JPanel();p3=new JPanel();
p4=new JPanel();p5=new JPanel();p6=new JPanel();
p7=new JPanel();p8=new JPanel();p9=new JPanel();
p10=new JPanel();p11=new JPanel();
f=new JFrame();
l1=new JLabel("........::: New Rental Record :::.........");
l2=new JLabel("*******************************************************");
custId =new JLabel("Customer ID:");
custName=new JLabel("Customer name:");
custAdd=new JLabel("Customer address:");
custPhone=new JLabel("Customer phone:");
dayRent=new JLabel("Days of rental:");
rateRent=new JLabel("Rate per rental:");
tid= new JTextField(10);
tname=new JTextField(10);
tphone=new JTextField(10);
tadd=new JTextArea(4,30);
tday=new JTextField(5);
trate=new JTextField(10);
save=new JButton("SAVE");
clear=new JButton("CLEAR");
exit=new JButton("EXIT");
f.setLayout(new GridLayout(11,1));
f.setBackground(Color.white);
f.setVisible(true);
f.setSize(600,600);
p1.add(l1);f.add(p1);
p2.add(l2);f.add(p2);
p3.add(custId);p3.add(tid);f.add(p3);
p4.add(custName);p4.add(tname);f.add(p4);
p5.add(custAdd);p5.add(tadd);f.add(p5);
p6.add(custPhone);p6.add(tphone);f.add(p6);
p7.add(dayRent);p7.add(tday);f.add(p7);
p8.add(rateRent);p8.add(trate);f.add(p8);
p9.add(save);f.add(p9);
p10.add(clear);f.add(p10);
p11.add(exit);f.add(p11);
/* f.add(l1);
f.add(l2);
f.add(custId);
f.add(tid);
f.add(custName);
f.add(tname);
f.add(custAdd);
f.add(tadd);
f.add(custPhone);
f.add(tphone);
f.add(dayRent);
f.add(tday);
f.add(rateRent);
f.add(trate);
f.add(save);
f.add(clear);
f.add(exit);*/
c.add(f);
save.addActionListener(this);
clear.addActionListener(this);
exit.addActionListener(this);
f.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e)
{System.exit(0);}});
public void actionPerformed(ActionEvent e){
if(e.getSource()== exit)
{System.exit(0);}
if(e.getSource()== clear){
tid.setText("");
tname.setText("");
tadd.setText("");
tphone.setText("");
tday.setText("");
trate.setText("");}
if(e.getSource()== save){
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
catch(ClassNotFoundException e1) {
JOptionPane.showMessageDialog(null,"ERROR:"+e1.getMessage());
try{
conn=DriverManager.getConnection("Jdbc:Odbc:Car Rental", "", "");
stmt=conn.createStatement();
rs=stmt.executeQuery("Select * from Customer");
while(rs.next()){
tid.setText(rs.getString(1));
tname.setText(rs.getString(2));
tadd.setText(rs.getString(3));
tphone.setText(rs.getString(4));
tday.setText(rs.getString(5));
trate.setText(rs.getString(6));}
String s=("CustID: CustName: CustAdd: CustPhone: No.of days rent: Rate per rental: \n");
while(rs.next())
s=s+rs.getString(1)+" "+rs.getString(2)+" "+rs.getString(3)+" "+rs.getString(4)+" "+rs.getString(5)+" "+rs.getString(6)+"\n";
JOptionPane.showMessageDialog(null,s);
catch(SQLException e2){
e2.printStackTrace();
public static void main(String args[]){
NewRecord nr=new NewRecord();
// nr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}//end of newRecord class
}//ends of New rental program
I tried to use extending to JPanel or JApplet but still the same. Any help??Hi,
In the NewRecord java file, use change the
f = new JFrame();
c = f.getContentPane();, after that all panel add into the container
p1.add(l1);c.add(p1);
p2.add(l2);c.add(p2);
p3.add(custId);p3.add(tid);c.add(p3);
p4.add(custName);p4.add(tname);c.add(p4);
p5.add(custAdd);p5.add(tadd);c.add(p5);
p6.add(custPhone);p6.add(tphone);c.add(p6);
p7.add(dayRent);p7.add(tday);c.add(p7);
p8.add(rateRent);p8.add(trate);c.add(p8);
p9.add(save);c.add(p9);
p10.add(clear);c.add(p10);
p11.add(exit);c.add(p11);and finally remove this line below
//c.add(f);Try to avoid add frame into the container, or else you will receive adding a window to a container error.
Rgrds,
Sen
Message was edited by:
arjensen -
I'm trying to install Windows 8.1 (with updata 1) using UEFI on my Intel DP45SG.
Starting up the installation by using UEFI works fine, but after the files have been copied and the system reboots I get the following error code: 0xc000007b ntoskrnl.exe missing or contains errors
I've tried reformatting my USB stick and recopying the files, as well as re downloading the installation files but this hasn't resolved the problem.
Is there anything I can try to fix this? Perhaps give some commands in the commands prompt?Hi Gi,
It might be caused by changes in Windows 8 PnP in which Boot Start Drivers are not installed by default.
Please try following
the instructions as mentioned in the KB aticle.
https://support.microsoft.com/en-us/kb/2751461?wa=wsignin1.0
Regards,
D. Wu
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Attribute for user contains errors. Inform system admin
Hello,
We've got an issue with shopping carts created by a user that was deleted from system. When trying to see in Monitoring Shopping Carts header or item details of a given sc. A web error occurs:
The URL http://srp.srm.gruposalinas.com.mx:8000/sap/bc/gui/sap/its/bbpsc11/! was not called due to an error.
Note
The following error text was processed in the system SRP : Attribute for user contains errors. Inform system admin.
The error occurred on the application server srm-pro_SRP_00 and in the work process 2 .
The termination type was: TH_RES_FREE
The ABAP call stack was:
Form: OUTPUT_EXPRESS_MESSAGES of program SAPLBBP_SC_UI_ITS
Form: EXTERNAL_SCREEN_DETERMINE of program SAPLBBP_SC_UI_ITS
Module: EXTERNAL_SCREEN_DETERMINE of program SAPLBBP_SC_UI_ITS
We've cheked SAP NOTE 312058-BBPPU99: Error: Attribute for ... is missing. Inform ...
But it seems that none of the information applies to us, since this issue is only present for Shopping carts that were created by this deleted user.
So we tried to re-assing one of this sc, chaning PARTNER_NO,ADDR_NR
ADDR NP data in table CRMD_PARTNER according to a new given user, but it didn't work. So we need to know how to re-assing this sc or perhaps how to find what specific attribute is missing.
Any advice is welcome.
Thanks in advance.Hi
<b>Which SRM version are you using ? This is an SRM error message.</b>
The manager role should be enough to change user attribute. The transaction is BBPATTRMAINT. Employee role should have BBPUM02 or BBPAT05 to change their own attribute.
<u>Please check whether the User ID you are using to Log into BBP_PD (and seems to be assigned in the org structure also)is consistent and has no errors in tcode USERS_GEN. You should check the user, it's not set up properly in USERS_GEN Transaction, Else repair the user.
To maintain the user attributes you must have the Administrator role.. Your user should have role SAP_BBP-STAL_ADMINISTRATOR and be integrated in the org structure. your user must be integrated in SRM organizational structure. To see which attributes are missing, you can click on the user in PPOMA_BBP to see details, and go to last tab "Check". This will list all required attributes depending on used scenarios (so you may not require all of them). You can also use transaction BBP_ATTR_CHECK to check user's attributes for a particular scenario.</u>
<b>Please go through the following links as well -></b>
bbp_mon_sc attributes
Re: FM for attribute's value assignation in PPOMA ?
Note 751022 - Monitor Shopping Cart: Item deletion causes termination
Re: User Settings are not saved
Re: Not able to generate user users_gen
Re: SRM organization plan...
Re: User creation error
<u>Hope this will definitely help. Do let me know.</u>
Regards
- Atul -
IDX1: Port SAPIDS, client 800, RFC destination contain error
hi
i changed the client on xi for idoc to file scenario.
in sm 58 iam getting following error
Transaction IDX1: Port SAPIDS, client 800, RFC destination contain error
regards viju........VIJENDER SRIRAMOJU,
If you change the client on xi for that scenario, make the corresponding changes
in Idx1.
Also delete the entries from Idx2. (entries in idx2 are read automatically during runtime)
There is a howto on idoc scenario in sdn. Just go through that.
reg, -
XI: idoc 2 file scenario( Contain error in SM58)
Hi experts,
Here i am having one issue. i have done Idoc 2 file scenario...i have created material in R/3 successfully. when i have sent the material to legacy system..Idoc was generated Successfully in r/3 but i haven't seen that message in SXMB_MONI..
i got the error message in SM58 i.e. IDX1 port SAPDE1, Client 220, RFc Destination Contain error.
plz any one can u help me on this....
Regards,
YadavHi Yadav,
The RFC port you defined is not correct in IDX1. The Port name must be in the form of u201CSAPxxxu201D, where xxx is the system ID of the backend SAP system.
Just cross check it.
Check this for more details:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
Regards,
Sachin -
Best practice for adding text to Flex container?
Hi,
I'm having some troubles to lay a TextFlow class out properly
inside a Flex container. What's the best practice to achieving
this, for example adding a lot of text to a small Panel?
Is it possible to pass anything other than a static width and
height to DisplayObjectContainerController constructor, or is this
not the place to implement this? I guess what I am looking for is
the layout logic I'd normally pack into a custom Flex component and
implement inside measure() and so on.
My use case: a chat application which adds multiple TextFlow
elements to a Flex container such as Panel. Or use TextFlow as a
substitute for UITextField.
Some example code would help me greatly.
I'm using Flex 3.2.
Regards,
StefanThanks Brian, the example helps. However problems quickly
arise if I modify it slightly to this (please compile it to see):
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" initialize="init()">
<mx:Script>
<![CDATA[
import flashx.textLayout.compose.StandardFlowComposer;
import
flashx.textLayout.container.DisplayObjectContainerController;
import flashx.textLayout.container.IContainerController;
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.conversion.TextFilter;
private var _container:Sprite;
private var _textFlow:TextFlow;
private function init():void
_container = new Sprite();
textArea.rawChildren.addChild(_container);
var markup:String = "<TextFlow xmlns='
http://ns.adobe.com/textLayout/2008'><p><span>Hello
World! Hello World! Hello World! Hello World! Hello World! Hello
World! Hello World! Hello World! Hello World! Hello World! Hello
World! Hello World! </span></p></TextFlow>";
_textFlow = TextFilter.importToFlow(markup,
TextFilter.TEXT_LAYOUT_FORMAT);
_textFlow.flowComposer.addController(new
DisplayObjectContainerController(_container, 200, 50));
_textFlow.flowComposer.updateAllContainers();
]]>
</mx:Script>
<mx:Canvas width="100" height="100" id="textArea" x="44"
y="46" backgroundColor="#F5EAEA"/>
</mx:Application>
What is the best way to make my textflow behave like a
'normal' UIComponent in Flex? Should I use UIComponent instead of
Sprite as a Container? Will that take care of resize behaviour?
I have never before needed to use rawChildren.addChild for
example, maybe you can explain why that's needed here?
I realise that the new Textframework works on an AS basis and
is not Flex or Flash specific, but this also poses some challenges
for those of us using the Flex framework primarily.
I think it would help to have some more basic examples such
as using the new text features in a 'traditional' context. Say for
example a TextArea that is just that, a TextArea but with the
addition of inline images. I personally feel that the provided
examples largely try to teach me to run before I can walk.
Many thanks,
Stefan -
having lots of problems with TB lately but until today it worked itself out somehow....now today I- can't open it. suddenly after being prompted to update TB I get error messages. 'program files(x86) Mozilla/Thunderbird/ icud+52.dll is either not designed to run on windows or contains error. install again or contact software vendor' then after I click that away get another one 'cannot load xpcom' . I am not very tech savvy with computers but have tried every reasonable thing I trust myself doing. I thought it might have to do with a an outdated Firefox so reinstalled that. I have searched high and low on how to uninstall TB and reinstall again WITHOUT losing any emails...,but none of the answers I found on this question are clear about this so I don't dare to do it yet. I don't have my pop address emails redirected anywhere else (not to webmail) so only access them via TB on my computer. How can I solve this without losing ALL my existing emails and email folders?
thanks in advance.Hi Chanpuff,
I have a look at my own Windows 8.1 machine, the sqmapi.dll in 'C:\Program Files
(x86)\Windows Portable Devices' is 217KB and in “C:\Program Files \Windows Portable Devices” is 272KB.
If you want to make a modification to the files, it is recommended to make a restore point and backup the important data to reduce the risk of unexpected error.
“Would it be safe to try it out? Or are there other possible solutions?”
The SqmApi.dll is a part of system ,we don`t recommend to try to repair it with a thirty party software. We cannot verify the safety of the software.
I agree with
DonPick, to ensure the safety of the whole system .It is recommended to have a full scan of the whole system.
Best regards -
Document Contains Errors - Approval not possible
Hi,
We are having issue in our Invoice Workflow.
When ever the approver is trying to approve the document, he is getting the error message "Document Contains Errors -> Approval not possible".
We have verified the document and check for error messages and found the below error messages on the Document.
E BBP_PD 047 Posting period 006 2011 is not open.
The document was submitted some time in the first week of December and as part of AP process the posting period will be closed during the first week of every month. This is a common business case and why is it stopping from posting the doc?
FYI..this Invoice is posted against the WBS element.
Pls give some insight on this and how to address the issue.
Regards,
SatyaHi,
The posting date in the invoice is referring to the past period which is closed.You will have to change the invoice posting date to current period date and then process.
Regards,
Sanjeev
Maybe you are looking for
-
Where can I get a website template that has good support?
Hi I am new with the abode software. I have the creative cloub. However, I am not website designer. So, I would like to find something that I can work with that has some support to it. I know a little about building websites, but not much. I would li
-
Plugged in my iPad Mini into my computer and it would say next to the battery Bar "Not Charging" , and I'm wondering what this means. Thank you!
-
How do I get my iMessage to be Separate from IPhone and MacBook ?
How do I get my iMessage to be Separate from IPhone and MacBook ?
-
Vendor Creation Via OAWD using workflow
Hi, We are currently using SAP Archvelink for attaching vendor invoices to FI docuemnt via FB60 and MIRO using a basic workflow function We want to be able to use the same process ie OAWD to be able to initiate the process of creating a vendor via XK
-
Publishing error like no other
Ok its been a while since ive updated my site but Ive tried to do it recently and all it says is publishing error(unknown error occurred). Now ive searched and searched and havent found this type of error on here. Hopefully someone can help. It doesn