Flex :: Fullscreen Option For Working For A VideoDisplay Control Embedded In A HTML Page
Jun 10, 2011
If I have a flex swc emebbed in my html page, and the flex swc contains an flex 4 videoDisplay player, which has an option for fullscreen. How do I make the fullscreen work. Because when I click on fullscreen button for the videaDisplay, I get an error: [code]Connect with the people you need to get the job done. Unlike other tools, Cloud Groups lets you work with anyone, whether they're inside or outside the company firewall. Invite them into Cloud Groups to work together on projects, share files, assign tasks or catch up in real-time.
I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache. How can I force client's web explorer to reload/refresh the swf file?
I know there are ways to invoke javascript inside the html wrapper template for the flex application using ExternalInterface, but is it possible to reference an external html page?
i'm a newbie in Flex/Air. I'm developing an AIR web browser and i want to use a virtual keyboard to write in the HTML pages.it works well when i try to write in a text area, but i don't know how to write in the html page.EXAMPLE:To write in textarea, i just have to call this:textarea.text = event.keyLabel;
I'm trying to make VideoDisplay playing media with FlashDevelop. Here's the source of my application: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="[URL]"> <mx:Script> <![CDATA[ import mx.events.VideoEvent; private function pause():void { [Code] .....
The problem is when I build application and run it (unfortunately, got no idea how to run it without KMPlayer or Mozilla - Flash Player is a plugin afaik) I got no video. The movie file is in the same directory as application's "Application.flv" one. But if I reload application (within player or browser) a few times, video starts. So, here are my questions: What's wrong with VideoDisplay component and how to fix this 'non-playing'? What's the better way to execute application than running it within movie player or browser?
i have a flash inside html. now what i want is when i open the html in browser it goes fullscreen without clicking any 'full screen/normal screen' button.
Let me ask how to program an html page to move to a new web page on user's clicking an item of an embedded flash movie? But , in detail, I actually want to do a little different thing. I want that the parent html page remains there ,instead I want a child html frame has a new page after user's clicking the list item of the embedded flash movie.
i have a VideoDisplay [code]and i want to make the child inside VideoDisplay to resize with him to make his size 100%/100% (size of the child)cuz video.height and width accept only integers and ican't put % in there
I am trying to get a flash button to open full screen with the titlebar still on top. I was able to get it to work when I am using an html button, but I cant get it to work using flash.[code]
I am trying to get a flash button to open full screen with the titlebar still on top. I was able to get it to work when I am using an html button, but I cant get it to work using flash.here is what I have.
AS: on (press) getURL("javascript:openBrWindow('http://www.whiskeyparknorth.com/whiskeyparknorth/index.htm','winFeatures')"); }
I am using an embedded flash movie in my web page. I would like to show some alerts on the page when the movie has played for x seconds, pause the movie while the user views and dismisses the alert and start playing the movie again after that (or the user can press the play button, not important). The important parts being - the app being able to find out if x secs worth of movie has played, pausing the movie then and showing an alert. Is this possible using a php/javascript code within the web page? Or will I have to do this within the flash movie itself?
I am creating a Flash project for a fundraising event and tend to test it every now and again. It is an accordion menu. It is going on a html page. I want the height to be relative to the width and the width to equal 100% of the browser window. When I set the html publish settings, I set it to 100% width & height. Then I embedded a swf using the loadmovie() method. I published it again. Everything seemed to be working OK but when my menu loads with the embedded swf, it goes back to normal size (actual size of project - 450x230).
I have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.
So when that button in the flash file is clicked, I want to perform an action in the parent flex application.
I am trying to make a movie swf to load different .swf files but pressing html links in the same page it's embeded. What I got is that links are passing good a variable called 'video' to swf... Using a jscript in html page, and html links as follows:
<script language = "JavaScript"> <!-- function PassFlash(){ window.document.movie.SetVariable("video", "video.swf"); } //--> </script> <a href="#" onClick="PassFlash()">Load this video into flash please!</a>
But I think I didn't build the actionscript correctly.. I can't find the way to make the movie to load a determinated .swf using that variable...If I put a loadMovie (video, "mclipholder") and a stop (); in a frame the variable is not useful because the movie doesn't load. If I add a gotoAndPlay (1) for making the movie loop, the swf loads again and again...I want the main movie to be able to recognize when an html link is pressed (and passes the variable called 'video') and then to load the correct movie....
I want to go to a particular scene of a flash movie when the page refresh on clicking to a button for a particular page. say..I have expandable menu in flash(verticle menu) so when i click products..it should opens products page also show the submenus should not be hidden. So, if html page can tell flash to go to particular scene of a flash movie on refresh, then my problem will be solved.
i am working on a flash currency converter application, for that purpose i am fetching the latest currency rates from yahoo, i am using flash cs5 and as3, i am getting the desired response from yahoo when i run the flash file from Flash cs5 (ctrl+enter) and also after publishing (F12) by opening the html file just created by flash cs5. BUT when i am moving the html and swf file over a web server (WAMP in my case), the response from yahoo is no longer working for me, i have checked it in both localhost, and on remote server. what can be the issue? it seems so strange to me..
So I have a flash site and I am curious why it is not working in Chrome. The site works great for Safari, Firefox, and IE. Just won't work in Chrome. Well below is the code
Cut and pasted example with buttons for videodisplay control in chp 9 of Adobe Flex 3 developer guide. Having problems.
History - take avi, create flv. In my mxml, file define mx:videodisplay, refs flv file and define buttons for play and pause, all within mx:application.
Compile mxml with mxmlc to create swf. Call swf file within html using <object> and <embed>. Run html.Result is that the buutons show but the video control is black - no video.i have written mxml file as an air file (so use mx:windowedApplication) and compile with amxmlc and the resultant app runs as expected.I can also convert the flv into an swf file and run that from html but then I do not get buttons.
I just step into the task of printing jobs in as3. All I have to do is to print the text in a dynamic text field which is in a movieclip. The text filed has a scroll bar to show the rest of the content. I am using the following lines of code to print the page.
pJ.addPage(txtContainer)
I have also tried printArea and pageHeight,pageWidth, paperHeight, paperWidth properties. But still I am not able to control the margins of page.
I am working on a flash piece that is composed of one master swf that has five options/sections within it. Each option loads two separate swfs that operate at the same time. Within those swfs are url links which open in the same window, replacing the page with the flash piece on it. Is it possible to link back from the opened url in a way that will go to the frame in the main swf's timeline that will reload the relevant swfs?
I had suggested just targeting a _blank window but the person I am attempting this for doesn't want that.
I have created a textArea element but cannot display my HTML content. If I just display regular text it works or if I change the textArea element to a RichEditableText element it works fine. Since this is for a mobile app I would prefer to use the textArea element as recommended by Adobe.Here is the MXML code for the textArea. All I get is the border and no content displayed.
I have created a website which consists of pages created from flash and dreamweaver (with embedded swf navigation bar at top of webpage)Once the home page is loaded there is a button to visit the page created with DW (with embedded swf nav bar). This works fine if I run the web from my computer locally.But if I write these entire website on a CD and access all the files from CD and then try to open the same html page from the same button in IE9; it does not work. It just keep showing the progress nothing happens. Interestingly, everything works fine on google chrome browser from the CD and also works fine from the other computer with Xp and IE8. But does not work on Windows 7 with IE9 from a CD specifically.
I have also tried to use the option in DW (called "Convert active content") for that page.which added that .js file and script on the html code. even after that does not work.I have also turned on the option "run active content from the cd" internet option for IE9 and "activex filtering" is also off on the security tab of tools of IE9.
I'm working on a project where I need to make a Flex application that fills the entire browser window (note that I mean that the toolbars should be visible and all that even if I say fullscreen).To develop the SWF I'm using FlashDevelop (for the first time) and I'm stuck. When I build the project it displays no error and a file website.swf is generated.When I browse to this file with Firefox, it displays what I want and in fullscreen. However when I go to the generated index.html I get a white horizontal bar at the top of my screen (again the browser window).I've looked around a bit on the internet and found several people suggesting that the CSS should include stuff like:
<style type="text/css"> html, body { margin:0; height:100%; overflow:hidden; } body { margin:0; height:100%; width:100%;}
My Flash file is working but the html will not open and play. I've never had this issue before. I brought into Dreamweaver and saved it out hoping that might make a difference but still the same.
i created a slide show with buttons, when i test it in flash it works correctly but when i put it in a html page, it does not redirect you to the page when you click on it.
I am trying to create a "universal" swf that can be embedded in an html page and take input from an xml file. Yet the name of the xml file will not be coded into the swf which would allow xml files of various names to be used.
I'm trying to use as3's loader function thing to load images into a movieclip in my swf.
Sounds simple enough right.
The thing works pretty well by its self. but when embed the thing is embedded an html page, the swf loads up and works fine, but the images don't seem to load, and I can't understand why.
Thought maybe its some sort of navigational issue, well, the swf works fine on it's own in a web browser, even when checked on a web host. The images just don't load up when the swf is loaded up in a web page, its a little wierd, not sure what to make of it.