Welcome, Guest
  • Author Topic: position  (Read 2026 times)

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    position
    « on: 05/28/02, 16:44 »
    Whuts Up ALl The People Thta Help Me,

    Ok I Making A Website All in Flash And I Have A Live Webcam And I Already Know The Code To Make The Pictutre SHOW on The swf But I  Need To Know The Code That Will Make The PIcture Goto A Certain Spot And A Certain Size? i know theres ways to do it but im not smart in that department....

    thx for all poeples help



    [shadow=red,left,300]Stephen Miller[/shadow]

    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com

    Flash-db

    • Administrator
    • Systems Administrator
    • *****
    • Posts: 1876
      • View Profile
      • Flash-db.com
    Re:position
    « Reply #1 on: 05/28/02, 19:45 »
    Hey,

    First of all - I liked the scrolling text at the bottom of your post - I think you might be the first person to have used that.

    You should be able to load the image into another Movie Clip that you can use as the container for the image.  You can place that Movie clip at a certain position in your movie - then the image wil also be loaded into that position.  You can also get a little more complicated with that Movie clip that's acting as a container for your web cam images by giving it different Frame's - I'm not sure what your intentions are with the different frames - but potentially you could load different web cam images into the various frames in your Container MC, so you can switch between them.

    Once your web cam images are inside the Movie clip - you can manipulate that Movie clip.  For example you can change the size/position/etc - This would allow you to resize it for example - Or drag the Web cam images (in the MC container) to different parts of the Movie.

    Is that what you Mean?
    That's about it. Had to try the Move thing
    « Last Edit: 05/28/02, 19:46 by Flash-db »
    Flash-DB

    BurtonRider1983

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 864
    • Rider-4-Life
      • AOL Instant Messenger - BurtonRider1983
      • View Profile
      • Flash Developer's Corner (being built)
    Re:position
    « Reply #2 on: 05/28/02, 19:54 »
    Yeah, he is the first....like Jeff said.  Use the LoadMovie with the MC as your target.  Use the _x, _y, _xscale, and _yscale properties of the MC to manipulate it.
    just testin

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    Re:position
    « Reply #3 on: 05/28/02, 22:01 »
    Thx alot guys...


    [shadow=red,left,300]I Thought I Would Try Somthin New On These Message Boards[/shadow]
    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com

    Flash-db

    • Administrator
    • Systems Administrator
    • *****
    • Posts: 1876
      • View Profile
      • Flash-db.com
    Re:position
    « Reply #4 on: 05/28/02, 22:10 »
    I'm starting to like all this Scrolling Text.

    [shadow=green,left,300]I bet it gets really annoying after a while though.[/shadow]
    How about this one
    « Last Edit: 05/28/02, 22:15 by Flash-db »
    Flash-DB

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    Re:position
    « Reply #5 on: 06/03/02, 03:14 »
    hey guys, back again i thought it worked but it dont i was woundering if you could five me a exact code that i could place to make a picture import from a webcam to a certain spot on the page???? thx alot guys you always help alot....







    i Didnt Think That Woul Work
                             |
                             |
                             |
    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    Re:position
    « Reply #6 on: 06/03/02, 08:12 »
    Ahhhh.... i've Been Lookin All Night on How To but i cant find on how to do what i need to do...please can some one give me a exact code that i could place to make a picture import from a webcam to a certain spot on the flash page?

    Not on a button on a regualar frame.... cuzz i want it to load by it self 24 7
    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com

    BurtonRider1983

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 864
    • Rider-4-Life
      • AOL Instant Messenger - BurtonRider1983
      • View Profile
      • Flash Developer's Corner (being built)
    Re:position
    « Reply #7 on: 06/03/02, 10:52 »
    Hey Steve....I have never used a webcam before but I'll see what I can do.  So your webcam....does it save an image file to your server?  If so, and it is a Flash supported filetype you can just use the loadMovie command.  You put the address of the file, the MC that you wish to load it into.  You would move it by using this code from the movie clip.....
                       _x=;
                       _y=;
                       _xscale=;
                       _yscale=;

    Just put in the numbers.....pretty simple, unless if your webcam works a little different than I thought.

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    Re:position
    « Reply #8 on: 06/03/02, 11:36 »
    lol
    im cinfused...do i put the #'s in the front or behind.... can you give me an example..

    Thx alot
    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com

    BurtonRider1983

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 864
    • Rider-4-Life
      • AOL Instant Messenger - BurtonRider1983
      • View Profile
      • Flash Developer's Corner (being built)
    Re:position
    « Reply #9 on: 06/03/02, 21:15 »
    lol...you put the number after the equals sign.  I gave you an example...just fill in the numbers.  You put that code in your MC....if you want to change the properties of the MC from outside the MC, then you would use somthing like this....

    _root.instanceName._xscale=50;

    This would make the MC 50% as wide.

    _root.instanceName._yscale=150;

    This would make the MC %150 as tall...so one and a half times.