How to download and unpack .ZIP folder using Adobe Air? So I have http link onto that zip file example.com/zip.zip I need a function to download it onto users hard drive and unpack it into some folder on filesystem.
How to do such thing? (code example, please)
So I created images generator (quite simple onewhich generates RGBs) I want to be able to turn some amount of images into H264 KeyFrame+dependent frames (lats say 100) So on each 100 frames generated I need to encode them into H264. How to do such thing?
Hello,
I have created a program that write video stream to a named pipe on windows, using Visual Studio C++ 2008 . how to be sequre that no one exept programms on this computer can acsess this pipe?
npipe = CreateNamedPipe("\\\\.\\pipe\\TestChannel", PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES , 1024, 1024,5000,NULL);
So all I want to stream images from my WebCam onto some local adress\port and be able to see them as MJPEG stream.
I want server (one that shares MJPEGS) and CLIENT (That sends MJPEGS) be in the same air app.
Can you give me
link to working opensource project
DETAILED STEP BY STEP instructions on what should I do\implement and where to find code examples
Why Crystal php lib turns my non english latters into "?" signs? Is there a way around it?
So it happens if I try to walidate something or just post into DB. =( I know - I can not to use Crystal at all but I want to!
What can I do to solve such problem?
is there any Simple opensource live audio streaming Server using WCF? I need it to have simple structure: it should listen to some url format like http://example.com/service/stream?write&id=ANY_STRING and if any data comes to such address format it'll start making it avaliable by something like this http://example.com/service/stream?read&id=ANY_STRING
Main thing here to be able to stream live data thru WCF service not buffering it just sharing stream.
So can please any one help me with such idea? I think not only I have seen such problem with WCF alot on different sites so answer will help the WCF comunyty alot. I hope.
BTW: I know some people say WCF is not prepared for live streaming over bacikHTTPbinding but hey! We all need it to, and we ask MS alot so some day they'll make it beter and we all want to be prepared for it.
What is an algorithm for turning one file with lots of classes to many files with one class per file? (C\C++)
So I have that file with such structure: Some includes and than lots of classes that sometimes call each other:
#include <wchar.h>
#include <stdlib.h>
//...
class PG_1 {
//...
}
class PG_2 {
//...
}
//......
class PG_N {
//...
}
So I want to create an Android app so it would be registered somewhere in android OS (or just would start on system start) and when phone user clicks on special button on a web page inside a web browser a la:
<a href="myapp://mysettings">Foo</a>
my app would pop up and run using the params sent in that URL.
So how do I do such thing?
I need a tutorial with code!
How to insert complex strings into Actionscript?
So I have a string
-vvv -I rc w:// v dv s="60x40" --ut="#scode{vcode=FV1,acode=p3,ab=128,ch=2,rate=4400}:dup{dt=st{ac=http{mime=v/x-flv},mux=mpeg{v},dt=:80/sm.fv}}"
How to insert it into code like
public var SuperPuperComplexString:String = new String();
SuperPuperComplexString = TO_THAT_COMPLEX_STRING;
That string has so many problems like some cart of it can happen to be like regexp BUTI DO NOT want it to be parsed as any kind of reg exp - I need It AS IT IS!)
How to put that strange string into variable (put it not inputing it thru UI - hardcode it into AS code)?
I have a url like http://localhost:8020/stream.flv
On request to my php sctipt I want to return (be something like a proxy) all data I can get from that URL (so I mean my php code should get data from that url and give it to user) and my header and my beginning of file.
So I have my header and some data I want to write in the beginning of response like
# content headers
header("Content-Type: video/x-flv");
header("Content-Disposition: attachment; filename=\"" . $fileName . "\"");
header("Content-Length: " . $fileSize);
# FLV file format header
if($seekPos != 0)
{
print('FLV');
print(pack('C', 1));
print(pack('C', 1));
print(pack('N', 9));
print(pack('N', 9));
}
How to do such thing?
What language is smart so that it could understand 'variable a = 0 , 20, ..., 300' ? so you could esely create arrays with it giving step start var last var (or, better no last variable (a la infinit array)) and not only for numbers (but even complex numbers...)
so I have a Track system with some kind of protection. So to get some data from any URL you have to pass protection like this http://188.134.14.27/projects/cloudobserver/login and then (in browser) you can see some pages http://188.134.14.27/projects/cloudobserver/wiki/CloudObserverCMSSetup (if you havent passed login youll get no content)
so how to login and get data from page using flash/actionscript (btw I am triing to create an rss reader)?
JQuerry data grid with items&columns drag&drop, Items sort. Is there any?
So I need Dragable\Dropable Items
Drag and drop sorting of table columns
Sort Items in columns
You can taste how sweeet is Adobe Flex builder Data Grid and Its Drag-Drap here: http://blog.flexexamples.com/2007/09/19/dragging-rows-between-two-different-flex-datagrid-controls/
Is there any JQuery analog?
So I have some class starting with
#include <wchar.h>
#include <stdlib.h>
ant there is that function wmain.
What is it different from main function i usualy use in my C classes?
I have a Div layer like this
...
<style type="text/css">
<!--
#newImg {
position:absolute;
left:180px;
top:99px;
width:704px;
height:387px;
z-index:1;
background-image:url(../Pictures/repbg.png);
background-repeat:repeat;
}
-->
</style></head>
<body>
<div id="newImg" name="newImg" ></div>
...
How to rotate it?
Could you provide example of JavaScript function for starting up application installed on your computer from a web browser (eg google chrome 4). It particular if .Net APPs have any special simplifying this process apis of out there are some libs for such staff, please share link with us.
so how to create and store in run on start up programs a small local server which would handel some local urls like http://localhost/maAppServer/MyAppCalculator/Start for starting apps that have written in its config file their names and local urls on install?
So how to start up your C# .NET app\program from web browser?