I ask google about this,but didn't find anything usefull. Is there a way to creat web app in flex that will convert video to flv,after that video is uploaded to the server?Can this be done with flex,if can,do I still need to install ffmpeg on server?
I need to convert a wmv to flv. I have heard that if you just use Flash import video it will cause the filesize to increase. What is the best way to convert?I have looked at lots of software both pc and mac (i prefer mac) but they all seem to be costly. Are there any free solutions?
I've got a website where the users can upload avi's, mpgs etc and I want to convert them to flash on the fly on my hosts server. Do I need special software to do this or can I do it using PHP?
Lastly, I look at facebook and the quality of their video conversion is really good. Does anyone know if they are using flash video? I know that youtube does and not really that impressed with their quality.
I'm moving a Flex 3 site to Flex 4, but when I run the application, it attempts to download a .swz file from Adobe, and gives the following error:
*** Security Sandbox Violation *** Connection to http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz halted - not permitted from http://localhost/Fl/CityGIS/main.swf Error #2048: Security sandbox violation: http://localhost/Fl/CityGIS/main.swf cannot load data from
[code]....
Following this is an attempt to download the same file from localhost.Is there a way to configure the SDK to get these files, or an issue with the configuration of my application?
Imagine you have a large number of video files stored on a server, and a Flex app which lets users play those videos they have access to. How can you best set this up? Wouldn't the Flex app just be sent the name of the video to play... in which case couldn't someone else write another flex app if they knew the file names? Can Flex play videos hosted on other sites? Is there some clever piece on the server I'm missing, which sits between the Flex video player and the files?
I am using Adobe Air to get data from SalesForce, and present it in a datagrid. I am using a query to get the data, and then put it into an arraycollection that is bound to the datagrid, this works correctly and the data is displayed. The problem is that I want to convert the Account Id in the Event to show the account Name. To do this I am using the following code:-
_serviceWrapper.query( "Select * From Event order by StartDateTime asc", new mx.rpc.Responder( eventQueryHandler, faultHandler ))} protected function eventQueryHandler(qr:ArrayCollection):void { var acctIdss:String = ""; for each(var contact:DynamicEntity in qr) { [Code] .....
This works and displays the Account Name, the problem is that when I use this script and then Sync Changes to SalesForce all the records that have been displayed are identified as needing to be syncronised even if they have only been displayed. If I skip the function eventQueryHandler, and link my query to the OnQueryResult function then there is no problem, but only the Account Id can be displayed. How can I stop Air marking these records as having changed, or is there a better way to achieve this?
Is there anything wrong with following snippet of code?
var d:Date = DateField.dateToString(myDateField.text,"DD/MM/YYYY"); testTextArea.text = d.getSeconds().toString(); Error: Implicit coercion of a value of type String to an unrelated type Date.
I'm working with several components that take color as a uint, but the colors I have are in the format of "#161616". I'm not sure what the relation between the 2 types of colors are or how to go from one to another.It doesn't have to be an actionscript solution. I have only a small number of these colors, so can be done manually too.
I want to format the currentTime displayed by a videoPlayer component inside flex, something like : 8230.999 to something like 01:59:59:999 which is "hours:minutes:seconds:milliseconds". I tried different sets of codes but they can't get it to work because currentTime is nor a correct milliseconds time as it adds a floating 3 digit point to seconds; So instead of : 2000ms it outputs 2.000
Here's the current MXML: <?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" minWidth="955" minHeight="600"> <fx:Script> [Code] .....
I have used a tool to convert a pdf to a swf but i need to be able to select and hightlight the pdf's contents. How would I do this using flex/action script?
I've faced a problem converting an Object into String in flex . my object is mydropdown selecteditem and I want to convert it to string and show it on a label tag . I've tried ".toString()" and "as String" and "String()" but none of them worked
Is there a way to create a BarChart (in the background) without adding it to the current view? I basically have a chart that I need to convert to an image and add it to a PDF report (using AlivePDF).
I am working on a flex project, where I have to load a couple of SVG files and compare their pixels. To compare the pixels, I like to convert them into a byte array (BitMapData). I am able to create a bitmap data for a PNG image, but not for a SVG image.
As some Internet tutorial suggested I've built a simple server-client application for FLV Video Player using PHP and Flex. The problem I encountered is that I can't change the source of the video in the mxml file using Notepad++. The source could be changed if I run Flex but It's not a good idea because I want to run different videos through this player.how to run different videos with this Flex Video Player component because my application works only for this given in the source of FlexPlayer.mxml-maybe I shouldn't use this mxml file for the different Video Sources?
nc = new NetConnection(); nc.connect(null); ns = new NetStream(nc);
[Code]..... but i cant get the myvideo which i recorded using red5.how can i achieve that? myvideo is stored in red5 folder under webapps/oflaDemo/streams/myvideo how to access that in order to play it?
I'm comfortable with Flash and actionscript, but relatively new to Flex. I would like to convert a mac style menu from Flash to Flex [URL] but I'm running into problem translating or a better word is figuring out a comparable component set.
How to take an existing custom component in Flex and convert it into a module? EDIT: What should be done in the mxml where this custom component is used? Should it be replaced with a to load the module? If yes, how to deal with code that uses instances of the components?
I want to extract/read the button icon image as a Flex image component, then apply transform filters to it to make it black/white and then apply image as an icon to another button. So far I can get the icon out as an Object by doing this: var iconImg:Object = myBtn.getStyle("icon"); Not sure how to convert that Object to an image.
In the 4th line in the code above i am getting "Error: Error #2030: End of file was encountered." I checked the length of the pixels object which is 4 times the width*height of the rect object. Given that setPixels() functions reads unsigned int from bytearray and sets that value to pixels, I think it should work.
But I have no clue why this wont work. The pixels object is filled after RLE decoding of the data which i get from a server.
Is there any work around or any other method which I could try to use. The loader class wont work as the data that I get from the server is not in any of the recognized format.
how to use actionscript over mxml for flexibility. I have this simple block of mxml that I'm trying to convert to actionscript, but I'm stuck half way though
I would like to be able to move images into and out of Flex by converting back and forth between ByteArrays. I've been having some trouble with this, so I designed a simple test program, and even that I can't get to work. Here's the code I'm trying right now:
[Code]...
So far the process follows top to bottom: Click button 3, image displays, everything is going well. Click button 4, and I get "Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type." after the line "loader.loadBytes(myByeArray);" in the function button4_clickHandler. As far as I can tell I'm using everything as intended.
I am trying to take images I am placing in a flex canvas component to a bitmap. I was able to get to the point where I'm not getting an error but then no image shows up and the image I save out as a jpg is blank. I imagine I'm not setting the bitmap data correctly but can't figure out what I am doing wrong.
Here is the code where I am converting it to a bitmap:
I have an ArrayCollection and each element is an instance of the TreeNode class (a custom class made by me) that has a "children" property which is an ArrayCollection of more TreeNode elements. That way, I have a tree of elements in an ArrayCollection structure:
tree = new ArrayCollection([ [new TreeNode(param1, param2, new ArrayCollection([ [new TreeNode(param1, param2, null)],
[Code]....
But my problem is: I need to have the same "tree" structure (it doens't need to be the same variable) filled with instances of another class. How can I achieve that?