About "Flex"


hi:
    met problem on flex,in flex application,flex embedded jsp page. in jsp page above,this drop-down list. drop-down list covered jsp page.
    spent long time, solve problem,i‘m not @ english.

 

page effects:

 

flex problem.jpg

http://hi.csdn.net/space-350245-do-album-picid-629230.html

 


code simple:
====================== flex page code =========================
<?xml version="1.0" encoding="utf-8"?>
<mx:application xmlns:mx="http://www.adobe.com/2006/mxml"
    autolayout="false" layout="absolute" width="100%" height="100%"
    xmlns:flexiframe="http://code.google.com/p/flex-iframe/">

 

    <mx:panel width="500" height="400">
        <mx:combobox width="200" height="30">
            <mx:dataprovider>
                <mx:array>
                    <mx:object label="russia" data="1"/>
                        <mx:object label="canada" data="2"/>
                        <mx:object label="china" data="3"/>
                        <mx:object label="usa" data="4"/>
                        <mx:object label="brazil" data="5"/>
                        <mx:object label="australia" data="6"/>
                </mx:array>
            </mx:dataprovider>
        </mx:combobox>       
        <mx:spacer height="60"/>
       
        <!-- "<flexiframe:iframe>" google code flex-iframe(http://code.google.com/p/flex-iframe/) -->
        <flexiframe:iframe id="googleiframe" label="google"  width="100%" height="100%"
               source="http://localhost:8080/flexmoduledemo/pages.jsp"/>

 

    </mx:panel>
</mx:application>
============================================================

 

===================== jsp page code ===========================

 

<%@ page language="java" pageencoding="utf-8"%>
<!doctype html public "-//w3c//dtd html 4.01 transitional//en">
<html>
<head></head>
<body style="background:#008000;">
    jsp page embedded.(i'm not @ english.)

 

</body>
</html>
============================================================

 

 

    thank much!

 

    email:lupeng0527@163.com

you have adjust spacer take account height of combo

dropdown. or, might try adjusting z-order of your

components.




More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい