Results 1 to 5 of 5

Thread: Interactions in Flash Professional CS

  1. #1
    Join Date
    Mar 2010
    Posts
    330

    Interactions in Flash Professional CS

    Hello,
    I am new to the adobe technology of programming and i would need some help from you. I am trying to learn the interaction in flash, I tried some attempts, but non of them is working. I ope the panel window in flash and I try to create a new interaction window, but this is not working for me. So, if you guys have any regarding this topic then please let me know. Thank you.

  2. #2
    Join Date
    Sep 2009
    Posts
    135

    Re: Interactions in Flash Professional CS

    I know that Director is designed to be the "master" of the two programs, but I have an application in Flash that I would like to use Director as the "follower," instead. For example, Director would navigate in a 3D world, then turn control back to the Flash program, as determined by the location one was at in the 3D world. I have only three "locations" that one can navigate to, and the Director file would be pretty much just an animation to one of the three locations. Once a button is clicked, the proper location would be passed back to the flash file for continued processing, however, the user would be able to navigate to many other areas in the 3D model, only finishing at one of the three pre-programmed locations. Free-navigation is allowed, but the endpoint must be one of the three final points. I am proficient in AS, and have already done the AS coding. I am trying to add a 3D interface, with "real world" type of navigation available to the user. If this is possible, I'd be grateful to be told. I have not yet purchased Director (and the upcoming release of D11 seems to me to be a reason to hesitate even more). I was thinking that I could send the data through an XML file, but I was hoping it would be possible to just pass a variable back directly to the flash file.

  3. #3
    Join Date
    Nov 2009
    Posts
    343

    Re: Interactions in Flash Professional CS

    Yes, you can pass data back and forth between Director to Flash. For more information or help on this you can visit the official documentation of the adobe site , here is the link http://www.adobe.com/support/. It should help to explain how you can communicate between the two objects. I guess you have got what you need.

  4. #4
    Join Date
    Dec 2009
    Posts
    204

    Re: Interactions in Flash Professional CS

    Check out the following code, see if this can help you
    Code:
         public class test extends Sprite(
            private var vid:vid;
            private var cam:cam;
           
            public function test ():void(
                init ();
                initInterval ();
            )
           
            private function init ():void(
                cam = cam.getcam();
                cam.setMode(640,480,30) / / setMode (wd, hgt, fp)
                vid = new vid(640.480);
                vid.attachcam(cam);
                addChild(vid);
                bouton_1.parent.setChildIndex(bouton_1, bouton_1.parent.numChildren - 1);
                nw = new BitmapData(cam.wd, cam.hgt);
                bf = new BitmapData(cam.wd, cam.hgt);
            )

  5. #5
    Join Date
    Dec 2009
    Posts
    296

    Re: Interactions in Flash Professional CS

    See if this code can help you

    Code:
      private var nw:BitmapData;
            private var bf:BitmapData;
            private function detect (e:Event = null):void(
                if(! camera.muted) (
                    nw.draw(vd);
                    nw.draw(bf, new Matrix (), new ColorTransform (), 'difference');
                    nw.threshold(nw, nw.rect, new Point (0,0), '>', 0xFF111111, 0xFFFFFFFF);
                    bf.draw(vd);
                    shares (nw);

Similar Threads

  1. Truth about the Windows Phone 7 and Xbox interactions
    By Julien in forum Portable Devices
    Replies: 6
    Last Post: 31-10-2011, 10:30 PM
  2. Replies: 5
    Last Post: 19-07-2011, 10:37 AM
  3. Replies: 5
    Last Post: 03-03-2010, 06:05 AM
  4. Monitor your teen’s internet interactions
    By Henryk in forum Off Topic Chat
    Replies: 7
    Last Post: 27-10-2009, 04:26 PM
  5. Replies: 0
    Last Post: 21-10-2008, 01:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,713,549.99608 seconds with 17 queries