Adobe Flex

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsWeb Design & DevelopmentAdobe Flex

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old December 17th, 2013, 08:33 AM
NiceOyster NiceOyster is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Dec 2013
Posts: 1 NiceOyster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m
Reputation Power: 0
Question How to add a pop-up in area with Image Map Flexlib

Hi all i'm a beginner and i've some questions.

I search for six hours this week end to solve my problem but i don't have a solution yet.

So to resume i have to make an interactive map of France. So i download the flexlib Image Map. I understand how it's work. I've a declaration of pop up event. This works very well. I just want to include a pop up event in . More explanation : When i click on a specific poly (so a specific area) that this will open a pop up specific to the area.

I've try with : ShapeClick="(new AlertMsg()).open(this,false)". But when i click on 2 different poly, the same pop up is open.

Apologies for my english. Hope you can help me. Thanks

This my code :

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" applicationDPI="160">
<fx:Declarations>

    <fx:Component className="AlertMsg">
        <s:SkinnablePopUpContainer x="500" y="300">
            <s:TitleWindow title="Information Région" close="close()">
                <s:VGroup horizontalAlign="center" paddingTop="8"     paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                    <s:Label text="Région : Alsace"/>
                    <s:Button label="Fermer" click="close()"/>
                </s:VGroup>
            </s:TitleWindow>
        </s:SkinnablePopUpContainer>
    </fx:Component> 

</fx:Declarations>

<s:layout>
    <s:VerticalLayout paddingTop="5" paddingBottom="5" paddingLeft="5" paddingRight="5" gap="10"
                      horizontalAlign="center" verticalAlign="top"/>
</s:layout>

<ImageMap
    xmlns="flexlib.controls.*"
    source="@Embed('src/france.gif')"  
    showToolTips="true"

    >
    <map>
        <area alt="OR" shape="POLY"     coords="76,40,83,40,90,48,96,45,101,47,115,43,134,43,138,4  6,133,57,134,84,72,84,71,71,76,56" />    
    </map>

</ImageMap>

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentAdobe Flex > How to add a pop-up in area with Image Map Flexlib


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap