Flash :: Camera Freezing When Using FlareNFT With FLARManager?
Jan 24, 2011
I'm trying to run the example application from the FlarManager download. It worked first time using the FlarToolkit engine, but the webcam freezes if I change to the FlareNFT tracker. The only change I've made is to the onAdded function:
From this:
this.flarManager = new FLARManager("../resources/flar/flarConfig.xml", new FlarToolkitManager(), this.stage);
To this:
this.flarManager = new FLARManager("../resources/flar/flarConfig.xml", new FlareNFTManager(), this.stage);
When using the FlareNFTManager it compiles but freezes the camera feed. No errors are thrown, but the FlarManager event handlers are not triggered (e.g. onFlarManagerInited, onMarkerAdded, etc.).
View 2 Replies
Similar Posts:
Aug 13, 2010
I am using Flash Builder 4 to run Lee's tutorial "Augmented Reality with FLARManager".However, upon importing the project and running, it shows the feed from the webcam but it's frozen on the first frame. I have a Logitech Quickcam Pro for Notebooks and, thinking it may be interference from the Logitech software, tried killing all Logitech-related processes but to no avail. I also tried making the project on my own and writing only the first few lines of code as the minimum requirement to get the webcam displayed (ie: everything up to about 9 minutes). Also, I'm working with FLARManager v1.0 which has some slight differences from v.6 Lee was working with for this tutorial. I'm fairly sure I've fixed these differences (in this case, the constructor for FLARManager) as specified on FLARManager's website. Here's my code:
Code: Select allpackage
{
import com.transmote.flar.FLARManager;
[code].....
View 2 Replies
Oct 11, 2010
From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.
It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)
View 3 Replies
Oct 20, 2010
Usually Adobe Flash applications can access any usb-webcam.I have a USB camera for microscopes which understands TWAIN and DirectShow.Is there a possibility to access the video data from this camera with flash?
View 1 Replies
Nov 17, 2009
SO. I built an Augmented reality demo using the FLARManager. It works great locally but when I try to run it on a server the web cam won't show up.
View 3 Replies
Sep 18, 2009
Im kinda new to using class and papervision3d and FLARManager. I created a FLAR project using flash cs4 to complile the .as files What do I need to deploy this to a website...do I need to move everything that is in the org folder on the server?
View 1 Replies
Sep 3, 2010
Following leeBrimlows tutorial using flarmanager, I am wanting to make a plane clickable that is housed in a container using the InteractiveScene3DEvent.
[Code].....
View 1 Replies
May 21, 2009
I have created 2 Flash movies in the form of a slideshow. The flash clips are embedded in the webpage that I was modifying and it works perfectly fine. What I would like to do is to allow users to be able to click on the flash image in the web pages. Once clicked, a new pop-up window will appear and it will show the freeze image of the flash that was being clicked at the moment. Currently I am only able to make the new pop-up window and the flash still played through itself in it while I need it to freeze and be static.
View 4 Replies
May 21, 2009
I have created 2 Flash movies in the form of a slideshow. The flash clips are embedded in the webpage that I was modifying and it works perfectly fine.
What I would like to do is to allow users to be able to click on the flash image in the web pages. Once clicked, a new pop-up window will appear and it will show the freeze image of the flash that was being clicked at the moment.
Currently I am only able to make the new pop-up window and the flash still played through itself in it while I need it to freeze and be static.
View 2 Replies
Jun 28, 2010
Flash seems to crash/freeze when clicking through to other applications.
i cant get any work done because its crashign all the time.
View 2 Replies
May 19, 2009
I have a piece of code like a the end of a timeline, most usually looping back to frame one or a stop() if I let the playhead play through to this frame then flash will freeze!
View 1 Replies
Jul 24, 2009
I have been using the new unloadAndStop() function to unload some loaded SWFs after they are no longer needed. This has been working fine whilst testing in flash, and when I have tested it using firefox. However, to my utter horror and despair unloadAndStop() seems to be crashing safari and IE8. I haven't tried IE7.
After replacing unloadAndStop() with the old unload() the crashing stopped. So I am certain this is the problem. unloadAndStop(false) also caused flash to crash. No error was displayed.
This project has been 7 months in the making and involved a lot of hard work in the evening and weekends. I noticed that it was starting to lag after being in use for a while because SWFs weren't being released from memory. When I say lag as well, It's not like normal frame rate slowing down lag, the whole application will simply freeze up for a couple seconds, and the freezing lasts longer the longer the app has been running. I have gone through and made sure to null almost every variable myself, and null any variable in the loading swf that points to anything in the loaded SWF. It appears to be working now using the old unload() function, but will need more testing to be sure because the lagging only turns up after the application has been running for about 45 minutes and has loaded and unloaded several SWFs.
Anyway, is there anything that I can do about this or am I missing something obvious? I haven't found any other posts about this, has anyone else had this problem? Why does god hate me so much?
Sort it out please Adobe, I really don't think it should be this hard to get rid of a loaded SWF. If you were in front of me right I would be screaming at you.
View 3 Replies
Apr 8, 2011
So I recently got a new laptop. It came installed with Windows 7 64-bit and Internet Explorer 8. However, after installing the current Flash Player update, IE started freezing. I would open certain pages, and the browser would become unresponsive, leading me to end the program. I would try it again, and still the same result. The culprits were always the same, hotmail and tvshowsondvd, among others. Internet Explorer 9 was released a few days later, so I uninstalled IE8 and installed IE9.
The browser worked fine for a few days, but then it started to do it all over again, with the same web pages! Then I noticed something, all these pages were heavy in flash objects. So I tried uninstalling Flash Player 10 and guess what, it started working! No more problems loading pages. I can no longer view flash objects, especially on YouTube. I haven't had the problem since, but I need Flash Player installed.
View 1 Replies
May 24, 2011
I've developed a flash-based site for a client who has an account with GoDaddy and have uploaded all files successfully to the hosting server. The site consists of an initial preloader named "preloader.swf", which loads an external SWF file named "main.swf" that contains different sections including an image-gallery section.However, I notice that at times (as not always this happens) the initial flash preloader for the main flash-based site loads faster than usual with "hiccups". This results in when having to view an image in the gallery section of the site (where each image is loaded externally from the server having a preloader of its own), the selected image loads in a jagged manner with "hiccups" (for instance from 22% it pauses then jumps immediately to 31%, then pauses again and jumps immediately to 47%, and so on).
Then, at a point in time, the preloader suddenly freezes/hangs the entire site, having no other choice but to refresh the site.Only then, once the preloader of the image has froze and the site is refreshed, or the cache is cleared, will the entire site work perfectly as supposed to - i.e. the initial preloader loads more slower and smoother, and the preloaders of when the images are loading are more smoother as well (no sudden jumps in the percentages as before; the preloader loads in normal increments).how I can make the site load smoothly always without having to encounter any hiccups, freezing and hanging, as I've been checking my code over and over again but I can't find anything wrong with it?I was doing some research and read that the cause might be because of the following line "ProgressEvent.PROGRESS" as it might not fire at times in IE or Firefox. Is that so? If so, what alternative must I take?[code]
View 2 Replies
Apr 1, 2012
I am capturing camera on flex for android using air 3.1,and found that the camera is only showing the a part of of actual camera video.When i view camera using normal camera application in android galaxy tab, it shows full camera area but when i am capturing the camera in flex its showing only the center area for it.I tried using setMode to set the resolution, but its not of any use.Is there any way to get full camera area captured inside flex using camera.getCamera ?
View 1 Replies
Jun 10, 2009
I have a video capture device on a machine. I have written a windows application to capture the video from this device. While capturing, if i try to broadcast using flash it does not connect. If i'm already broadcasting and then try to capture then my windows application does not get the capture pin of the device. So, flash seems to be taking the capture pin. Is there anyway to broadcast using the preview pin on the device so that i can capture using my application. Or is there way where i can split the capture pin and give one to my app and one to the broadcaster
View 10 Replies
Aug 14, 2009
How do you stop a loop from freezing the flash movie? I want to put a progress bar and the loop will return the % status but the loop always freezes?
View 4 Replies
Jun 22, 2010
I'm working on a set of SWFs that need to sync with each other using LocalConnection in AS2It was working fine in Flash Player 10, but as 10.1 throttles Flashes when they are not visible, the SWFs lose their sync if any of the SWFs are not visible on the page.This is particularly annoying as we were not aware of this new behaviour in 10.1 and I expect the update will break a lot of similar websites.
View 3 Replies
Jun 10, 2009
I have an ASPX script that load the properties of a long list of objects from database (about 1000).
Then I have a spinning mc to entertain the user while data is loaded.
The problem is that it starts to spin, and then, at certain point of data reading the animation freezes indicating that Flash is too busy gathering and putting data into the LoadVars object (it restarts to spin after finish data reading).
Question is: there is a way to override this and force Flash to give priority to the animation? I think that's a very ugly behavior by the point of view of user and would be nice if it could be fixed.
Personally I cannot see another way to turnaround it but performing several smaller and consecutives database readings (to reduce CPU load), but I think that's a totally unaceptable solution...
View 1 Replies
Sep 9, 2011
I am trying to parse a string. It involves a huge for loop.
Tried making livesdocs out of this but it failed. So I looked with google and found this.
Does any one know...how I could apply this to a huge for loop? Trying to parse multiple files without flash player freezing.
View 8 Replies
Jan 19, 2012
How can I use the Timer class and timer events to turn this loop into one that executes chunks at a time? My current method of just running the loop keeps freezing up the flash/air UI. I'm trying to acheive psuedo multithreading. Yes, this is from wavwriter.as:
[Code]...
View 1 Replies
Jul 1, 2011
My web page, which contains a SWF using AS3 opens great in Chrome, Firefox, & Safari. When I open the page in Internet Explorer it freezes on the preloader for some reason I can not figure out.
View 3 Replies
Nov 20, 2010
I have a project I am working on, it has zero coding most all symbols are graphic because it seems the movie symbols don't export correctly. I export it to swf and it hands 100% of the time when it is at about 80% complete. I have gone back in and optimized tons of it, and it did not change a thing.
View 3 Replies
Apr 7, 2012
I have a loader that loads main application. Everything works fine, except one issue:
When main application is loaded, animation in loader freezes for few seconds (5-8). I think during these 5-8 seconds main application creates it's objects.
I tried to minimize number of objects in main application and it did help a bit, but freezing problem is still there.
How to load content without freezing?
View 1 Replies
Feb 9, 2009
I produced a site a year ago [url]... and recently - since my last update, its been freezing at the preloader on older browsers... (on one computer it didn't work on IE, I downloaded firefox to it and worked fine)
In that same browser that it doesn't work I can go to the SWF directly and it will load, although if I load it through the HTML page it will freeze as described.
View 0 Replies
Sep 24, 2007
I'm having an issue with a file uploader i'm working on. Certain files, it seems files over 7mb will not upload, nor give an error, it just silently freezes when it starts.
This is on a MediaTemple [dv] with the php.ini modified so that max_file_upload = 100M, same issue.
Here some ActionScript for yashortned a lil)
Code:
var listener:Object = new Object();
listener.onSelect = function(selectedFile:FileReference):Void {
browse_mc.filename_txt.text = selectedFile.name;
[Code]....
View 1 Replies
Mar 14, 2009
i have a simple preloader in frame 1 (scene 1), and the rest of my movie in scene 2.
the preloader is:
//Import the required assets
import flash.display.*;
//Create a listener to call the loading function as the movie loads
this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);
[Code].....
View 6 Replies
May 6, 2009
I am working on a simple navigation right now, and I'm getting a strange behavior from it. The first time the page loads, everything works fine, the rollovers work and everything. But then, if I click one of the nav buttons to go to an inside page, and then go back either by using the Back button on the browser or clicking "Home" in the inside nav, the Flash nav on the home page freezes after a couple of seconds.
The link to the project is: [URL]
Here are my two classes.
Main.as
Code:
package {
import flash.display.MovieClip;
import flash.display.Graphics;
import flash.events.*;
[Code].....
View 1 Replies
Nov 4, 2009
I have a link from a HTML page which opens another HTML page with my .SWF embedded, AND opens the .SWF on frame 2 using an anchor point on the timeline.
My problem is because all my actionscript is on the 1st frame, once its opened on the 2nd it runs thru the movie back to the 1st frame. When I put a stop(); on frame 2, this freezes all my buttons on frame 2.
View 1 Replies
Sep 10, 2010
I have a mask transitioned 2 pic banner I'm using for a site. Everything appears perfect and am happy with the result.
After a while in ie7 or Chrome (indeed possible any browser!) the transition will freeze - most often mid transition! I have racked my brain trying to figure it out and can only conclude it is an issue with the loop killing the cache of browser or something.
It's an ol' favorite AS2 fla of mine and was taken from a FLASHMO template. how the original that mine was built from and see any problems with cache or runtime etc.? Would a conversion to AS3 fix?
flashmo website > flash templates > page 13 > bottom > flashmo_039_mask_effect
The difference with mine is it does not run after click, it loops.
View 1 Replies