Flash :: Admin Which Feeds Images Through An Application/octet-stream
Jun 21, 2011
The situation is, this resize code has always worked for me because I was using local images. I am now using a third party admin which feeds images through an application/octet-stream.
Whereas previously, I was loading the image with the Loader::load method but I am currently using the Loader::loadBytes to load the binary data because I am being fed a stream instead of an image/jpeg.
By switching to the stream, the code now fails to get past this line:
resizedImageData.copyPixels(e.currentTarget.getChildAt(0).bitmapData, cropRect, new Point(0, 0));
[Code]...
View 1 Replies
Similar Posts:
Apr 30, 2010
I need a script that allows the user to upload a file to server, but I won't use Filereference.upload() beacause I want to send the file as "application/octet-stream" with URLLoader.load()
View 2 Replies
Jan 7, 2010
I have a flex multifile uploader which is great, it uses a php page to 'catch' the uploads. I get the file information on the php page using things like this:
Code:
//Name:
basename($_FILES['file']['name'])
//Size:
$_FILES['file']['size'][code]..........
View 1 Replies
Jan 7, 2011
I'm parsing an RSS feed successfully using the RSS Viewer Example. The output text/links is good, but the images don't seem to get parsed. I've tried several other RSS scrpts with similar results: text/titles/links but but no images, as well as other feeds sites like CNN and Google, and NASA.
RSSParser.as:
function(){return A.apply(null,[this].concat($A(arguments)))}package {
import flash.net.URLRequest;
import flash.net.URLLoader;
import flash.events.*;
[Code] .....
View 10 Replies
Nov 1, 2009
I want recieve infomation for recorded stream in FMS Server. so, i tried use Admin api(getRecordedStreams or getNetStreams). but, returned below code : NetConnection.Admin.CommandFailed .
Below my code :
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.events.*;
[code]....
View 2 Replies
Jul 22, 2011
I have a quick question relating to Actionscript 3 / AIR. I have looked through the site, but may be searching for the wrong thing or terms.Is it possible to get an application wide audio stream from an AIR application?I am trying to create a local audio file containing everything (all channels) played in an AIR app.I have tried using the SoundMixer.computeSpectrum() function, but it returns a bytearray (size 2480) full of zeros... It looks like it isn't reading the audio data correctly... I am playing a swf loaded using a SwfLoader and it is playing the sound out..
View 2 Replies
Jun 3, 2011
I have a interactive flash application where I can click on menus and do stuff with it. Is it possible to capture the whole viewport which involves expanding menus and stuff and turn it into a video stream in flash?
View 1 Replies
Oct 24, 2009
I'm about to embark on a rather large Flash project that will involve a lot of streaming video.Most of the videos are short (about 4 seconds) but some will be longer, up to a couple of minutes.The videos will be hosted on an Adobe Scene7 server, which allows for resolution and encoding-type to be set in the stream request (amazing technology that I hadn't heard of until this project!).[code]...
View 3 Replies
Nov 20, 2009
For a client, i need to write a complex application used to stream tv episodes in flash format, at least, the player will be in flash. It's a first for me, and i've a lot of question, since i don't really know about streaming.But well, first, here is the constraints :
Mac server (might be migrated to linux)
PHP5
Flash
external library could be used with PHP
What i need to do at first, is to write some app (php, python, shell), or find one to convert over 500 quicktime videos to be able to be read within a flash player.Then, i'll a back office, to add videos with meta data (the meta data will be simple html inputs), and, here is an important part of the project, the ability to generate chapters for each video (manually), the client will choose the start of a chapter, give it a name.
My questions : Is there any flash player able to do that ? or will i have to use 'playlist' such as youtube to simulate chapters ? Will it be easy to use the quicktime video within a flash player ?
View 1 Replies
Jun 3, 2010
Is there any way asp.net can access/stream web cam content without using flash or silverlight to access the web-cam?
View 1 Replies
Mar 30, 2010
I'm working with different flash movies for a client. she has several flash movies playing back to back as advertisement for different retailers. Now she wants me to add Rss Feeds for local weather on the flash movies. Now i never done this before and I'm not really that familiar with AS. I've also googled for the past hours and kept finding how to add Rss feeds to flash WEBSITES not MOVIES (.swf).
View 3 Replies
Sep 20, 2011
I am trying to insert an RSS feed into flash and struggling. Here is the code I am using:
ActionScript Code:
import flash.net.URLLoader
import flash.net.URLRequest
var rssURL:URLRequest = new URLLoader();
[Code].....
But I'm getting an error saying 'Implicit coercion of a value of type flash.net:URLLoader to an unrelated type flash.net:URLRequest'
View 9 Replies
Jan 5, 2007
i am using flash 8 with as2.can flash read and parse rss feeds? if it can can someone show me an example. Also can flash load an html page into an movie clip?
View 5 Replies
May 26, 2010
We have requirement of web conferencing in our application.Before that we also need capturing images directly frm camera and stroed into our application.I searched a lot then find that it is possible with flash media and action scripting.with that you access client system.I have never done coding in AS3 before...So donot knw how to go about?Even dnt knw how add it later in our web application.
View 3 Replies
Jan 26, 2011
When a client connects to an application (nc.connect) this is catched at server side using application.onConnect; so, when the client asks for a stream (ns.play) ... does this have some correspondence at server side ? Can we catch this event in some way?Or, seen from another point of view: is there any way, from within an application, to know what stream(s) the application is serving ? I mean, if we want the list of connected clients we have the application.clients array; is there any correspondence from streams ?
View 2 Replies
Jan 31, 2010
I want to build a Flash app that displays content from various RSS and XML feeds.Rather than import the whole data from the different feeds straight from the url into Flash (which would take forever anyway) I'm thinking of using a MySQL database to first import the numerous data feeds and then in Flash call a server side script to retreive only the data I need.
This way only data requested is loaded into flash, which is a requirement since I intend to make the flash app available on mobiles as a flashlite app - it keeps the app light and not demanding on network traffic which will ultimately cost money.
I will need to run the import periodically, perhaps once per hour.I'm not interested in building up an archive of the data since it is time specific and will be out of date, so I intend to clear out data as it expires, perhaps with a daily script.
View 0 Replies
May 4, 2006
I have a reader on my site, but it doesn't reader ATOM feeds?
View 1 Replies
Oct 21, 2010
I use FMS 3.5 and i have same problem.....the delay of live video from the studio to clients is big, 10 seconds if i restart the server. After one day of staying on, the delay reaches 1 minute or 2.
The FMS is connected to 1 Gibabyte internet fiber, and the stream is VP6, 500kbps video and 128kbps audio, 720x576 resolution. Server Quad 3.0Ghz, 4 Gb Ram.
Please help me to minimize the delay. What i must write in application.xml from live folder?????? Is there a command. I don't want to make buffer, i want the clients to receive live stream, if the stream is buffering i want to play it jumping that sequence, to maintain the live aspect,not to delay it if the clients doesn't have a good internet conection.
Let's suppose i have 1 FMS, 1 Media Encoder, and 2 computers with flash player on the same Switch ( Local area Network). I've made some tests and the delay i get is minimum 5 seconds.
View 1 Replies
Sep 14, 2011
I have a folder in my applications folder in FMS 4.0 Is it possible to stream both Live and VOD from this sames folder.
View 1 Replies
Mar 16, 2012
I'm sure this has been asked and answered a million times, but searching for "application" "buffer" "cache" "live" and "hls" isn't giving me any answers, so let's get to it. After I end a live stream (which I do using FMLE 3.2 and FMS 4.5) and I then start a new live stream with the same application name, the HLS stream just loops the last 30 seconds of the old stream. To prevent this, after I end a stream, I have to go to applicationslivepkgstreams\_definst_ and delete the buffered data there. Only then can I start a new stream with the same name as the old stream. Now... that can't be normal, can it? Is there a switch somewhere I can set to tell FMS to cut it out and stop buffering old streams?
View 1 Replies
Jun 2, 2009
When I stream an MP3 file with an embedded image, the first few seconds of the files are clipped.
I will need to find another server, or a viable workaround.
View 22 Replies
Sep 16, 2009
I have successfully been able to write some client-side ActionScript that allows me to record my webcam and mic data to my FMS server. The .flv files get saved to a directory under the applications directory. However, I need to process those flv files for a web application and would like those .flv files to be saved to the web app's directory (outside of the FMS application directory). I have tried changing the <Streams> tag in the Application.xml file that I placed in the FMS application directory, but that simply did not work.My goal is simple: to save the recorded stream data outside of the FMS application's directory. I have been going crazy trying to do this, but would like to know any pointers that any of you experts have. Can this be done? If not, how can I execute a server side PHP script after the stream is done recording. I know about using the exec() function in PHP, but am unsure as to how to execute that script via client-side actionscript.Here is the path to my FMS server (Linux OS) installation and the application directory. The application name is "ngale"./opt/adobe/fms/applications/ngaleHere is the path that my client-side ActionScript is placing the .flv files of the recorded streams/opt/adobe/fms/applications/ngale/streams/recordings/Here is the path to my web application/home/user/public_html/dev.ngale.net/public/Here is the path that I would like for the .flv recording files to be saved to/home/user/public_html/dev.ngale.net/public/audio/.flv
View 5 Replies
Nov 5, 2009
I am trying to stream images (single jpg) from webcams into a swf. I know little about actionscript, and what I have so far is from what I have found in other posts around the web. My first attempt worked, but caused a bad white flash between the image being refreshed. So from others I have learned that this will happen unless I use two movie containers and buffer in between them? Here is the code I have, and it does not work.
[Code]...
I don't get any compiler errors. I think this is as2, but I am not sure
View 0 Replies
Jan 12, 2010
My employer has a Flash Media Server that I wrote a little streaming video app for a couple years ago.Well, the videos have stopped working and I've been asked to troubleshoot. I fired up the fms_adminConsole.swf and connected to my server. Now, it's been a long time since I've messed with the server, but if I remember right, there was a big list of apps on the list on the left hand side of the "View Applications" view of the console. When I log in, there are no applications listed. If I hit the "New Instance" button under the empty list, I'm presented with a list of all the apps I think I should be seeing in the Applications list. If I select any of these, a new application instance appears in the applications list, and I'm prompted to give it a name, the default being "_definst_". If I hit enter to create this instance, it remains on the list and instance data appears on the right panel until the console refreshes, and then all that vanishes and I'm back to an empty applications list again.
Going to "Manage Servers", I do see a list of applications under the applications tab that I expect to see. The app that streams the video that's having problems is there on the list.
Is this typical behavior for the Flash Media Server Console? Shouldn't I have a list of apps in the "View Applications" section of the console? I've created about a dozen to date, and they're all listed under Manage Servers > Applications, but not under "View Applications". Can anyone point out if I'm doing something wrong here or missing something?Or can someone confirm that I SHOULD be seeing something under "View Applications" and that there is indeed something weird going on with the server.
View 2 Replies
May 26, 2010
I am trying to connect to an FMS application without flash (no SWF). To the best of my knowledge,the only way to accomplish this is thru the admin APIs, is that correct? If so, how do I return meaningful values from the admin API? I can call functions and stuff using the broadcastMsg API call but I can't seem to get back any values. All that is returned is a useless "Success" type message. I have tried using shared objects and the getSharedObjects API call, but the call doesn't return any info on the contents of the shared objects, just their names and some info on their persistance.
Is there another way of accomplishing my goal outside of the Admin API? If not how do I return meaningful variables from the Admin API? Is there a way to hack or extend the admin API?
View 2 Replies
Jul 2, 2009
We currently have an issue with in our Citrix farm with Windows 2003 Servers (x64, R2, SP1) Where Flash Flash 10,0,22,87 is installed and working fine when logged in as a Domain administrator but will not work as a normal (non administrative user) to confirm I've given a user who it did not work for Domain admin rights and it started working straight away. I'm using (and published within Citrix) the 32bit version on IE for compadibility reasons and have also tired this on a Window 2003 Server (x86 R2 SP1) and am getting the same results so I have to assume the issue is with Flash and not with my setup.
I've tried the following recommendations:Remove with Adobe Flash removal tool and Reinstalling via website with an Domain admin login using the change user /install command Remove with Adobe Flash removal tool and Reinstalling via install_flash_player_ax.exe installer with a domain admin account using the change user /install command Allowing Domain users Modify Premissions (to both the Directories and Files) to the M:WINDOWSsystem32MacromedFlashswflash.ocx & M:WINDOWSSysWOW64MacromedFlashFlash10b.ocx Following KB article [URL] and applying the premission changes recommended Following KB article [URL] and checking the registry premissions on these items I've enabled all ActiveX and Java related IE options in Group Policy to allow the to run for the Internet Zone When going to [URL] either as a Domain admin or a Regular user it confirms that "You have version 10,0,22,87 installed" Still I cant seem to get flash components of websites to load when logged in as a non Administrative User.
View 1 Replies
Jan 25, 2011
I have an AS3 swf which users can upload jpg images to my EC2 instances which sit behind and Elastic Load Balancer. The jpg images are converted into bytearray data and sent using URLLoader.load(URLRequest)I make 2 calls when uploading, one to upload a large version, then another to upload a thumbnail version. A PHP script to which the bytearray data is uploaded converts this to a file using file_put_contents($destination,$GLOBALS["HTTP_RAW_POST_DATA"])Is it possible to combine these two requests into a single request which contains both the bytearray data for the large and thumbnail images and 'split' the HTTP_RAW_POST_DATA to create 2 files at the server. This would be better than uploading the bytearray for the large version then using something like ImageMagick to resize the resulting image into a thumbnail which I realise is another option.
View 1 Replies
May 24, 2007
I have been following this tutorial quite closely, however I still can't display the <item> section of an xml RSS feed in the flash.
Here's a snippet of the feed
Code:
<rss version="2.0">
<channel>
<title>Blah</title>
<link>www.something.com</link>
[code]....
How can I display the title and the description?(I'm having trouble with the nodes part...)
View 1 Replies
Jul 15, 2010
which everything seems fine, but when i implement a slider on a page inside a folder in the root (i.e. aboutus/index.aspx) i get that error when the slider is trying to call the images.I have similar slider animations in pages located in the root folder and in those i get no problem at all, seems it only happens when the page is located inside a folder.The website is done using main.master on asp, maybe the cache or rendering of the website is missing something, hope someone has had something similar or know how to get around this.
View 2 Replies
Dec 21, 2010
I use the images in the tooltips. Images are on the server. I'm using the code:
var tip1:String;
tip1 = "<img src='assets/images/yes.jpg' align='center' width='150' height='150' hspace='3' vspace='3'/>";
tip1 += 'some text';
yes.toolTip = tip1;
But many of images are more than 100 kb, then the image in the tooltip appear with some delay. Is it possible to embed all the pictures during loading swf, to appear at once with the text when the mouse over?
View 2 Replies