Archive for the 'Flex' Category

26
Apr
07

PodTech:The Architecture of Flash

Good Work Ely!
Really nice podtech to understand the architecture of Flash

[podtech content=http://media1.podtech.net/media/2007/04/PID_011047/Podtech_Adobe_Flex_Announcement_Whiteb.flv&postURL=http://www.podtech.net/home/scobleshow/2827/the-architecture-of-flash&totalTime=1773000&breadcrumb=98439cdf-6f55-4eba-a454-69a11a504168]

Advertisements
11
Apr
07

Resizing the Map by dragging the container

I got the question again from Girish ๐Ÿ™‚ He was trying to resize the map whenever you try toย  change the size of the vdividedbox component.

Here is the link –>

https://digitallyinsane.wordpress.com/2007/04/05/show-the-marker-on-the-map-on-the-click-on-the-map/

I tried to digg in to the problem and found out that if u want to change the size of the map on resizing the container you need to provide the min width and min height in the source provided by yahoo

Check out this article in Flex docs

http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00001733.htmlย 

Its saying about setting the minimum height and width of the component and my guess is that u have to set that in theย  YahooMapService.as file.

I am trying to look into that but busy with some other work.

Here is one more alternative that can be done

Instead of putting a container inside the vdividedbox and putting a map inside it, put map directly inside the vdividedbox and set the width and height of the yahoo map component as 80% and you will be able to resize it. ๐Ÿ˜‰

Here is the code

<mx:VDividedBox id=”vdb” right=”5″ top=”5″ bottom=”5″ left=”285″ >

<yahoo:YahooMapService
id=”myAS2Map”
UUID=”12345″
swfDomId=”{SWFDOMID}”
apiId=”{YAHOOAPIKEY}”
mapURL = “{MAPSWF}” height=”80%” width=”80%”
x=”10″ y=”10″/>

<mx:Canvas height=”100%” width=”100%” >
<mx:Label
text=”Add Components here”
fontWeight=”bold”/>
</mx:Canvas>
</mx:VDividedBox>

I hope this helps.

If there is anything else do write it to me.

Cheers!

Anupam

05
Apr
07

Show the marker on the map on the click on the map

Hi,

Girish had written a comment in my post of Yahoo maps communication toolkit , upto my understanding I think he is trying to put some marker whenever user clicks somewhere on the map.

I tried to solve the problem and was amazed to find out that point object which is returned by the onClick method of the map is of the type string ๐Ÿ™‚

So its the question of some string manipulation and some of the type conversion and i am able to show the marker whenever user clicks on the map.

So here is the code I think it might be useful to others also
Continue reading ‘Show the marker on the map on the click on the map’

30
Mar
07

My Amazon Wish List

Hi,

I have read on some blogs that adobe is gifting the developers who are in need of the flex books.

I hope this reach them ๐Ÿ˜‰

http://www.amazon.com/gp/registry/wishlist/RWRA27U1W234/

I am in really need of this books ๐Ÿ™‚

I hope they are shipping in India

Cheers!

Anupam

28
Mar
07

Flex Pizza Builder

Hi,

From the day I start working on FLEX 2.0 i m always amazed with the functionality and the kind of User experience it gives for the user. Just browsing somewhere and seen this amazing application of a traditional Pizza order system that we use to learn in the Masters of Computer Application ๐Ÿ™‚

Great work Ryan!!!

http://ryanfavro.newmediateam.com/blog/index.cfm/2007/3/24/Flex-Pizza-Builderย 

28
Mar
07

Multiple Instances of the Yahoo Map- Part II

Hi,

Few days back i was trying to achieve the task of having multiple instance of yahoo map in an application;

I got the dirty workaround to this ๐Ÿ˜ฆ

What i have done is :

Create an actionscript class that extend the YahooMapService class.

Create an instance of the class in a base state of the Flex Application file

Create a view stack with different views in this application file and each of the component that you are using in side the view stack must have a load map method that accepts the map object.

This method will load this map object in the container using the addChild method of the container.

One strange thing that i have noticed is every time you load the component in the view stack you have to make the yahoo map object null.

I hope this helps!

Cheers,

Anupam

P.S: If somebody have the better solution to this plz provide the ideas here.

26
Mar
07

Multiple Instances of Yahoo Maps in a Single Page

Hi,

I am trying these thing for a quiet a long time but without any success, When I try to put more than one instance of yahoo map on a single page it is only showing one map instance and the other instance is not loading ๐Ÿ˜ฆ

I have discussed this with the author of the AS3 toolkit of yahoo maps

U can see it here

http://blog.scottgmorgan.com/php/default.php?topicID=170&contentID=739&rowID=155

If any one has any input on this please comment here.

Thanks,

Anupam




Its Me

February 2018
M T W T F S S
« Sep    
 1234
567891011
12131415161718
19202122232425
262728  

Categories

Blog Stats

  • 10,466 hits

My Links

Amazon Wish List

My Amazon.com Wish List
Advertisements