Actionscript 3.0 :: Auto-allowed Webcam Acces In Flash
Sep 9, 2009i have a webcam script , how do i auto allow the webcam xcess?
View 1 Repliesi have a webcam script , how do i auto allow the webcam xcess?
View 1 RepliesIs there a way to automatically save an image from the webcam to a folder without having to click a button, or can you make the button take the image and save it to a folder as well, without a pop up saying "choose the folder to save to"?
View 1 Replieshow to get pass where you dont have to allow or deny its auto allow access to webcam. ctionscript Code: var myCam:Camera = Camera.get();output_vid.attachVideo(myCam);
View 1 RepliesI have the student edition of adobe flash cs3 and I currently have it installed on my desktop. I was wondering if it is legal to also install it on my labtop. It is for personal use, I don't know if that changes anything. I'm sure this is somewhere on the adobe site, but I can't seem to find it.
View 1 RepliesI'm using CSS in an AS2 Flash file to format my text. I'm having problems using classes in conjunction with tag selectors in order to obtain two levels of specificity - does this NOT work in flash? Are you only allowed one level of specificity?For example, there are instances where I want my links to be one color, and other instances where I want them to be another color. There also are instances where I want them underlined by default, and with no decoration on hover. Then there are other instances where I want it exactly the opposite, where they would have no decoration by default, and underlined on hover. So far, I can't get this to work.[code]
View 3 RepliesI want my site's users to be able to record videos straight from their webcams into my site. Videowhisper is one such tool which seems to work fine - [URL] But I'm looking for opinions on better / more scalable / reliable solutions. Paid solutions are fine.
View 4 RepliesWhat are the maximum dimensions of a bitmap allowed to be loaded and displayed in Flash?
View 1 RepliesI have one scene, with a layer, inside I have more layers and inside this another one, I have a as file, with the maih class, and I can't not access a TextField component.
[Code]...
When i start the movie this error posps up: acces of undentified property start_.
stop();
import flash.events.MouseEvent
start_.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void {
gotoAndStop(1,"Scene 247");
gotoAndStop(1,"Menu");
i hope to find a math formula to acces grid MATRIX elements diagonaly!
so lets say i have a grid of mc: (the numbers are the id's)
[Code]...
I'm building a small game. On my document class i create a instances of the class Character and Level with the following code:
//add the Level
level = new TileGrid();
level.y = 100;
[code].....
How to acces remote shared object from other class?
I have
package {
import flash.net.*;
import flash.display.*;
public class Main extends Sprite {
[Code].....
I would like to add some data or modify shared object. How can I acces _sharedBoardObject from another class? Or maybe I need to connect to "sharedBoard02" directly?
i'm trying to use global variables, and I make them in a seperate class, just as the linked blog said, but when i want to acces them in other classes, i get an error saying: 1120 : acces of undefined property playerhealth
View 1 RepliesThe problem is that a cannot acces the nodes in the tree using AS3 syntax. My guess is that the problem is nhe namespacing that is making it impossible. I have been sitting for hours trying to set namespaces or removing them, but i just cant get this to work. I can load the XML, but as soon as i try to walk down the tree i get no data output. Here is my actionscript so far:
var myNamespace:Namespace = new Namespace( "http://www.w3.org/2001/XMLSchema-instance" );
default xml namespace = myNamespace;
var xmlLoaderAvdelningar:URLLoader = new URLLoader();
[code].....
there is no way for me to acces one of the nodes in the tree and trace the data. To me the namespacing in the XML is very confusing, and i have no experience working with this kind of XML
This is probably easy stuff for most of you guys but have tried to have this working for the past hour and it's not working.I basicly have made my own button which is a movieclip. Inside the movieclip on the normal/roll off state i've put a dynamic textfieldwith instance name "textbtn" my button is supposed to span 2 frames on my mainstage, thought is need to say something different in each frame.
Sofar I have this inside the movieclip on Frame 1:
textbtn.text = MovieClip(parent).buttonText;
on my mainstage in frame1 I have:
back_btn.addEventListener(MouseEvent.MOUSE_OVER, buttonRollOver);
back_btn.addEventListener(MouseEvent.MOUSE_OUT, buttonRollOut);
back_btn.addEventListener(MouseEvent.CLICK, buttonClick);[code].....
I have an image gallery with a thumbnail class which needs information about the content being loaded to be able to resize it appropiatly. Using.content.height and .content.width I can acces this information, however the swf (online) stops working when this code is encountered. No errors are thrown.piece of code from where it stops working
Code:
if (targetThumb.content.width > targetThumb.content.height) {
//scale the width
[code]......
I have no clue why I'm getting this error with my preloader:
[SWF] PRELOADER.swf - 1639 bytes after decompression
[SWF] LeagueOfLolsApp.swf - 19769801 bytes after decompression
TypeError: Error #1009: Cannot access a property or method of a null object reference.
[code].....
I'm making an interactive film. At certain points within the film, the viewer has the ability to select from a few options that will direct them to an external video clip (they are flashback scenes). The main story pauses when the user selects a flashback scene and I'm clear on how to achieve this.
However, my issue is that once the flashback scene ends and the external video closes, I'm not sure how the main story will resume. Is it possible for it to auto-play (resume) in some way? My last resort would be to have the viewer select a play button - this is only because I do not want a break in the narrative and want to limit the amount of clicks the viewer has to make.
Doing flash interface project with only the 4 arrow keyboard keys and the "a" key as the activater! No mouse allowed!!I have created movie clips which have a roll over affect created by an array but i now want to make these movie clips into button which can be selected using the arrow keys and the "a" button. Which then takes the user to the desired page. Really dont want to change them from movie clips format .
View 3 RepliesFor a download.php I need to set allowed file extensions. What do I need to insert for an Adobe Air file (.air) file?
$allowed_ext = array (
'zip' => 'application/zip'
I'm dynamically creating an instance of a textField into my "stage" as a input text. This works fine but somehow, it doesn't allow me to type some keys such as "w", "p", "�" and the letter "b" is always displayed as "B". I'm working with Flash Professional CS5 and I've also tried to compile my class with Flash Builder 4 both with an AIR 2.0 project but it work just like described above.
View 6 RepliesFullscreen mode feature can be enabled/disabled with allowFullScreen attribute of the embed/object tag.
Is it possible to know inside action script code if the fullscreen mode is allowed .
I want to hide fullscreen button in my app if fullscreen mode is not available.
i made both the scrollpolicies (horizontal and vertical scrollpolicy) to "off", but if i scroll the mouse the content was scrolling. how to avoid this behaviour?
the sample code is
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark" xmlns="*" creationComplete="init()">
[code]....
if you just click the hgroup and scroll,then the contents are scrolling. now i want to aoid this behaviour.
How to specify in this validation script that letters are not allowed?[code]box is a text field.
View 6 RepliesI use a free web host for a site but they don't allow uploading of mp3 files (they filter and block them)
I want to offer visitors a choice of background music that would have to be streamed or loadMovied'ed as mp3 files, here lies the problem.
I thought a work-a-round would be to have a small empty movie off stage that contained the swf music file but I then thought that someone might have a more elegant solution.
When you use loadMovie to download a swf file into a parent movieclip, what's the best way of initially filling the parent movie BEFORE anything is downloaded, assume you use attatchMovie - is this correct ?
I have a site on which I need to have multiple videos.
The way I have it set up is that there are two frames, one for each video, each with an instance of FLVPlayback on it. For some reason, only the last one that I designate will work.
I have tried the following:
-Importing both videos separately onto their frames
-Copying an instance of FLVPlayback from the working frame and pasting it on the other, only changing the variable that tells it where to get the FLV from
Yes, the videos are both linking to the right place, in the FLA I can see that each parameter points to the correct video, but whichever one I do last is the only one that will work. The other video won't even come up with a dead player, the screen is simply blank. No visible instance of the FLVPlayback box, no sign of the control (I am using ClearExternalAll).
I am currently working on a simple program that when the user clicks a button it adds 1 to a textbox for whatever button has been pressed. For example they click a heads button it puts 1 into the box, they click 1 in the tails button and it displays another 1 in the the box. What I am having a problem with is that once the total number of clicks has been done (15) I want it to stop and not allow anymore clicks.
Here is my code so far:
btn_Heads.addEventListener(MouseEvent.CLICK, runHeads);
btn_Tails.addEventListener(MouseEvent.CLICK, runTails);
btn_Clear.addEventListener(MouseEvent.CLICK, clearData);
var coinArray:Array = new Array();
var headsTotal:int=0;var tailsTotal:int=0;
var counter:int=0;
[Code] .....
The code runs all and well but when the total value reaches 15 I want it to stop and not allow anymore clicks.I was trying a for loop. Basically all I need it to do is that the Box's that are getting numbers put in them I need the total 1 to stop at 15 and not allow anymore changes.
I have two functions that use loadNext. How can I have that? I don't quite understand it and would greatly appreciate help. I'm bolding the two areas that use the loadNext function.
[Code].....
I'm getting the "Component declarations are not allowed here error" where I've got my RadioButtonGroup. Below is the custom component. Why can't I put a RadioButtonGroup in it?
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
[code].....
Is polymorphism is allowed in class? I mean without using get and set accessor.
View 1 Replies