FlvPlayback Skin displayheadTime/totalTime Text Modification
Hi,
I want to separate the time_txt inside the counter_mc into two objects. One displaying just the displayheadTime and the other the totalTime. I want to do this on the skin file. What my problem is I can't seem to find the part where the text is being set at all. If someone can point me to at least what file/source I should be looking at that would be deeply appreciated.
I am using CS5/FlvPlayback 2.5
Thanks
Hi folks,
Well as a last resort I did what I did with my previous post. That is to loop through the children of the skin. I wish there is a more easier way to do this. If you guys have any ideas I'll be glad to try it out.
Similar Messages
-
How to add [playheadtime / totaltime] to FLVPlayback skin
I need to add [playheadtime / totaltime] to my FLVPlayback
skin so that I can see it while the video is in fullscreen mode.
Thanks in Advance,
Siraj R Khan
[email protected]Answer: You can add your movieClip or button to FLVPlayBack
component, like i did.
uFlvPlayer.addChild(PlayTime_txt);
It works in FullScreen mode now. -
Reference to FLVPlayback Skin object
So I have a problem with the FLVPlayback. I'm using a
customized version of the SteelOverPlaySeekMute skin, and it works
very well. The only problem is, that Macromedia coded the
FLVPlayback.skinAutoHide poorly, in that it only hides when an
onRollOut is triggered for your FLVPlayback. However, if the
FLVPlayback is the same size as your Stage, this will NEVER get
triggered. I'm finding a way around this by using a MouseListener
with a setInterval to hide the controls by changing the
FLVPlayback.skin to an empty string, and then back to my custom
skin when the mouse moves again. However this is a very clunky
method of handling it, and when the skin first loads back again
after hiding, the playback handle is at the begining and then jumps
to the right position. It's kinda ugly.
So is there any way to reference my skin object so I can set
the _alpha property or something, or do I need to go and code my
own custom UI?Hi all ,
I'm totally no where by this statement :
" In Practice, a reference argument is anothercopy
y of a reference to the Orginal object "
can any one please explain me further ?In Java there are two kinds of variables. Onewhich
holds the value of a primitive (like say an int)and
another which holds a reference to an object.
Both types of variables are passed in the same wayto
methods. A copy of the content of the variable is
assigned to the method parameter. So in the case ofa
primitive it's a copy of a value and in the caseof
an object its a a copy of a reference.Sorry , But I remember I read in java all the
arguments are by Value and NOT by reference .....
Is that diff for object and primitive type ?Arguments are passed by value.
As UJ said, that value might be a primitive, or it might be a reference. A variable's value is NEVER an object in Java.
http://javadude.com/articles/passbyvalue.htm
http://java.sun.com/developer/JDCTechTips/2001/tt1009.html#tip1
http://www.javaranch.com/campfire/StoryPassBy.jsp
http://www.javaworld.com/javaworld/javaqa/2000-05/03-qa-0526-pass.html
http://www-106.ibm.com/developerworks/library/j-praxis/pr1.html
http://www.cs.toronto.edu/~dianeh/tutorials/params/
http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#38698
http://radio.javaranch.com/channel/val/2004/05/21/1085125887000.html -
Is there a way to use/fix FLVPlayback skins provided with the product?
Some of the "skins" for the FLVPlayback component cannot be used as delivered in the Flash Professional CS5 package.
For instance, if you try simply to run the .swf file: MinimaSilverPlayBackSeekCounterVolMuteFull.swf in Program Files/Adobe/Adobe Flash CS5/Common/Configuration/FLVPlayback skins/ActionScript 3.0, you get the following error message:
VerifyError: Error #1014: Class fl.video::UIManager could not be found.
Such a skin cannot be used in a published application (though it will work within the Flash IDE in Test mode).
Not all the skins have this problem. However, at least all of the Minima prefixed ones do. Of course the one I wish to use is broken. Is there a way I can fix this? If I try to publish the corresponding .fla (in FLVPlayback skins/FLA/Action Script 3.0 I get "Warning: unable to load SWC FLVPlaybackAS2.swc".Well I don't really understand the position you are taking here. Did you try to run the examples I gave?
I will be a sport, though, and back up here and explain more fully.
I had originally built a rather trivial application to experiment with the FLVPlayback component. I did this with AS-3, by the way.
As I tried different skins I found, strangely, that when I used one of the Minima ones (for instance, the one that I listed several times above), that it would run fine in the IDE in test mode, however when I ran the published application it would not run correctly. It generated instead this error message about the fl.video class not being found.
In trying to determine the cause of this, I found that this same error would be generated, just by trying to run the Minima skin (swf) in the Flash player by itself. And sure enough those skins that did NOT have the problem with my trivial app also did not generate any error when the swf was run in the Flash player.
So, as you hopefully can see, I took my application out of the equation here. The question of interest is why do some of the unmodified swf skin files generate the class not found error and can they be fixed (or is there anything I can do to fix them) so that error does not happen. I had even tried to use the original FLA file for the skin (as I described in my earlier post) and recompile it. However that caused a compile error (listed in the original post) that is indicative of some AS2 being mixed in, possibly from some sub-component.
So I guess all I was hoping for was that you would try to run the AS3 Minima...swf skin listed earlier straight from the product installation. Just run it with the Flash player. If it doesn't generate the error for you then perhaps there is something odd about my CS5 installation, or environment, or ...
If you don't want to try this, that is your perogative. Perhaps someone else can/will. Or perhaps I can submit this as a bug? (I do not know the mechanism for that)
I am not trying to be argumentative here. Rather, I have tried to isolate the issue. I don't know how else I can make this clear. -
Compositing text modifications with font size modifications for undo
Hey TLF gurus,
So here's my situation. I have a text flow. The user starts typing "The lazy brown dog..." and after each character is typed I'm modifying the font size of all the text to make it fit inside the container. Here's how I'm doing that: http://aaronhardy.com/flex/size-text-to-container/ (you can right-click the app to see the source).
That all works well, but undo isn't working so well. When I hit undo, I would like it to remove the text. But when I call undo on the undo manager, it gets to EditManager.performUndo() where it checks to see if operation.endGeneration is different than textFlow.generation. In my case, they aren't the same because I updated the font size after the last keystroke. Because they're different, the undo fails. Because I updated the font size after the last text insert, TextFlow.processModelChanged() was called and increased the text flow's generation while the insert text operation's end generation stayed the same.
Ultimately I think I want to create a composite operation that contains any text modifications with their following text auto-sizing. Either that or I want to prevent my font auto-sizing operation from affecting the text flow generation. Either way, I'm not sure how to go about pulling it off. I'm sure I can make some sweet hacks but I'd really appreciate some guidance. Thanks.
AaronI'm able to successfully merge the sizing operations with the text operations. I did it in a round-about way but afterward I found a more appropriate way: executing the ApplyFormatOperation by calling back into EditManager.doOperation when the FlowOperationEvent.FLOW_OPERATION_END event is dispatched from TextFlow (essentially making it recursive). This way the EditManager will composite the operations. This is described pretty well in the code and documentation of EditManager.doInternal(). I didn't test it, however.
Instead, for a couple reasons I decided not to go with that plan at all but instead went with my Plan B which was to prevent my font auto-sizing operation from affecting the text flow generation. I essentially want the auto-sizing to occur without it going into the undo history, modifying the text flow generation, etc., etc. I want it to go incognito. The way I did this was to store the text flow's generation, make the font size modifications, then set the text flow's generation back to what it was before the font size was applied. This may have some negative repercussions but for now I think it's the best approach for my needs.
Thanks for letting me talk to myself! Feel free to add ideas. -
Modify Flvplayback skin with counter problem
Hi
I am trying to customise a FLVPlayback Skin that has a counter in it, (MinimaFlatCustomColorPlayBackSeekCounterVolMute.fla)
If i modify any of the skins without a counter there is no problem however when i try to publish one of the skins with a counter i get these compiler errors:
Warning: unable to load SWC FLVPlaybackAS2.swc
1046 type was not found or was not compile time constant: NetstreamPlayOptions
Any ideas?
cheers
GrantHi,
Someone had found a workaround
"Just remove all from your source paths in the publish settings when you look to ActionScript 3.0 setting for your Skin FLA ! ( as default you can see here some path to video folder where is SWC files)"
but the counter prolem remains as the counter does not work in this case ...
may be someone has a better solution can reply ...
Cheers -
Non-Standard Buttons in FLVPlayback skin
I posted this before but I don't think I explained it very
well. I'm trying to add a non-standard button to my FLVPlayback
skin, but it's not showing up. Can you add new buttons (with new
functionality) to FLVPlayback skins or can you only edit the
existing ones? This should be similar to adding a logo, does anyone
have a tutorial or anything on adding a logo to an FLVPlayback
skin?Look
Here Edit the bar at the bottom of the Skin FLA, and add what
you want to that... unlock all layers, select all, then resize, add
a layer and put what you want. Then when selecting a skin for your
FLVPlayback component, select Custom Skin, and target it. -
Showing Hand cursor in FLVPlayback Skin
How can we show hand cursor in FLVPlayback Skin for Flash 9?
I have tried giving "MC.buttonMode = true" but it didnt help.
Any suggestions?
Thanks in Advance,
Siraj Khan
[email protected]Flash & Flash 9 provide you ready-made skins for
FLVPlayback component. It includes Play/Pause button, Volume bar,
Scrub, FullScreen button etc. By default when a user moves the
mouse over any of the components / buttons it doesn't show mouse
turning as hand cursor. I hope it clarifies the your doubt. Kindly
let me know if u need further clarifications.
Thanks for responding,
-Siraj -
FlvPlayback Skin Custom Button calling external function
Hi,
I have a custom movie clip in the flvplayback skin and I am looking for a way to call an external js function. This is what I got inside the skin
my_object.addEventListener(MouseEvent.CLICK, externalFunction);
function externalFunction(){
ExternalInterface.call("ExternalFunction");
Unfortunately, the ExternalFunction is not being called at all. What am I missing here?
Any help is highly appreciated. ThanksHere you go.
<div id="customEngine_Container" style="z-index: 10001; border: 0px none; width: 400px; height: 550px; position: fixed; bottom: 100px; right: 100px;">
<object width="400px" height="550px" id="customEngine_Container_o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="customEngine.swf"><param name="quality" value="high">
<param name="FlashVars" value="movieUrl=customEngine-demo-video.flv&skinUrl=customSkin.swf&width=400&height=550&">
<param name="menu" value="false"><param name="wmode" value="transparent">
<object width="400px" height="550px" id="customEngine_Container_o" type="application/x-shockwave-flash" data="customEngine.swf">
<param name="movie" value="customEngine.swf">
<param name="quality" value="high">
<param name="FlashVars" value="movieUrl=customEngine-demo-video.flv&skinUrl=customSkin.swf&width=400&height=550&">
<param name="menu" value="false"><param name="wmode" value="transparent">
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player">
</a>
</object>
</object>
</div>
May I ask, how is it relevant to AS skin calling JS? -
Custom FLVplayback skin buttons
I have searched all over the web and have found multiple site
with titles about customizing the FLVplayback skin. But they all
seem to fall short when it comes to loading a developers own
custome graphics.
Now, I might have just simply missed the boat or I am
overlooking the obvious. But I can't seem to find any examples or
details about how to use my own custom graphics created in
photoshop, and put them in place of the default graphics used in
the Flash provided skins.
I ma looking for someone to suggest a book on this subject or
link to a detailed tutorial on how this is done.
Thankserm.. You just need to grab the single buttons from the
component library and replace the graphics with your owns. It's
also explained in the help file of Flash how to do that.
If you need any help, let me know. -
Flash CS3 FlvPlayback Skin Stop Button is working as pause
Hi,
I am using the skin for FlvPlayback player I have selected the sking from given list of skin.
The issue is When I select the skin which is having Stop Button, Stop Button is not stopping the video is it just pause the video and after click of play button it should start from begining of the video which is expected bevhaviour of Stop button.
any one can help me to resolve this issue.
Thanks in advance.
SangatiYup, that is how it works. You can't control which state a button is in. So when you click on it, it will go to the down state and when you let go it will go back to over (or up if you release outside).
Not sure exactly what the "fix" is. It depends upon what you are trying to do. Generally you would need to use MovieClips instead of buttons with event handlers to tell you "button" what to do. Very few people I know actually use buttons. -
FLVplayback skin works in HTML locally, but not on a server.
I am developing a Flash based website that plays a video file using the FLVplayback component. Everything works fine locally, the paths are all relative and everything (index.html, the SWF with the FLVplayback and the skin SWF) is all in the same place. I have checked my paths and am certain they are correct.
once I upload everything to a server, my skin goes missing. Even though the video plays.
unusual? yes.
frusterating? yes.
solution? none in sight.
(sigh) I hope someone can help me here.
- JeremyHi Linda,
As a suggestion, I would try to delete the deployed version and instead of deploying ther RDL file, i would try to upload the file and test it.
If the issue exisit, then I would download the exisiting version from the reportserver and compare the xml versions of the two reports and check if the propoerty is getting over written while deploying.
HTH,
Ram
Please vote as helpful or mark as answer, if it helps -
I am creating my own skin for the FLVPlayback component. I coped an existing one, renamed it and made some changes very easily.
However, I want my player to have fewer buttons. I had a go at removing some buttons from the layout_mc but when I published I found that the buttons I had taken out were appearing in the video playback area of the stage (I'm not really surprised it didn't work because the manuels say that layout_mc isn't actually put onto the stage at runtime, its just used for working out where things will go...)
ANyway, how to I successfully delete a button such as the fast forward
thanks
EdwardHere you go.
<div id="customEngine_Container" style="z-index: 10001; border: 0px none; width: 400px; height: 550px; position: fixed; bottom: 100px; right: 100px;">
<object width="400px" height="550px" id="customEngine_Container_o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="customEngine.swf"><param name="quality" value="high">
<param name="FlashVars" value="movieUrl=customEngine-demo-video.flv&skinUrl=customSkin.swf&width=400&height=550&">
<param name="menu" value="false"><param name="wmode" value="transparent">
<object width="400px" height="550px" id="customEngine_Container_o" type="application/x-shockwave-flash" data="customEngine.swf">
<param name="movie" value="customEngine.swf">
<param name="quality" value="high">
<param name="FlashVars" value="movieUrl=customEngine-demo-video.flv&skinUrl=customSkin.swf&width=400&height=550&">
<param name="menu" value="false"><param name="wmode" value="transparent">
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player">
</a>
</object>
</object>
</div>
May I ask, how is it relevant to AS skin calling JS? -
Load FLVPlayback skin file on iOS
I have built an application which plays flv videos using the FLVPlayback 2.5 component.
It works fine on Windows, Mac and Android but on iOS it hangs when loading the skin.
I searched and found that iOS doesn't allow loading secondary SWF with code in it which is the case as the skin SWF contains as3 code.
I tried the solution here:
http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/
but didn't work for me.
I also embedded the skin SWF in the code, tried loading it and it worked in debugging with Fast Packaging using Flash Builder, but with Standard Packaging didn't, as well as when I exported a release built and ran it. I got the following message:
Does anyone have an idea what to do?
If I export the skin as .swc file and add it to my library path will it work and how can I load it? Has anyone tried it?
Thanks in advance.Any help please?
-
FLVPlayback skin position on stage resize
Hi, Got weird problem. on stage resize the skin's hit area of
FLVPlayback instance floats away from the supposed position. When
setting 100% scale to the FLVPlayback instance, it works correctly.
This happens with skinAutoHide = true.Read this artical, it helped me with the same problem. Put
the skin in the same directory as the webpage file that calls your
main movie.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=608abffd
Maybe you are looking for
-
I got a message on my phone that says Downloading do not unplug. Anyone else seen this?
I received a call and missed the call. Then went to check who called and got this message...Downloading...Do not unplug! The phone isn't even plugged in.
-
Firefox is not remembering my user name for loging into gmail.
Part of the problem is I already have one gmail account/ user name and have recently added another user name. However I have other websites where firefox remembers more than one user name. I am running on windows XP.
-
I have made a database query: try{ java.lang.Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con=DriverManager.getConnection("jdbc:oracle:abc@abc","login","pwd"); HashMap params=new HashMap(); q=new Query("CORE_SYSTEM/TRN_SHORD_DESC",tru
-
Hi, I accidentally bought the Adobe Photoshop Elements 13 & Adobe Premiere Elements 13 Student and Teacher Edition. And as I am not currently neither a teacher nor student I wont pay for a pruduct I can't use. So my question is, how do cancel that pu
-
Idea for package/procedure/function distribution ??
Hi all We have multilple databases (10.2.0.3). And we have a lot of "utility" packages for both appl. util and for DBA utils. We have created a XXXUTIL schema on each database. How do we keep those schemas in sync automatically - apart from doing exp