Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-29-2007, 01:48 PM   #1
johnnyboyct
Registered User
 
Join Date: Jun 2007
Posts: 1
Red face Good intro to flex 2?

Hello, My boss has me attempting to learn flex, and I think Ive found an ok project to try. I need to make something similar to the top of http://www.mavi.com/ss07/main.asp The images will be comming from a php page that makes the xml. I have that much working. Now I need to pick a component and figure out how to keep the stuff animated.

Does this sound like a reasonable flex project? I know it would probobly be better done in flash, but Im VERY rusty at flash and have no desire to touch up.

If it is, can someone help me out with some ideas on how to get things moving and to stay moving? What kind of control should the items be in? Heres what I have, although I have been back and forth messing around...

Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  width="988" height="172"  scroll="0" layout="absolute" backgroundGradientColors="[#ffffff, #ffffff]" creationComplete="srvimg.send()">
	<mx:HTTPService url="http://dev/list1.php" id="srvimg"/>

		    <mx:Script>
        <![CDATA[

            private function moveImage():void {
                myMove.end();
                myMove.xTo=60; 
              myMove.play();
            }
      ]]>
    </mx:Script>
    <mx:Move id="myMove" target="{img}"/>

            <mx:Repeater id="rp" dataProvider="{srvimg.lastResult.item}">
                <mx:Image source="{rp.currentItem.image}"  id="img" click="moveImage()"/> 
            </mx:Repeater>    
       
        <mx:HorizontalList id="CameraSelection" height="250" columnCount="3" columnWidth="125" dataProvider="{srvimg.lastResult.item}">
        

		</mx:HorizontalList>

</mx:Application>
johnnyboyct is offline   Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
put intro flash to website dodo12 Server-Side Scripting 0 06-05-2003 08:39 PM
skip intro YolandeD ActionScript 1.0 (and below) 5 10-03-2002 02:25 PM
sound problems inside intro ryandsims Other Flash General Questions 3 02-18-2002 09:33 PM
intro and skip intro option Taldos Other Flash General Questions 6 12-12-2001 11:00 PM
Host File for Intro & Movie Angelic Mirage ActionScript 1.0 (and below) 1 05-10-2001 03:22 AM


All times are GMT. The time now is 11:58 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.