Actionscript help on semi-advance flash

So I'm trying to create a flat carousel similar to the one
located here
http://www.square-enix.com/na/index_f2.html
(as a side note before reading the 2nd half, my trouble is with
the thumbnail loop buttons)
I have created all the graphic elements, now I'm in the
planning stage of the actionscript, and this is where I'm hitting
some trouble, so if I could barrow some actionscript pro's mind
that would be awesome.
My thought process is to create a movie clip and have it be
replaced with images imported through an XML file (for easy
updating). After this part I run into trouble, I'm planning on
taking the MC that got replaced and duplicating it and running the
MC's side by side, and when one goes too far to the left or right
move it to the other end of the other MC, this way I create an
infinite loop.
My Questions:
so like how would you make one of the MC's reposition it's
self on the X axis to the end of the other movie clip once it has
moved far enough left or right ? (also what is the method you would
use to tell flash the limit that the MC is far enough left or right
and it should reset it's self?)
How would you make each thumbnail button change the image on
the main stage upon clicking the thumbnail button when all the
images are imported through the xml document?
Thank you for help and time spent reading this.
if you have any questions, please ask.
thanks once again.
-Mark

Rob,
First of all I would like to greatly thank you for all you
have done for me. It has been so useful and such a learning
experience getting to go through your personal code. and
manipulating it to my personal flash. Thank you so much!
However, I'm reaching some trouble when I try to import my
XML file, or something is just missing.
so here is the break down:
in my main .fla file I have this actionscript to import your
.as file (with modifications made to the name and package)
var Carousel:carousel = new carousel();
trace(Carousel);
now that seems to import into my FLA just fine, the trace
tells me that [object carousel] which I assume that means the
object has loaded into the FLA.
So anyway there is nothing on my stage in the main FLA, which
I assume is because the XML is not getting loaded properly into the
flash/actionscript.
My XML (minus all the images but one):
<icons>
<icon image="icon1.jpg" />
</icons>
so this is the basic of my XML, when I import the xml into a
more simpler file the jpgs work just fine.
now I thoroughly went through your script examining every
functions and var and I'm able to understand majority of it however
parts of the import section is what confuses me, so if you could
help me understand the script more that would be amazing.
(the line numbers are probably off a little because I deleted
a couple unnecessary variables for my flash)
in line 57: urlLoader.addEventListener("complete", loaded);
why do you have "complete" instead of Event.COMPLETE... is
there a difference?
in line 81 & 82: var count1:uint = source.indexOf("/") +
1;
var count2:uint = source.indexOf(".");
please explain what "/" and "." means... do I replace it with
location of the nodes in my xml?
so yeah this is the gist of it, if you could help me figure
out how to import my XML properly that would be great, or if you do
not have the time do that maybe you could let me check out your
XML, piece it all together and figure out the difference of your
working copy and my unworking copy.
Once again Thank you so MUCH! for taking your time in helping
me out, I hope things are going well for ya.
-Mark

Similar Messages

  • Actionscript help with symbol control (Flash 8)

    I have a bunch of symbols on the stage and want to control
    them with actionscript to cut down on the workload. The attached
    code is what I've created that works for the most part with 3
    problems/customization desires:
    1) When I test this the POST still sends my variables in a
    querystring like a GET (only read by request.querystring). How to
    make the POST act like a POST.
    2) My mouse over creates a larger symbol. How could I get
    this to animate the growth to a larger symbol?
    3) My shadow effect is just a transparent copy of the
    original symbol. How can I change the color to be transparent
    black? Or is there a better way?

    let's see if i can help...
    1) you should use LoadVar.sendAndLoad - rather than just send
    in order to maintain the current swf file - even if you only
    specify a "POST" method param.
    2) you should use the Tween class to 'grow the scale of the
    button - and shrink back to size it onRollOut - without a need to
    create a duplicate instance.
    3) you should use the DropShadowFilter to achieve this with
    code
    so this should look like:

  • Advanced flash menu tutorial

    Hello everyone!
    Is there any advanced tutorials showing how to create an advanced flash menu and header such as this one on the top:
    http://images.osc3.template-help.com/wt_26184/index.html
    I think my flash level is intermediat and I know how to design ordinary menu but this one here displays:
    * Loading scene
    * nice quickly animated objects in the movie introduction
    also is there any Flash effects that I can include in Flash such as SwishMax effects, or do I have to create my own motion presets?

    I'd recommend that if you want to use fancy Flash navigation like shown in the link above, do so using swfobject
    http://code.google.com/p/swfobject/
    and a complete set of alternate navigation buttons for non-Flash devices. That way you can have the best of two worlds... Flash and regular HTML/CSS navigation. This has actually been a Flash "Best Practice" for some time now.
    The best way to properly set this up is to first provide the alternate content (in this case the navigation) then only after you have that working, add the Flash part.
    Best wishes,
    Adninjastrator

  • Looking for an advanced flash animation part-time course

    Hi folks,
    I am primarily a programmer, a games programmer by trade who happened to pick up Flash on the side and later through a series of coincidences became a full time flash developer. Most of my work thus far has been code heavy, and has focussed on such things as interacting with web services, localization with xml files, flash video, streaming video, networking etc.
    My employer recently lost one of its contractors who built a lot of animation heavy flash apps for them, and as I know my way around the Flash IDE quite well, and have created fairly complex animations in the past, they have asked me to assume a more animation orientated role. To this end, they have offered to send me on courses to get up to speed with Flash animation.
    As I know probably 90-95% of Flash's capabilities, and am comfortable with animating / easing / masking / filters / tweening and how to produce these effects programmatically, my interest would lie in a course that teaches fairly advanced uses / best practices of flash. For instance, I find that there are many ways to do things in Flash, but only a few approaches that will get you there without the entire IDE coming to a grinding halt (shape hints is a good one, or perhaps an approach has forced you into a corner with many tweened animations which now need a small alteration made to all of them).
    Are any of you aware of courses that can take a fairly advanced flash user's knowledge and turbo charge it with tips, tricks, best practices and approaches to complex animation? I've found plenty of courses that will teach you the basics, but going on them would be a waste of time and money. If any of you are familiar with the Programming Gems series of books, what they do for a game programmers knowledge of programming would be a good analogy for what I'd like a course in flash animation to do for me.

    I have no idea to offer regarding courses for what you request.  Since you seem to be confident of your skills, maybe you should just create a project for yourself that would involve needing to know the things you want to learn and pursue it with extreme prejudice--solving aspects one at a time as you encounter them.  That's pretty much the approach I took in learning AS3 and it helped alot.

  • NEED HELP!!! Flash Animation (MAC) play back on PowerPoint (PC)

    NEED HELP!!! Flash Animation (MAC) play back on PowerPoint
    (PC)
    Shockwave Flash Animation is complete.
    We want to change the Flash Animation w/video (MAC) files to
    QuickTime files.
    Then change the QuickTime files using Adobe Premiere®
    Pro CS3 to an MPG level 1 file (not level 4)
    Must be expert in:
    Shockwave Flash Animation (MAC)
    QuickTime (MAC)
    Adobe Premiere® Pro CS3 (MAC or PC)
    AdobePowerPoint (PC)
    Virtual,Telephone or inperson heip on how to make a Shockwave
    Flash Animation (MAC) play back on PowerPoint PC

    (This is the Adobe Scout forum for game developers, you should try the Flash Player forum)
    To install Flash Player, try this link: http://get.adobe.com/flashplayer/

  • Can you help to open adobe flash cs6

    Can you help to open adobe flash cs6

    And what exactly is the problem? You need to explain better and include things like system information and otehr details.
    Mylenium

  • HELP Section of Adobe Flash

    out of frusteration....... i hate the ******* integrated help
    with Adobe Flash....... it just down right sucks!

    It does not suck. If you want really poor integrated help try
    Director.
    Flash's Help is worlds better...
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Can someone help me get adobe flash running on Windows 8 Internet explorer 10 desktop?

    I am running Windows 8 and I use internet explorer 10 desktop, but Flash content will not load!!!!! Can someone help?
    Also, Shockwave flash objext is enabled, and ActiveX Filtering is disabled.

    you need boot camp 3.0.x first before later versions can be installed;
    Or,
    I don't know what currently Boot Camp Assistant in 10.6.8 will also do a download of drivers.
    But other than change Properites and try setting "use Windows 7 mode" and such, I think you are left high and dry with whatever is in 8.
    And I use 8 on two of three systems. I left my Mac Pro @ Windows 7 for now but I much prefer Windows 8, yes.
    I would not have chosen or gone with any 32-bit version. As long as you have 3GB RAM or more, forget it. Use 64-bit.
    I have not seen or rather read any "success" stories with 8 and Apple drivers though.

  • I Need help to install adobe flash player

    I NEED HELP TO INSTALL ADOBE FLASH PLAYER

    And also provide all information: http://forums.adobe.com/thread/1195540
    [topic moved to Flash Player forum]

  • My ipod touch 4th generation won't synch.i'm trying to put a pdf file on it.please help thanks in advance...

    my ipod touch 4th generation won't synch.i'm trying to put a pdf file on it.please help thanks in advance...

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on anoterh computer to help determine if you have an iPod or computer problem.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • Help!! Adobe flash player disappeared

    We had adobe flash downloaded onto our new dell laptop when we bought it brand new in December. After being infected with a virus, the flash player disappeared! After going through the Adobe download, it says it was successfully installed. It does show up as downloaded in my control panel, yet doesnt appear in my start up menu!! When I try to use something that requires the flash player, it tells me that I need to install it...SOMEBODY HELP ME RE-INSTALL THIS!!!! Thanks so much

    Thank you!! I installed firefox browser and it works fine now!
    Date: Tue, 1 Feb 2011 18:29:54 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help!! Adobe flash player disappeared
    What browser do you use?  Internet Explorer?  If so, check if you have the "kill-bit" set by that virus: http://forums.adobe.com/message/3432049#3432049
    If yes, use this method to reset it: http://forums.adobe.com/message/3434922#3434922
    >

  • Please help me set up flash player on my macbook

    please help me set up flash player. i have downoaded and installed it 10x. even had a professional do it. nothing works. i have a macbook pro 10.7.5

    run the uninstaller first:  http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html
    then manually dl and install fp from the link on this page:  http://helpx.adobe.com/creative-suite/kb/troubleshoot-download-assistant.html#main_Known_i ssues
    Progress bar hangs during download / Unable to connect to server / Unable to download metafile
    Reason: The Flash Player installer sometimes has trouble working in some firewall proxy server environments.
    Workaround: Download the Adobe Flash Player installer directly by clicking one of the following links.
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)

  • Help.  ipad air flashes between white apple logo and unlock screen?

    help.  ipad air flashes between white apple logo and unlock screen?  how do i fix this ?

    You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists.

  • Help w/speed of Flash application - Use load vars, flash remoting or other....

    I'm looking for a little help with a dynamic Flash
    application I am building with ColdFusion integrated. I need the
    Flash to load and interact with a SQL Server database as quickly as
    possible as the user interacts with the Flash application. I have
    done research and thought that Flash Remoting was the way to go
    especially when using ColdFusion with Flash, but I am experiencing
    a lot of lag time when a user tries to load more data.
    So I'm looking for some advice on what is the fastest/best
    way to pass data back and forth between Flash and ColdFusion.
    Currently I am using Flash Remoting via ColdFusion web services
    (first time using this), but again with the lag time I am receiving
    I am thinking maybe my old way of using LoadVars would be faster? I
    am also open to any other means to pass data from ColdFusion/SQL
    database to Flash that exist. I am just looking for the quickest
    way for my customers to interact with the Flash piece.
    Thanks for all your help!

    Also would like to note that internet explorer does not have this problem, I would prefer to figure out why this is happening and resolve it as I hate IE.

  • ADVANCED "FLASH STREAMING DEVELOPER" need

    Hello,
    Please read carefully, its short.
    I AM ONLY LOOKING FOR AN ADVANCED "FLASH STREAMING DEVELOPER"  and not any other type of developer.
    My work is detailed in zip file attached Keywords:Video Editing
    For more details: http://www.freelancejoblist.com/flash-streaming-makadamos-nov-15-max-bid-400

    This forum is for developers that need assistance with code.
    It is not a place to try and conduct business transactions. Try
    placing your ad on Elance or something service. Thank you.

Maybe you are looking for

  • Configuring Multiple Schemas in Oracle ADF application

    Hi, Thanks all for the replies for my previous posts :-) We have a requirement in which we need to configure our application for multiple Database schema. At runtime based upon the logged in user we need to get data from the schema related to that us

  • How to Dal with Log Version in SXMB_MONI

    DEAR EXPERTS, sCENARIO: FILE-----> PI - > SAP ECC Sender - File adapter Recv - Proxy Mode_ Sync. Some of the messages are going to STATUS - *Log Version IN SXMB_MONI. This is happening Intermitently. How to avoid log version in sxmb_moni..Any SAP Not

  • How to read the HTML code from a webpage

    Hi, I want to be able to read the HTML code of a web page In order to extract some info from some pages. How can I do that? is it using cl_http_client ? I played with that class a bit, but wih no sucess to what I need...

  • Default where clause

    i am passing dynamic where clause to a detail block from the main control block by pressing a button, the problem is different types of criterias are not comming together, like i may choose any value of machine or if its null it should bring all the

  • Status text for Equipment

    I am calling function CALL FUNCTION 'STATUS_READ' which returns a table of status for the equipment in the form 'E0001'. I want to get the text description of that status  such as 'ESTO' in order to compare with a value beign read from an input file