IDE :: FLV Player Component - Click To View Fullscreen?

Jan 14, 2009

So I'm building a flash presentation and one slide has video. I have a flv component on the stage and the user wants the video to initially appear at a smaller size and then to click on it to launch the movie in fullscreen and to play. The playing is no problem but it doesn't want to launch fullscreen.Code below:

// VIDEO
moviePlayer_mc.fullScreenTakeOver = false;
moviePlayer_mc.addEventListener(MouseEvent.CLICK, launchFullScreen);

[code].....

View 9 Replies


Similar Posts:


Click To View Fullscreen?

Nov 25, 2009

I'm building a flash presentation and one slide has video. I have a flv component on the stage and the user wants the video to initially appear at a smaller size and then to click on it to launch the movie in fullscreen and to play. The playing is no problem but it doesn't want to launch fullscreen.[code]...

View 1 Replies

ActionScript 3.0 :: Fullscreen Button On The Playback Component, Which Will Allow The User To Toggle The Video Fullscreen?

Apr 13, 2009

I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:

Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;

Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:

Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....

View 9 Replies

Flex :: Make A Custom Component Or Extend The List Component For A 2D Top Down View MAP ?

Nov 11, 2010

I'm building a top view 2D map, that it's objects are stored on the server.The kind of objects are 10 and might be a photo, label, button, lists, mix of them or labels with tooltips.The component must request the "areas" that are missing on screen.An area is 1000x1000 px and is cached in flex.To move in the map, will be like in google maps (drag-and-drop).I should be able to have another list and move objects from one to another using drag-an-drop on objects. Ex.: I grab an objects from a list and I move it on this map, I release the mouse button and the item is placed there.Now the problem is: I build a custom component for this trying to emulate the item renderer for performance and recyclage, implement drag-and-drop on objects and request the areas that are missing?

or

I extend the List component from spark and I add some features as multiple kind of itemrenderers and use recycle on them. Of course it must be able to request the missing areas on the screen and cache it's data.Maybe create a custom layout is needed too.What I need is something that must be really fluid, so the lighter this component is, the better.

UPDATE: *There will be not any object over another.

*I will not use hitTest on bitmaps because all bitmaps are wrapped in another component,as they,for now are itemrenderers.

Anyway I already begin to do this using a class that extends the SkinnableDataContainer and a custom layout. As the layout is not like a grid, is sparse, random items at diferent points(x, y).How to get the localX and localY, relative to item renderer and not to the Spark List, from a DragEvent in Flex 4?

View 1 Replies

Javascript :: Flash To Take The View To Fullscreen?

Apr 18, 2011

I need a link to invoke a flash movie (with javascript) that takes the view to full screen, and show the page content. Exactly as if the user has pressed F11. Is there such flash movie?

Edit This is different from what the flash player does on Youtube and other video sites in that the flash movie has no content to show and after the page goes fullscreen I want the normal page content to be displayed. The only role of the flash object would be invoking the fullscreen mode.

View 2 Replies

ActionScript 3.0 :: Input Textbox Not Working In Fullscreen View?

Jul 1, 2009

I've created one form application in flash, i have fillup the form(inputbox) in normal view, its working fine. but it's not work in fullscreen viewhow do enter the text in input textbox in fullscreen mode.

View 4 Replies

Flex :: Fullscreen - View The Full Screen Mode?

Feb 27, 2012

want create a full screen mode ,so i used this link But i cannot create a full screen mode.

<mx:Script>
<![CDATA[
import mx.effects.easing.*;

[code].....

View 2 Replies

ActionScript 2.0 :: 'ENTER' Button Makes The Next Page View FULLSCREEN

Sep 7, 2004

On this site [URL], the 'ENTER' button makes the next page view FULLSCREEN. The HTML coding they used for this was:

[Code]...

Is there anyway to do this by way of actionscripting a frame in a movieclip button.

View 1 Replies

Flex :: Air - Navigate To A New View Upon Click?

Jul 6, 2011

I'm developing a flex mobile app. I've declared a Titlewindow which contains the alert message following the example of "TourdeFlex". And I failed to navigate to a new View after clicking YES button.

<fx:Script>
<![CDATA[
protected function some_handler():void
{

[code]....

This code can be successfully compiled but it was wrong during runtime:Error #1009: Cannot access a property or method of a null object reference.

View 1 Replies

Professional :: When The Autoplay Reaches The Last Item The Fullscreen Goes To "normal View"

Feb 1, 2010

I have an autoPlay gallery on flash with actionScript 2.0, and a fullscreen button, but when the autoplay reaches the last item the fullscreen goes to "normal view", why is that happening??

[Code]....

View 2 Replies

Actionscript 3 :: Creating An API For A View Component In PureMVC?

May 8, 2010

In the context of AS3 and specifically a framework such as PureMVC, what an API for a View Component means.

View 2 Replies

Actionscript 3 :: Recursive Flex View Component?

Sep 15, 2011

I have a Flex component that is a view of a data Object that recursively has a reference to itself.

For example if you had an Employee class that references a boss field of type Person, I'd like to nest the same view for that Boss. This shouldn't be an infinite recursive relationship (e.g. I'd only be viewing the boss field of each object).

I've tried creating an MXML component that references itself but when I run it locks up (seems like it gets into a recursive loop).

Is there anything you can do like includeInLayout conditions that will make sure it doesn't even instantiate that component.

View 3 Replies

ActionScript 2.0 :: Making The Simple Player Using The Player Component Preinstalled In Flash?

Jun 3, 2010

I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:

Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)

This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:

Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};

But this is not working.

PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.

View 2 Replies

ActionScript 3.0 :: Component To Allow Viewers To Scroll And View Text?

Jun 5, 2010

i need help using the list component for my text in animation. i want the component to allow viewers to scroll and view text.

View 10 Replies

Flex :: Scroller - How To Bring Contained Component Into View

Aug 28, 2009

I have lots of child text inputs within a spark Scroller. How can I make the TextInput with id of "x" come into focus if I have a..z id's, also for the scrollbar to scroll automatically to that child item? I can use x.setFocus(), but the scrollbar doesn't automatically scroll to that item? why?

<s:Scroller id="scroller" width="100%" height="100">
<s:Group id="group" width="100%" height="100" id="content">
<s:TextInput id="a" text="" editable="true" width="100%" height="25" />
<s:TextInput id="b" text="" editable="true" width="100%" height="25" />
....
</s:Group>
</s:Scroller>

View 3 Replies

Flex :: RichEditableText Component Not Completely Resetting Its View

Mar 1, 2011

I'm experiencing some strange text rendering behavior in the Spark RichEditableText component.

<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
[Code] .....

The above application simply navigates through the five sentences in the DATA array (every time the Next button is pressed). For whatever reason, RichEditableText component doesn't completely reset its view (by clearing the previous text) before setting new content. From what I can gather, this faulty rendering is somehow based on the combination of line count and relative width. I also discovered that if I set the width property of the RichEditableText component to an absolute value (say, 100) as opposed to relative (percentage, 100%) the text is rendered correctly. As far as I can see, this behavior is unintended and is, in fact, a bug.

View 1 Replies

Actionscript 3 :: Refer To A Spark View Component In Code?

Nov 12, 2011

I'm building a mobile AIR app using Flash Builder 4.5. The initial view in my views package is TestHomeView.mxml. I want to refer to it in one of my .as classes elsewhere in the app, and I'm not sure how to do that.

Theoretically I should be able to add an "id" attribute to TestHomeView.mxml, but FB gives me an error: "id is not allowed on the root tag of a component". The root tag is s:view.

The reason I need to do this is that within another class I make various calculations and then need to pass an array of values to a component in my view class. So in SomeOtherActionScriptClass.as I first assemble the array, myArray, and then in that class I want to do this:

myViewComponent.viewArray = myArray;

If I'm going to do that, I also need to import the view class into the .as class, which strikes me as weird. So is there a simple way to do what I want, or do I have to dispatch a custom event which contains the array, and listen for it in the view class?

EDIT - Based on the below MVC suggestion I did the following in model:

[Bindable]
public class Model
{
private static var myModel:Model;//doesn't let me name it 'model' because

[code].....

But it is coming back null. It isn't null when I put a breakpoint in the Model class, but when I try to access it from the view class, it's null. The model itself isn't null, but that variable is.

View 2 Replies

Flex :: Determine Which (custom) Component In A View Currently Has Focus

Nov 28, 2011

I'm currently building a Flex 4.5 mobile project including several views and custom written MXML components that can be incorporated dynamically into those views.How do I determine which component currently has focus, namely has been activated by the user tapping on it? The background for this is a global search function in the main application. Depending on the results of this search, fields in the custom components are set. Given that I don't want all components in a view to listen to the outcome of that search function, I have to check which one is currently active.I'm trying to bind the selected object (the result from the search function) to the active component.

View 1 Replies

ActionScript 3.0 :: View Source On Right Mouse Click In Browser?

Feb 24, 2010

Does Flash CS4/ AS 3.0 have the ability to publish the Flash movie and allow the user to right click in the browser and view source? I have seen this with Flex but can't seem to find a similar option in Flash.

View 1 Replies

ActionScript 2.0 :: XML Gallery - Click To View Or Hide Thumbnails

Jul 14, 2009

anyone know where i can find a AS 2 xml gallery similar to how this one works, with the slideshow, and click to view or hide thumbnails.[URL]

View 9 Replies

Flex :: Place A Tooltip On The Left Side Of A Component On View

Feb 19, 2010

Let's say I'm trying to place a tooltip on the left side of a component on my view. Layout may look similar to this:

[CODE]...

After the point is converted via contentToGlobal(), the point's x coordinate is drastically incorrect. I've found a way to workaround this by simply wrapping the target component in another HBox like this:

[CODE]....

View 1 Replies

Flex :: Eliminating The Folder Icon Of A Tree View Component

Apr 18, 2011

does anyone knows how i could just eliminate the folder icon of a tree control and display only the leaf? supposing i have an xml structure looking this :

[Code]...

View 1 Replies

ActionScript 3.0 :: Flex Accessing Applications View State From Component?

Sep 26, 2009

In Flex Builder 3, I am trying to access the main applications view state from within a component.On initialize I show the Loginpage-component. When I click the login button I want to hide the loginpage and show my "controlpanel" page, which also is a component.I try with this, and also placing this function in the main application.[code]

View 1 Replies

ActionScript 3.0 :: View Counter For Flash Media Player?

Jan 29, 2010

I have created a customized media player in flash:And now I want a view counter, much like youtube. The problem is, I don't want it to count only the visitors to my homepage, but also those how view the movie when it's embedded on somebody elses homepage.Is there a way to do this?I have tried searching the forum, but It's a bit problematic becasue I don't now what to search for.

View 1 Replies

ActionScript 2.0 :: Player Clicks On The View Leaderboard Button?

Sep 7, 2009

I am creating a game in flash and I am trying to create a leaderboard of players names and the times that they completed the game in. This is the current code:

[code]...

What I want is that when the player clicks on the View Leaderboard button, it displays a leaderboard with the top 10 or 12 performers. Their name and time (if good enough) should be displayed at the correct position on the leaderboard.This current code enters the values into the text fields after the button is clicked, however it constantly over-rides the previous score. i need something that will make all the scores display in a list and then something to sort them into order

View 1 Replies

Can't Get FLVplayback Component To Fullscreen Correctly

Sep 30, 2010

I have tried numerous things but when I insert the FLVplayback Component into flash that is linked to an external video source the fullscreen function will not work but the video plays as needed.

View 15 Replies

Actionscript 3 :: Custom Flex Component, Visual Controls In Design View?

Apr 1, 2010

Do you know how if you drag an <mx:Label> or <s:Label> component into your Flex project, when you go to design mode you get this panel on the right to set its properties like text etc.

I have a custom component that I can call with actionscript, or with mxml like this:

<comps:TheComp field1="OK" field2="Yes" />

The component takes this input and uses it for its internal operation

[Code]...

When I go to design mode, I can see the component under custom components, I can drag it to the stage and see it, but can't set its values field1 and field visually on the right like a normal <s:Label> or <mx:Label> would have. how I can add that? Do I need to make it inherit something or anything else

View 3 Replies

Flex :: Hero Spark Component - Changing View From Within Custom Itemrenderer?

Mar 22, 2011

I've made a custom list itemRenderer with 2 buttons and a label. One button deletes the list entry (and thats not the problem) the second button would change the actual view.how I can change actual view within the itemrenderer ?

View 1 Replies

Flex :: Run ClickHandlers On Buttons Moved From Main View Component To Header Bar?

Jun 7, 2011

I've used JRab's example here [URL]... to add a header menu to my app. What I'm having trouble with is executing my functions from the header mennu. For example, my firstView is appHome.mxml. It instantiates a Canvas object that has an erase(). There is a button in appHope.mxml that executes the erase() on the Canvas instance. I'm trying move the Erase button out of my appHome.mxml and into my headerMenu.mxml but don't know how to execute the erase() on the Canvas instance. The first thing I thought to try was click="{appHome.myCanvas.erase()}" but obviously that didn't work.

I asked a similar question yesterday here: Flex executing a function on another view and I accepted the answer before I tried it. The problem is that the headermenu.mxml is not a child of appHome.mxml. They are both children of the main app.mxml. Secondly, the object that has the erase() is in a separate .as class I instantiate in appHome.mxml.

View 1 Replies

Actionscript 3 :: Flex View Component To Bind To Generic Object Using Reflection

Jun 24, 2011

Does there exist a Flex view component that you could just pass it a custom object with all public fields/properties that it could reflect over and produce a basic UI view using flex components. Is it possible to use something like the Spark DataGrid with one item laid out vertically. It would only have to support:

[Code].....

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved