Hi,

I have had a quick look at your code, but I am not really sure what you are trying to do.

   Did you post all the code?

   Do you load a single XML file or one for each menu level?

I am away on holiday later today, so if I don't get back to you, then that's why, sorry.

   Glen

Rajiv Seth (Pixelated) wrote:
Hi Glen,
I have updated the link http://dev.epsilonium.com/flashforum/ with code.
Please see if you can suggest me something better. Which I am sure you will.

If you can tell me the basic approach and some important
methods/functions/classes, I will try it out.

Recently I saw this site
http://www.liquidjourney.com/flash/lq3.html

It has similar type of portfolio, but not the slide show.

Thanks
Rajiv

On Fri, Jun 6, 2008 at 8:25 PM, Glen Pike <[EMAIL PROTECTED]> wrote:

Hi,

  I don't know of any samples, but maybe post some code and we will try to
help you if the examples below are no help...

  Are you using "trace" commands to see where things happen and don't
happen - if so, can you walk / talk us through it or post the bit that does
not work.

  Off the top of my head - are you implementing the EventDispatcher
interface for any class that dispatches events?
    (AS2)
  //e.g.  a simple class that extends MovieClip, uses the EventDispatcher
mechanism and sends an event when the movie clip reaches the last frame.

  import mx.events.EventDispatcher;

  class MyClassSendsEvents extends MovieClip {

      function MyClassSendsEvents() {
              EventDispatcher.initialize(this);
      }
        private function onLoad():void {
        //Sometimes your _parent class cannot access child clips until they
are initialised, here is a fix to make sure that the children all tell the
parent they are loaded
        _parent.register(this);
      }
            private function onEnterFrame():void {
           if(_currentframe == _totalframes) {
              dispatchEvent( { type: "end" } );
           }
      }

      public function addEventListener(event:String, listener):Void {}
        public function removeEventListener(event:String, listener):Void {}
        public function dispatchEvent(eventObject:Object):Void {}
  }
    Are you using the Delegate class to make sure that the functions that
listen for events are "scoped" to the right function and class?

  e.g.
  //A class that listens for events on the above example...
  import MyClassSendsEvents;
  import mx.utils.Delegate;

  class MyClassReceivesEvents extends MovieClip {
     function MyClassReceivesEvents() {}

     function onLoad() {
        //normally you could add event listeners to child clips here, but I
have had many problems with uninitialised clips in the past, so use the
register function...
     }

     public function register(obj:MyClassSendsEvents):void {
        obj.addEventListener("end", Delegate.create(this, _end));
     }

     private function _end(evt:Object):void {
        trace("an object sent an end event " + evt.target + " was the
object " + evt.type + " was the event");

     }
  }

Rajiv Seth (Pixelated) wrote:

Hi,

yes you are right. I do have this basic idea. And I have used something
like
that only. But it doesn't seem working. Is there any possibility, that I
can
get some small running sample similar to this. Then I will  be able to
handle it.

Thanks

Rajiv

On Fri, Jun 6, 2008 at 6:23 PM, Glen Pike <[EMAIL PROTECTED]>
wrote:



Hi,
   Are you doing this in AS2 or AS3?

 How are you on OOP & Events?  This will affect how you interpret the
stuff below, but here is an idea from what you have said:

 I would suggest using some kind of Event mechanism, so that when your
slideshow reaches the end of the current list of images, it will tell the
application that is has finished - the application should then load the
slideshow with the next list of images and update the menu.

 That's a simple description, but I think that's the way I may approach
it
- using events and separating stuff into "blocks" that send events
around.

 Hope this helps?


 Glen

Rajiv Seth (Pixelated) wrote:



HI Glen,

Thanks for responding. Following is the link. I have put some details
there
too.

http://dev.epsilonium.com/flashforum/

Rajiv
---------------------------------------------------------------------
On Fri, Jun 6, 2008 at 5:01 PM, Glen Pike <[EMAIL PROTECTED]>
wrote:





Hi,

 Your attachments get scrubbed by the list.  Do you have a link to an
online image?

 Glen

Rajiv Seth (Pixelated) wrote:





Hi,

I am working on menu driven (which has submenu too) flash portfolio.
And
it's working fine. It has xml data. I want to have a Slide show
feature
for
this portfolio. Please refer to layout image attached. I want my
slideshow
run in a way that all menu & submenu should also increment as the show
proceeds. Can anyone help me in this?




 ------------------------------------------------------------------------

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to