Load FLV into the FLVPlayback component?
I have a table of videos coming from an XML doc. Get the name of my video in the correct trace statement, I'm don't know how to load the FLV video in the player. I have an FLVPlayback component on the interface named "video". The video, I'll load will be ("' video / ' + videoArray [0]")). What is the right way in AS 3 to load this video?
You can set the source property of the component:
myPlayer.source = ' video / ' + videoArray [0];
Tags: Adobe Animate
Similar Questions
-
Help with the FLVPlayback component in Air for Android
Hi all
I am currently working on a project for an Android tablet in which I need to play a FLV video on a specific image.
To do a standard PC/Mac packadge I would use normally FLVPlayback component to load the external FLV video, I did a few times before with no real problems.
But I can't seem to get this working for the Android tablet that I'm working on.
I post the .apk file and got the .sfw of player and the FLV video file include the value, but I can't seem to load the video playback component.
Once the application is installed on the tablet of the Player bar appears but no content is never displayed.
I think it must be something to do with the path of the source I put in place for the components of reading, but once the .apk is installed I don't really know where ends the FLV video or what will be the relative path to it: S
Everyone manages to get the FLVPlayback component to work on an android Tablet?
I hope someone can help!
Thanks in advance.
I found the solution. If someone asks me. Simply change the video format. do not use flv. Yassin
-
Add time to the FLVplayback component
Hi everyone, I'm using the FLVplayback component for a project im doing. I want to add that the time elapsed and time remaining on the controls. I don't really want to create my own controls, as im happy with the flv playback component. The FLV playing in the component files is external and is loaded in via as3
Is there a quick and easy way to do this?
See you soon
Danuse:
Import fl.video.VideoEvent;
Import fl.video.MetadataEvent;var fullDuration:String = "";
function metadataReceivedF(e:MetadataEvent):void {}
fullDuration = prettyTime (vidPlayer.metadata.duration);
};
function updateF(e:VideoEvent):void {}
var paTime = vidPlayer.playheadTime;
If (fullDuration! = "") {}
time_txt. Text = prettyTime (vidPlayer.playheadTime) + "/" + fullDuration;
}
};vidPlayer.addEventListener (MetadataEvent.METADATA_RECEIVED, metadataReceivedF);
vidPlayer.addEventListener (VideoEvent.PLAYHEAD_UPDATE, updateF);function prettyTime(timeinSeconds:Number):String {}
var seconds: Number = Math.floor (timeinSeconds);
var minutes: Number = Math.floor (seconds/60);
var hours: Number = Math.floor(minutes/60);
seconds, % = 60;
% of minutes = 60;
var sec: String = seconds.toString ();
var min:String = minutes.toString ();
var hrs:String = hours.toString ();While (sec.length< 2)="">
s = '0' + seconds;
}
While (min.length< 2)="">
min = "0" + min;
}
While (hrs.length< 2)="">
h = "0" + hrs;
}
return h + ":" + min + ":" + seconds;
} -
The overview/poster set for the flvplayback component
I have been customizing the flvplayback component and have encountered a problem. So far, I created a custom look for the flvplayback component, with a play overlay button that loads the FLV file dynamically from flashvars successfully. Now, I'm trying to load in a static image that takes until the video is played. I look around the internet and in the Adobe forums, but have not found what I'm looking for. I thought that maybe the preview in the AS3 flvplayback component would help, but it won't apparently.
I was thinking myPlayer.source = "image.jpg"; but then how to change what is the source, once someone clicks on the video? I also found fl.video.VideoEvent, but I don't know how I can use this to set the image as a source, so that someone presses the play button, or until the video plays (notice that I use a play button on overlay that appears whenever the movie is paused, so once the video starts to play (, I would not want the static preview image to find once again... until someone clicks the play button of any kind)
Ideas or meanings is greatly appreciated.
I joined code how I am dynamically loading the FLV right now.The preview of the component FLVPlayback-is only a placeholder for design - which will not get exported in the final swf file unfortunately. The class itself does not posterframe features. What you need to do is to load your posterframe using the class loader as:
var pfContainer:MovieClip = new MovieClip();
addChild (pfContainer);
var pf:Loader = new Loader();
PF. Load (new URLRequest ('posterframe.jpg');
pfContainer.addChild (pf);Next, you need to define an EventListener to your FLVPlayback instance that removes the Posterframe when the video starts to play:
myPlayback.addEventListener (VideoEvent.PLAYING_STATE_ENTERED, removePF);
{removePF(e:Event):void}
removeChild (pfContainer);
}If you want to have the Posterframe reappear on break, you could hide the pf instead of remove and set up a second EventListener for VideoEvent.PAUSED_STATE_ENTERED.
-
addition of transition to the FLVPlayback component
Hi guys,.
is it possible to add transitions to the FLVPlayback component using the Transition Manager class. all I wan to do is to add the effect to the elements that go into the stage.this start can be easily done from movieClip, but is it possible to do this for the FLVPlatback component.
Thanks in advance...Hey there,
You can put your FLV inside a movieclip and then use the effect on all.B
-
Remove noise in the FLVplayback component?
How to remove the sound of "specifically" to the FLVplayback component? Given that the sound will not stop playing when I'm on a different page (assuming that if the person does not click on the pause button, and navigate to other pages)... Normally, I would add SoundMixer.stopAll (); for each button in my swf main and loaded but it stop my background music as well...
The flvplayback component is located in another swf file and the code has been added on the second frame of the movieclip call "scrollGroup.
//////////////////////////////////////////
Import fl.video.FLVPlayback;
import flash.events.Event;
var flvPlayback:FLVPlayback = new FLVPlayback();
flvPlayback.fullScreenTakeOver = false;
flvPlayback.autoPlay = false;
flvPlayback.source = "video/Listening_to_Community_Voices.f4v";
flvPlayback.skin = "MinimaFlatCustomColorPlayBackSeekCounterVolMuteFull.swf";
flvPlayback.x = 31;
flvPlayback.y = 123.8;
addChild (flvPlayback);
/////////////////////////////////////////
-
How to make the loop of the FLVPlayback component
Hello
use of the FLVPlayback component to complete an animation and I don't see anywhere in the settings, select this option, I'm sure it's an easy fix, I don't know where to look.
Thank youpublished too soon...
Mx.video import. *;
var listenerObject:Object = new Object();
listenerObject.complete = {function(eventObject:Object):Void}
my_FLVPlybk.play ();};
my_FLVPlybk.addEventListener ("complete", listenerObject);
my_FLVPlybk.contentPath = "PS Animation QT.flv"; -
HP ENVY 7640 all-in-one: print envelopes and its telling me to load paper into the photo tray
I am trying to print envelopes on the HP ENVY 7640 printer and it tells me to load paper into the photo tray. Have you encountered this problem and how to solve? Thank you.
Hey @cmm3,
Welcome to the Forums of HP Support!
I understand that you have a problem when printing envelopes from your Windows 7 computer to your HP ENVY 7640 e-all-in-one printer. I would like to help you today with correct this print error "Photo tray". To start I have to make sure that the envelope is correctly loaded in your troubleshooting paper tray. Once you have confirmed that your envelope is loaded OK we'll take a look at the envelope to print on your computer settings. Can I please you follow the steps below.
Step 1: Load the paper:
To begin troubleshooting, please click here. Once the support document opens, please select the drop down list for "load envelopes. Please see the instructions on the screen to ensure that your envelope is correctly loaded in the paper tray. Once you have confirmed that your envelope is loaded correctly, proceed to the next step.
Step 2: Check the print settings:
Below I will provide you with instructions for printing envelopes per word. You should use a different program on your computer to print envelopes, please respond to this post with the program that you are using so I can provide specific measures.
- Open Word and click mail merge to top
- Select "envelopes" in the upper left side
- A page of envelopes and labels should now open. Enter your delivery and return address.
- Select 'Options' on the lower right
- Under the tab 'Options for envelopes' to ensure that your envelope is correctly selected.
- Select the 'Print Options' tab at the top. You must now select as appropriate feeding method for your product.
- Make sure that you choose the option "Face down".
- Also ensure that 'right-hand Rotation' is selected
- At the bottom of the window, select the drop-down list of pet food
- Make sure that the feeding method is set to main tray rather then select automatically
- Press 'OK' and 'Print'.
Please reply to this message with the result of your troubleshooting. I can't wait to hear strings attached good luck!
-
How to load data into the App MVDEMO schema example
Hi all
I'm a POC on Oracle Mapviewer and try to build some reports in OBIEE using MApviewer.
This POC, I use Oracle MVDEMO example Data (11g). I think that these sample data covers few countries like the USA.
I need to make PDS for the Brazil, I downloaded data from the map of the site as Shapefiles Brazil
in these data of the Brazil, I got from .csv files 4 extensions, .dbf, .shp and SHX
I need to know how can I load these files into my Oracle 11 g DB? Should I load data into the same pattern of mvdemo, if yes then which table?
Any help will be appreciated a lot.
Thank you
Amit
Use the Java shapefile Converter utility (http://www.oracle.com/technetwork/database/options/spatialandgraph/downloads/index-093371.html)
GDAL (gdal.org) FME (Safe) or or MapBuilder.
Specify the to SRID (i.e. the SRID for loading in Oracle geoms) 4326 or 8307.
Load into a new table named anything you want. for example brazil_gadm with the geometry named GEOMETRY column
Once it's loaded, verify that there is an entry for the table and column (BRAZIL_GADM, GEOMETRY) in user_sdo_geom_metadata
Create a space on brazil_gadm.geometry index if the tool has not created a.
Add the definitions of topic for the country, State or whatever the admin areas exist in the dataset.
Import them as layers in OBIEE.
-
How to read the videos recorded using the FLVPlayback component?
Hey guys,.
I recorded video using fms and I want to play using the FLVPlayback component. I did some research but I can't find something
useful, I tried this code:
FLVPlayback.source = "rtmp://localhost/appname/instancename/video";
This code does not work. Did I do wrong or something? Can someone tell me please on track!
Thanks in advance!
Randy
You may probably want to use something like a text box can be changed in your swf file, where a path is entered could be played by the FLVPlayback component in the swf file.
-
ODI can load data into the planning and REPLACE the existing data?
Hello
ODI (9.3.1.1) can load data into the planning and REPLACE the existing data?
Currently of our ODI by "ADD" load to existing data data - so that is I accidentally run the load twice, it would be double planning numbers. I don't know how to do it to REPLACE so that running more than twice has no effect.With the help of the essbase adapter you would use a rule of load, in the State of charge, you can set whether to replace or add to existing values. It is not difficult to pass.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Hello
I am trying to load the BLOB (CSV file) into apex_application_temp_files table using the file_browse item type. I have created an example page and the added element of type file_browse, added a dynamic action, which send item to browse.
Also added a button load that submits the page. But when I check the apex_application_temp_files of APEX sql workhop table, nothing appears.
I purge file to "end of Session. Enclosed screen shot as well.
Thank you
Ankit
Hi Pierre,.
has added a dynamic action, submitting travel item.
How can you submit just the element go? How your dynamic action look like?
But when I check the apex_application_temp_files of APEX sql workhop table, nothing appears.
It is by design, because the sight of apex_application_temp_files limited to your current session. In your case at the session of constructor and not your application.
Add a process to the page that contains the item "Browse file" when you use
select * from apex_application_temp_files where name = :page item name;
to access your downloaded BLOB.
Concerning
Patrick
-
Loading XML into the relational Table data
Hello
I get a generated XML file to other tools (Windows), I am trying to create a Linux shell script that will gather the necessary XML file to my Linux server, then ask Oracle to use this file to load the XML data into a relational table. This activity and the data will be needed on an ongoing basis.
I tried two ways. First, I loaded the XML document into the database and tried to extract the data directly from the document, but it does not work. Now I want to try to read the data directly from the file on the server through select, however I don't get all the returned data. In the Select statement below, I am trying to query the data to see what is returned for my tests.
Create Table ci_results_table (transactionID Varchar2 (100), //transactionID should be PrimaryKey but became errors in test of insert, PK so deleted NULL value)
message Varchar2 (200),
This Varchar2 (50).
XMLType of the ProcessedDate,
status Varchar2 (50).
sourceFile VarChar2 (100));
Select x.*
from XMLTable)
' TSPLoadResults/results '.
PASSAGE xmltype (bfilename('CMDB_DEVADHOCRESULTS_DIR','LoadResults-HP_146.results.xml'), nls_charset_id ('AL32UTF8'))
COLUMNS
transactionID PATH Varchar2 (100) 'TransactionID '.
Result XMLType PATH 'result ',.
Message Varchar2 (200) PATH "Message."
PrimaryKey Varchar2 (50) PATH "PrimaryKey"
Date of ProcessedDate path "ProcessedDate."
Status Varchar2 (50) PATH "Status."
SourceFile VarChar2 (100) PATH "SourceFileName.
) x
;
Eventually, I'll have to build on that to limit the returned data to records where SourceFileName is like '% PA' and insert what is returned in to the ci_results_table. Attached is an example of the XML results file I am trying to load, it is named "ResultsTransformedtoUnix" because I used dos2Unix to convert Unix which can be good or bad. (I send the output file must be converted to the format BACK until the other application can read). Original (before converting Unix) file named in the script is also attached.
Help, please. Thank you!
Hello
I see some bad things in your query.
(1) obvious one, explaining why you get all the data: there is a typing error in the XQuery expression, there 'result' not'slead.
(2) ProcessedDate can be extracted as a date (at least not directly) because it actually represents a timestamp, use the TIMESTAMP WITH time ZONE HOURS and cast back to DATE data type in the SELECT clause
(3) transactionID is an attribute, it must be accessible with ' @' (or ' attribute:' axis)
(4) if the encoding of file really is ISO-8859-1 as suggested in the prologue, then do not use AL32UTF8 but the name of the corresponding character set: WE8ISO8859P1
Here is the query to work:
select x.transactionID , x.Message , x.Primarykey , cast(x.ProcessedDate as date) ProcessDate , x.Status , x.SourceFile from XMLTable( '/TSPLoadResults/Result' PASSING xmltype(bfilename('XML_DIR','LoadResults-HP_146.results.xml'), nls_charset_id('WE8ISO8859P1')) COLUMNS transactionID Varchar2(100) PATH '@transactionID', Message Varchar2(200) PATH 'Message', PrimaryKey Varchar2(50) PATH 'PrimaryKey', ProcessedDate timestamp with time zone PATH 'ProcessedDate', Status Varchar2(50) PATH 'Status', SourceFile VarChar2(100) PATH 'SourceFileName' ) x ;
Directly on the file using this query will only be decently (for large files) on 11.2.0.4 and beyond.
On older versions, first load the file into a (temporary) XMLType column with binary XML storage and CHOOSE from there.
because I used dos2Unix to convert Unix which can be good or bad.
This conversion should not be necessary.
-
Loading data into the APEX problem
Hello world...
I am new to Oracle APEX and I am facing problems loading the data into the table. My problem is the text data are load with double quotes.
Please suggest.
Thank you
SureshHello
assuming that you load the data via the UI APEX via home > SQL Workshop > utilities > data workshop > Load Data
By also provide more information like the version used, APEX how/where you download data, etc.If you put your data in a file and select ' 'Download the file (separated by commas or tabs' then on the next screen, you can field 'Optionally Enclosed By' in double quotes ("").
This should remove the double quotes of the data during the import.Concerning
Bottom -
How to load data into the table of correspondence in OIM 11 g
Hello
I have a lot of data that must be loaded into the table of choice as Codekey and decode. How can I load the data in bulk instead of manually via console Design?
Is it possible to do? No API IOM or any what SQL query
Kind regards
JSHere's what you need to get.
psLookupCode - search name,
psValue - Code key
psDescriptivevalue - DecodeKeyThe rest can be empty.
addLookupValue
void addLookupValue (java.lang.String psLookupCode,
java.lang.String psValue,
java.lang.String psDescriptiveValue,
java.lang.String psLanguage,
java.lang.String psCountry)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcInvalidLookupException,
Thor.API.Exceptions.tcInvalidValueException,
tcAPIException adds a new entry for the specified searchParameters:
psLookupCode - the Code for the definition of research
psValue - the value that will be stored in the database
psDescriptiveValue - a descriptive version of the value to be added
psLanguage - the language for the added entry. Leave blank to accept the default value (en)
psCountry - country for the specified entry. Leave blank to accept the default (US)Throws: tcAPIException tcInvalidLookupException - thrown if the search Code is no tcInvalidValueException - thrown if the value cannot be added to the list of choices (because it's a double, etc.)
M
Maybe you are looking for
-
Popups after upgrading Flash Player
The following screenshots are examples of pop ups I get after "redevelopment" Flash Player. In addition, due to virus alert, I installed MacKeeper, but did not buy it. I decided I didn't want it and followed a tutorial on Mac world to get rid of it
-
Satellite Pro U300: Low resolution on external LCD screen and a station
I've got Satellite Pro U300 and LCD HP1907v and PA3542E-2PRP - docking station. When I connect external LCD for laptop - resolution is OK (1440 x 900). But when I connect the external LCD display in a docking station - the resolution is lower(), I ca
-
Tecra S4 - sound card has suddenly stopped working
Hello I have a Tecra laptop S4 and the sound card has suddenly stopped working... It ceased to operate as last month and then started working again... but now it no longer works I am a computer tech for 14 years now... I downloaded the drivers from t
-
Reflection of purchase Satellite C855-226 - need to know more
Hi all This is my 1st msg here :) I think buying C855-226 to 529 and Saturn then offers C855 - 2 EV at 477, which is very cheap and most of the boxes ticks for me who are: price, hd capability, CPU, ram max, the thing that I dislike is the size and w
-
How can I access addresses to register FPGA of c#
When you create a file of bits FPGA, LabView also creates a .h file that contains the information to communicate to the FPGA application (for example, the signature and address of the registry). The challenge is that my application is written in c# a