STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/12620373?noj=FRM12620373-22DC" width="1" height="1"></div>

Tutorial - Webcam In Flash.swf

This is the info page for
Flash #70325

(Click the ID number above for more basic data on this flash file.)


Text
PLAY

PLAY

Webcam Tutorial

Welcome to SickSticks Webcam Tutorial! This tutorial will take you through the basic steps of making a webcam
image appear in your flash game or movie! So press 'Next' to get started!

NEXT

NEXT

Created By SickStick

Music Off

Music On

Music Off

Music On

Right then! This is what we are hopefully going to make!

Not appearing? Click here!

Not appearing? Click here!

Click Allow

Preety cool, huh? Well the first thing we need to do is open up the frame that you want your webcam on and put
this actionscript into that frame.
The basics of that actionscript was that flash finds your Webcam and puts an image onto the screen where we
place are video box, you'll learn about that next.

<p align="left"><font face="Arial" size="10" color="#ffffff"><b>c = Camera.get();</b></font></p><p align="left"><font face="Arial" size="10" color="#ffffff"><b>webCam.attachVideo(c)</b></font></p>

Now, open up your libary and                    Once you've done that click New Video and you should see that a
new item will appear in your libary.

click here.

Click here

Drag the new item that you have imported into your libary onto the frame. You should get something like this.
If so great! Click on it and open up the properties panel and give it the instance name of webCam. You're
done! Press Ctrl + Enter to view yourself on webcam!

Facts:
Time Taken: 1 hour
Frames: 6
Music: Tenacious D - Wonderboy
Programs used: Macromedia Flash, Word and the internet.
Credits:
Everything By SickStick

AGAIN

AGAIN

ActionScript [AS1/AS2]

Frame 2
stop();
Frame 3
stop(); c = Camera.get(); webCam.attachVideo(c);
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stopAllSounds(); gotoAndPlay ("2");
Symbol 10 Button
on (release) { _root.play(); }
Instance of Symbol 4 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (load) { _root.stop(); _parent.stop(); } onClipEvent (enterFrame) { var bytes = _root.getBytesTotal(); var bytes_loaded = _root.getBytesLoaded(); kbl = int(bytes_loaded / 1024); kbt = int(bytes / 1024); percent = (bytes_loaded / bytes) * 100; pc = int(percent); _parent.mask._alpha = 100 - pc; _width = (percent * 2.8); _root.plpc = ((((pc + "% LOADED - ") + kbl) + " OF ") + kbt) + " KB"; if (bytes_loaded == bytes) { _parent.gotoAndStop(2); } }
Symbol 20 Button
on (release) { play(); }
Symbol 24 Button
on (release) { nextFrame(); }
Symbol 27 MovieClip Frame 3455
stopAllSounds();
Symbol 30 Button
on (release) { prevFrame(); }
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stopAllSounds();
Symbol 57 Button
on (release) { play(); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:11
Symbol 5 FontUsed by:6 8 9
Symbol 6 EditableTextUses:5Used by:11
Symbol 7 GraphicUsed by:11
Symbol 8 TextUses:5Used by:10
Symbol 9 TextUses:5Used by:10
Symbol 10 ButtonUses:8 9Used by:11
Symbol 11 MovieClipUses:4 6 7 10Used by:Timeline
Symbol 12 FontUsed by:13 14 21 22 25 28 29 33 35 38 39 41 43 46 47 49 52 54
Symbol 13 TextUses:12Used by:Timeline
Symbol 14 TextUses:12Used by:Timeline
Symbol 15 GraphicUsed by:20
Symbol 16 FontUsed by:17 19 55 56
Symbol 17 TextUses:16Used by:20
Symbol 18 GraphicUsed by:20 57
Symbol 19 TextUses:16Used by:20
Symbol 20 ButtonUses:15 17 18 19Used by:Timeline
Symbol 21 TextUses:12Used by:Timeline
Symbol 22 TextUses:12Used by:24
Symbol 23 GraphicUsed by:24
Symbol 24 ButtonUses:22 23Used by:31
Symbol 25 TextUses:12Used by:31
Symbol 26 SoundUsed by:27
Symbol 27 MovieClipUses:26Used by:31
Symbol 28 TextUses:12Used by:31
Symbol 29 TextUses:12Used by:30
Symbol 30 ButtonUses:29Used by:31
Symbol 31 MovieClipUses:24 25 27 28 30Used by:Timeline
Symbol 32 GraphicUsed by:Timeline
Symbol 33 TextUses:12Used by:Timeline
Symbol 34 VideoUsed by:Timeline
Symbol 35 EditableTextUses:12Used by:40
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:40
Symbol 38 EditableTextUses:12Used by:40
Symbol 39 TextUses:12Used by:40
Symbol 40 ButtonUses:35 37 38 39Used by:Timeline
Symbol 41 TextUses:12Used by:Timeline
Symbol 42 GraphicUsed by:Timeline
Symbol 43 EditableTextUses:12 53Used by:Timeline
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:Timeline
Symbol 46 TextUses:12Used by:Timeline
Symbol 47 TextUses:12Used by:50
Symbol 48 GraphicUsed by:50
Symbol 49 TextUses:12Used by:50
Symbol 50 ButtonUses:47 48 49Used by:Timeline
Symbol 51 GraphicUsed by:Timeline
Symbol 52 TextUses:12Used by:Timeline
Symbol 53 FontUsed by:43 54
Symbol 54 TextUses:12 53Used by:Timeline
Symbol 55 TextUses:16Used by:57
Symbol 56 TextUses:16Used by:57
Symbol 57 ButtonUses:18 55 56Used by:Timeline

Instance Names

"webCam"Frame 3Symbol 34 Video

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$BO$xsFWnpmWBev7UaQbAdzjB1."

Dynamic Text Variables

_root.plpcSymbol 6 EditableText""




http://swfchan.com/15/70325/info.shtml
Created: 9/4 -2019 23:37:16 Last modified: 9/4 -2019 23:37:16 Server time: 22/12 -2024 18:09:49