ActionScript 3.0 :: Flash Video Locking My Browsers?
Oct 8, 2009
I am working on a video widget, but anytime I try to load any flash video my browser locks, rendering it useless. I've tried some other sites, and they all lock as well. GMail locks trying to load the chat, because of the video chat inside GMail.I've restarted my machine, reinstalled the flash debugger version, and still, I keep having this problem, which is KILLING me...
Looking into HTML5 video tag, and researching which browsers support which video file types, and my initial thought is things just got harder than just using flash. I am wondering if there is some skeleton code (combined with development approach for videos) that someone has figured out to do the following: If flash is available, use it If not, try html5 video ogg format If that doesn't work, try html5 video h.264 format If that doesn't work, try html5 video webM format Based on what I am seeing, am I correct in thinking that now, in order to accommodate all users on all browsers, a video needs to be published in 4 formats? If so, this HTML5 video thing is an epic fail!
what if i need the Sub.swf to always find the native php file eather it gets loaded into main.swf or gets played from local folder and i can't use full paths. is it possible to load Sub.swf into Main.swf and make sure that Sub.swf still thinks /myfolder/ as home?
I'm looking for a way around using flash for video's on a site. Any suggestions for something that might work across multiple browsers that isn't flash based? HTML5 seems promising, but I need something with more browser acceptance. I'm trying to avoid having to serve up difference video's based on user agents.
A simple flash video doesn't appear in IE. I've looked at answers to the same problem by NineBerry, however, I've tried those suggestions without luck.[code]I didn't include the file mulholland_intro_slideshow.fla as I doesn't seem necessary.I'm also aware that when encoding with Flash the object can only be made to played locally or via the network. I encoded locally for testing but it also plays across the network. Is that even relevant? I don't know.
We have a requirement to create a video demo of certain products. What is the best way to make sure that the video plays on as many browsers as possible on all popular platforms (on Windows, Mac, Android, and iOS devices)? Current implementation: we just have Flash videos that load in a Flash player.
I inherited a flash website about a year ago.. not sure what version it was originally done in. I've made changes on the model last year using CS3 Flash Action script 2, but don't remember the flash version when published. The audio in question is the music that plays in the background when you get on the website:
[URL]
When I changed the image of the model this last week using CS4, I published it as Flash8 actionscript 2... now, the music plays on Mac Safari and Mac Firefox, but not on the Windows versions of IE or Firefox..
this is the code called sound control
onClipEvent(load) { _root.soundstatus="on"; _root.mySound = new Sound(_level0);
[Code]....
then there's the stop() that's used when the music is toggled off..
I've tried updating the flash player in Windows to the latest release, and I even tried republishing as flash 10, just not sure where to troubleshoot this..
I'm new to this venue and although I have been involved in video and have my own server I am green at this issue. I have a site up called:[URL].. that I server from my server and my clients only have a couple lines of code on their site. From time to time I get complaints that the video is breaking up upon playing.I am streaming it now and have a short load delay but I don't want it to take more time to load or the visitors may leave. I was told that there are two ways to stream: Flash Communication Server or Flash Video Streaming Services.
Im creating a little flash swf for a website of mine, but when i zoom in or out of the website (ctrl, +) the text moves and you can see outside elements of the canvas. what is the code to lock the canvas?
i thought i was: stage.scaleMode = StageScaleMode.NO_SCALE; but that isnt doing anything.
[URL] shows you what i mean, it is the text at the top that starts with loading...
I'm trying to find a way to lock a MC (or any other instance) to a path. Best way to describe what I want to do is ... imagine there's a drawn out rail track (the path), and at the press of a button a train (MC) will constantly move along the path until the button is pressed again.
im doing a website and using a flash header. this has some movie clips and it needed a loader. in Firefox it will lock up when clicking from page to page and stop on the full loader bar. im using cs3 master collection and as3 the website is paradisebeergarden.ph this is driving me nuts as it is only doing this in Firefox!
I'm trying to design a tablet flash applet. Does anyone know how to lock the orientation of the html embedded player player in landscape mode when it has been full screened? So far this is what I have in the html file:
HTML Code: <embed src="fullScreenTest.swf" allowFullScreen="true" fullScreenOnSelection = "true" />
That did wonders for maximing the flash window, but the moment I change orientation on the tablet the flash player also changed orientation. I know there is a way of locking the orientation to landscape mode in ActionScript 3, but is there an ActionScript 2 equivalent for it?
limiting or correcting the behaviour of FileReference.save isn't possible.Can anyone suggest an alternative (server is Apache/PHP) that matches all of my criteria from this post and avoids the pitfalls I discussed with Jacob?I'm saving an image from my AS3 app using FileReference.save(). This is the code, which works fine:[code]This opens up the save file dialog as expected. I'm using this rather than sending the byteData to PHP because I want the user to have a familiar dialog box that lets them set their own file name.
The problem comes when users have their operating system configured to display file extensions, like I do. This means that in the save dialog the file name contains the extension as seen in the image below, and so it is very easy for the user to delete that extension when they rename the file. Because the default file type for this box is 'All files', if the extension is deleted the file is saved with no type.I don't know of any way to force a file type on the save dialog (if there is one that would be my preferred route) so failing that can anyone suggest a safe way for me to do this that still allows the user to set the file name themselves using a standard dialog for their OS?I did try putting in a call to FileReference.browse() before the save() as shown in this tutorial, but that throws an error because you can only perform one FileReference call at a time.
Being adventurous I've got (all built in AS1) a masked area that you can view an image in. I'm trying to make it so you can zoom it in and drag it around, within the masked area, but the dragging locks it so that you can't drag it to the point where it leaves the edge of the masked area - if you follow. So when you're zoomed in, the iamge is never allowed to be dragged off so far that it's not filling the masked area. I've tried all sorts of code and the following code seemed to work well
But since the border size around the image is adjustable (it could be 2, it could be 20) and that eats into the area used to show the image (eg image is offset by imgBorderSize and shrunk by imgBorderSize*2) I tried to factor that into the formulas because once I turned the borders up the above formulas wasn't working right anymore
Code: // imageMC = the clip being scaled/repositioned/dragged limitLeft = 0-Math.round(imageMC._width-maskWidth)-(imgBorderSize*2); limitUp = 0-Math.round(imageMC._height-maskHeight)-(imgBorderSize*2);
[code]....
I also tried to make it so when you zoom in, it zoomed in on the center of the area you can see through the mask, not on the top left - so repositioning is occuring alongside the scaling for the zoom to try and acheive that. Nothing clever, just :
Code: // ZoomCalc range = 0-100; // imageMC = the clip being scaled/repositioned/dragged imageMC._xscale = 100+(2*ZoomCalc); // 100% - 300%
[code]....
When it zooms out however it'd be nice if it didn't snap back to center via the above code, eg if yu're zoomed into bottom left it would stay viewing bottom left as it zoomed out - yeah?If anyone has ANY input to this I'd greatfuly welcome it :/ If I manage to get it working then I have to figure out what my layer above all these layers with clickable buttons don't work as soon as I implemented the dragging of the image layer Is there no way to have buttons on something that is being dragged? ((
looking to lock the window size, of the htm pages that hold the swfs. i know there is a way to do it an i have it at home. only thing is im not at home. does anyone have the script that locks the browser window size. or know where i can get this.
I want to style input text, so i created a stylesheet.I made a input textfield, loaded the external stylesheet, defined the textfields stylesheet, and boom it works.Except, i cant type anything into the text field.
I thought from other adobe products that the lock would protect any layer you put it onHowever, In a situation where layer 1 is a looping background.Once setup, I locked itNow working on layer 2 but I notice unless I'm very careful I'm still able to move the background (layer 1) while working on other symbols that go on top of background. (even though the lock is in place.So I thought well what good is that, so hide the layer
I am designing a website using the combination of Dreamweaver with some flash swf files inserted. The page template is actually a very long vertical jpeg that will be imported at the end of my flash swf file. It is a very vertically long file so when the view gets to the page, they will be able to scroll down seeing only white the whole 2 seconds of animation before the page fades into view.
I am going to learn how to use action scripts to allow the viewer to to scroll up and down within that swf file that is imput in a 1row 1 column table in dreamweaver. Does this make any sense to anyone? The file is vertically long so it stretches the table all the way down when viewing in a web browser. I need to know how to lock the finalized physical view of the swf file. Then use action scripts to scroll down and up the length inside of the window, yet keeping the outer actual pixel size locked.
I have an image gallery that loads images/text through xml, but I'm having an issue with the scolling, I need to lock the ymouse coords right now it scrolls only on the xmouse, basically I need it to work in the scrolling area only, say 400width by 200height..
I am currently building an assessment in flash using AS3. I want to have all navigation buttons visible on the main screen, including the "assessment" button where users will go to sit an assessment based on the content they just viewed.
how can I lock the assessment button until all the other pages containing the content has been viewed? A bonus would be a pop saying something like "Please view content first" appearing when they try to click it.
I'm trying to design a tablet flash applet. Does anyone know how to lock the orientation of the html embedded player player in landscape mode when it has been full screened? So far this is what I have in the html file: HTML Code: <embed src="fullScreenTest.swf" allowFullScreen="true" fullScreenOnSelection = "true" />
That did wonders for maximing the flash window, but the moment I change orientation on the tablet the flash player also changed orientation. I know there is a way of locking the orientation to landscape mode in ActionScript 3, but is there an ActionScript 2 equivalent for it?
I've got different skins on my flash site. the site becomes skinned when a user clicks a skin button and the related MC's in my movie go to the appropriate labelled frames with the .png graphics for that skin.
I pretty much just use go to and stop for that and it works great on static (non-animated MC's). I've got one situation though where my MC is animated (it slides up and out of the way to reveal content underneath).I need to be able to tell that MC to go to and stop on the correct frame and then STAY THERE! I'm having trouble figuring out how to make it stay there. At present it defaults back to its first frame whenever it is tweened (animated).
I have a simple drag and drop interface, fill in the blank type thing, and I wat to lock a specific move clip's position once it's dropped in the appropriate place. Make sense?
I've just discovered that using a stylesheet on an input textfield renders it uneditable. Does anyone one know of a work-around? Trying to build a text editor for a backend project, but it seems to have crashed before takeoff.
I've got different skins on my flash site. the site becomes skinned when a user clicks a skin button and the related MC's in my movie go to the appropriate labelled frames with the .png graphics for that skin. I pretty much just use go to and stop for that and it works great on static (non-animated MC's). I've got one situation though where my MC is animated (it slides up and out of the way to reveal content underneath). I need to be able to tell that MC to go to and stop on the correct frame and then STAY THERE! I'm having trouble figuring out how to make it stay there. At present it defaults back to its first frame whenever it is tweened (animated).
I have a simple question, but for the life of me I can't figure it out. I'm an ActionScript beginner, by the way. I have a simple drag and drop interface, fill in the blank type thing, and I wat to lock a specific move clip's position once it's dropped in the appropriate place. Make sense?
Any word on the development of Flash for 64 bit browsers? Last I saw from Adobe was a note posted over a year ago saying they were working on it. 64 bit browsers are really common now.
Flash 10.0.45.2 bug with web browsers Internet Explorer and Fire fox Mozilla. I noticed this bug recently on youtube and facebook while I was trying to watch some videos the video was not playing I had to restart my computer again to fix the issue. This is a temporary problem which could be resorted by giving a restart.But I thought of bringing this bug to notice. I agree with Steve Jobs and the Apple people that adobe flash really hangs the pc and its buggy at times