Server Side :: Jpeg Preloader Form Php [flash Mx]?
Oct 30, 2003
I tried to do a search but I couldn't find anything that addressed this.I am using a premade gallery app... ImageVue Demo My client does not want images to show up bigger than the movie clip, thus needing to scroll. So I modified the code in PHP and changed the loadmovie action to imitate the thumbnail loader. Only now the loading progress is dead. Everything loads fine, just the loader dies.
I can't remember the link but I read something about a problem loading dynamic xml into a movie so I tried that solution, buffering the output. Same result. If I just change the loadmovie back and remove the php file everything works fine,Oh yeah, if I load the image just by typing in the url, it works fine, like this, only not the thumb.. direct image
Code follows...
load call...
[AS]loadMovie(("getfile.php?img="+_parent.prepath+_par ent.file + "&size=default"), _parent.mytarget);[/AS]
loader code (kinda long, I'm not sure if I should strip anything out)...
[AS]onClipEvent (enterFrame) {
myload = _parent.mytarget.getBytesLoaded();
[code]...
The big problem with testing is, since it's using a web server, and the AS isn't written for it, trying to test the movie just doesn't load the images and menu cause it can't do the php calls.
I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.
editCode sample taken from other post. Warning: it's a huuuge chunk o'code.
Basically I would like to display what my server side script sends back after I submit my form. The results need to be displayed in my scroller box. I started to write it out but I am stuck.
I want to create an application that has these features
- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.
- At server side: Manage images used in client side, I can delete, add new images.
Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?
Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
can you write and modify XML files using server-side Actionscript? I've been going through Adobe's Server-side Actionscript reference, reading up on the File class that lets you modify files on the server, and the server-side XML class that lets you read and 'understand' XML data, but can you put them together and essentially edit XML files on the server?
I can't use a proxy server. Can't use google app engine etc. I can't use server side code. No php or python. I need to be able to do logins to twitter and post status updates to twitter through an Actionscript 3 web application. The biggest thing is obviously getting around twitter's crossdomain. Is there a clean ajax version of this or something?
User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functionality? convert to html? take screenshot? assume something is running client side?...)
I am writing a thesis and have been able to place all my frameworks under two categories (client-side frameworks and server-side frameworks), but I can't seem to finf where to place Adobe Flex...In which category should I place this or should I place it in some separate catgeory?
I am making an app where people upload a bunch of images and it thumbnails them and saves them to the server. Is it better to create thumbnails from the uploaded images, or to upload them to the server then re-download the thumbnails?
I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:
The $995.00 version is listed as not supporting server side playlists. Is it possible to implement internet TV station like functionality using that version? I would like to have a list of files to play out and have it so those connected are all viewing the same thing.
We're thinking about purchasing the Flash Media Streaming Server Edition and we have some doubts after looking this edition comparision: [URL]..
1.- It says the streaming edition doesn't have server side play list. Does it mean this version doesn't come with a native application for making playlist on the server side? Could I write an AS application (As I've done with developer edition) to implement server side playlists??
2.- How about the clustering? Could we install an instance of FMS in several servers to make them work as a cluster?
What technology are better (robust, stable, speed) for rich web app with flash movies, chat, etc. Somebody said that Red5 will drop down if more that 50 users try to suck video stream from it. Is there people who use Java on server side and Flash for client side?
I saw this post and don't understand why it's so struggling to post an image to server side with flash, or is it just the poster didn't do it in a proper manner ?So far my progress is:
var ba:ByteArray = (new PNGEncoder()).encode(vidBmpHolder); var request : URLRequest = new URLRequest("http://localhost:3000/doodles"); request.method = URLRequestMethod.POST;
I have two software to create with AIR: a server and a client. Both with AS3 and AIR.I want to avoid having a big architecture with Remote Shared Object, or using BlazeDS, or having to set a Java / Python / ... server in the middle.In order to avoid having to parse socket data in the server and in the client side, I thought about using XMLSocket on the client side: the data arrives in a way which is already parsed by the Flash framework.However, when I use this XMLSocket with the AIR ServerSocket, the "connect" event returns me a raw Socket on the server side. So I have to manually manage the XML data on the server side.
Is there a way to also use an XMLSocket on the server side to communicate with the client? A kind of trick to convert the returned Socket into an XMLSocket?If there is an AS3 library which manages that, I did not find it.
In answering a question on stack overflow, one person recommended using the following code to detect flash server-side, he pointed out that it does not work in safari: if (strstr($_SERVER['HTTP_ACCEPT'], 'application/x-shockwave-flash')){ $hasFlash = true;} Testing for Flash capability on the server-side. My question: why does it not work in safari, and how reliably does it work with other browsers?
We are building a Flash application for client use but will need to do server side processing of images. All our expertise and application code is in Java, but I've been told Dot Net has better Flash support. This is general but we will be modifying large (up to 50MB) image files. The idea is that what we could do in Flash should be duplicated, automated and extended on the server side.
I'm trying to create a RTMP Streaming application but I can't seem to get the server-side code to run. I've checked the logs on RootInstaller/logs/test, but nothing inside it. I am running everything locally also.Here's what I have:
ActionScript3 file
public function btnConnectHandler(event:MouseEvent):void { nc = new NetConnection(); nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);[code].....
I am new to flash media server side scripting, i want to know that is there any tool or editor available to write server side script easily like we are doing in Adobe Flex or Flash Builder
I have a bunch of flash videos that I need to watermark with user related information, to make illegal re-distribution of these files harder.I'm wondering how can this be done server-side. If done client-side, it will be quite easy for the user to intercept the videos before they are watermarked.Since the watermark should contain user-specific information I can't really watermark the videos before encoding them (unless I have an encoded video per user - not feasible).I'm expecting this to affect the streaming performances a lot, though
I would like to use the Wordnik API for my site but I am a bit confused as I am new to the world of API's and implementing them. I do not have server side access and from what I can tell to use Wordnik you must use a server side script but I see they have Actionscript. I know that is Flash but have no experience with it. Can I use AS3 SDK to implement the Wordnik API without having server side access? If that is possible can someone point me in the right direction for learning how Actionscript works so that I may be able to do this.
Need to find a way for Flash to talk to an ASP.NET server-side script and save some product information directly from Flash into a customer shopping cart...but, how are people handling this communication between Flash and the server-side C#? I want my Flash .swf to browse products and add them to the cart from within' Flash securely. Currently people can browse / Sort the products, but how are people passing information to the Flash movie securely? How are people handling information like session variables? What are people using to use Flash as their only interface tool for logging in, or accessing their account information through a Flash interface?
I am trying to load the value of a php variable into a dynamic text field in flash mx. I am using the loadvars method, with "nameofPHPfile,"0","GET" etc. It doesn't seem to work, but then I am not sure if the php code is correct. A process of elimination is needed. Am I using the right method in flash???
I'm trying to write to a simple txt file using flash and php. After several failed attempts I decided to brake the code down to it's bare minimum and build up from there, unfortunately even that didn't work.Here's my php code.
PHP Code:
<?php
$myFile = "testFile.txt"; $fh = fopen($myFile, 'w') or die("can't open file"); $stringData = "Testing[code]....
the file it's writing to (testFile.txt) has it's access set to 777 as does the php file.I point my browser to the php file but nothing gets written to the text file. I know the server is allowing php (at least on some level) because my php mail is working perfectly.