Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Click to load another mc

 
Jump to:  
 
Landice
PostPosted: Wed Sep 03, 2008 9:43 am    Post subject: Click to load another mc
       
Hi guys,

I have few questions and hope any of you flash master can help me on it. I
have a 3D carousel spinning gallery loaded with XML in my content frame (this
frame contains different content pages such as about us, service n etc).

I would like to know how can I make it like when I click on the carousel
thumbnail, it'll bring me to the particular gallery page for that category. I
have the gallery page coded in the content frame together. Now when I click on
the carousel thumbnail, it'll load another page with the getURL command. (the
URL is read from the XML file)

Is there any way I can make it to load the gallery page inside my swf instead
of loading another html page?

p/s: Hope you can understand what I'm talking about, I know my description is
not clear enough 'coz I don't really know how to explain it.. =$
 

 
NSurveyor
PostPosted: Wed Sep 03, 2008 10:14 am    Post subject: Re: Click to load another mc
       
Hi Landice,

Welcome to the forums!

One problem that you might face is that Flash can load and render external
SWFs but not (complete) HTML pages.

If the contents of the HTML page is simply an SWF, then you can modify your
code to allow Flash to load the SWF instead of opening a new window. That is,
change the XML code to reflect the location of the SWF, not the HTML file.
Then, in Flash, make use of the loadMovieNum, loadClip, or loadMovie methods to
either load the SWF to a _level or a MovieClip.

Otherwise, you may have to rethink your set-up.

I imagine that this gallery page is mainly comprised of images? If so, it
might be better to represent the gallery page as another XML page with the URLs
of images specific to that gallery. And then just as your 3D carousel loads in
XML, you could load in the XML for a particular gallery and then load in each
image using the loadMovie or loadClip methods.
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

gry ubieranie Makumba - Big Cyc Pendrive sklep internetowy zegarki