ActionScript 3.0 :: Send Main File To The Client?
Jul 27, 2010when we create a flash file with xml loaded data, do we need to supply that xml file all the time with the main file? Cant we just send main file to the client?
View 2 Replieswhen we create a flash file with xml loaded data, do we need to supply that xml file all the time with the main file? Cant we just send main file to the client?
View 2 RepliesCan we perform client to client file transfer, client to server can be done by FileReference. but how do we do client to client transfer, for example if a user wants to send file to another user to whom he is chatting online.
View 3 RepliesI have following object in the FMS
User = function(userName,userId)
{
this.userName = userName;
this.userId = userId;
}
I need to send the list of user to the client swf. Once I initialized the User object collection to an array, array element is undefined when I read it from the client.
[Code]...
I want to send an image between two client/server in Adobe AIR, is there a way to do that, and if there is then how?
View 2 RepliesI have written an ActionScript 3 class that is a Server Socket and accepts connections.I want to write a client in order to send data to the server. The client will be a mobile browser. I think that i will use javascript. Is it possible to connect to the server from mobile environment?
View 1 RepliesWith this PHP code:
<?php
$apnsHost = 'gateway.sandbox.push.apple.com';
$apnsCert = 'apns-dev.pem';
[code].....
I am trying to send info using USLStream from flash client to JAVA server.Some of the info is Chinese so i have to use Unicode.
View 1 RepliesI have the following JAX-RS service.[code]...
The JAX-RS service receives the request and respond successfully with some dummy response, but I have no access to the request.data field.
How do I access the data of the request message (which is {"type":"get_configuration","data":"some data"} in this particular example)? I think that I'm supposed to add some parameters to the handleMessage method like
public SomeResponse handleMessage(Object message) {...
but this does not work at all. The request got 415 response.
i have main movie .. in the first frame i made " loadMovie " for 2 movieclips in diffrent places on the main movie but the problem is i need to send data from one of the loaded movieclips to text in the main movie .. how to made this ..
View 1 RepliesI'm not getting the answer I'm looking for. I want to send the request data i get to the main application.
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" remove="titlewindow1_removeHandler(event)"
width="400" height="220" layout="absolute" title="USER LOGIN">
<mx:Metadata>
[Event(name="commEvent", type="flash.events.Event")]
[Code]...
I would like to send variables or parameters from Component to Main (MXML) Application. Like my component is FileUpload.mxml and would like to forward the uploaded file details from FileUpload.mxml to Main.mxml.
I tried the following procedure :
com:FileUpload id="fp"
to get the reference for the FileUpload component, however, I am unable to get the variables from the FileUpload.mxml file.
I have a movie clip within another movie clip and I want one of the objects in the embedded movie clip to end at a particular spot on the main stage.
View 1 RepliesI Have a flashmovie thats almost done and will soon hit the internet, but I want to add some animations into the website it�s two gears that I�m about to put at the bottom of the page and when a button releases in the main flashmovie the two bottom gears will turn a few frames and just stand still.These three movies are all separate (main movie, first gear and second gear).
It's a homepage designed in HTML and flash that has this "main flashmovie" in the middle of the screen, the size is about 1500(width)X800(height). And the gears is about 800wX200h placed at the left and right side bottom of the page. Dont worry the site is easy to apply to any screen resolution.I have been looking everywhere for any soul out there who suffering from the same problem but no success. Is it possible to script a button in the main movie to launch two separate movies in their own contents?
I created a menu of invisible movieclips (from a library item with the class name Invis) with buttonmode set to true so that I can have them send the playhead to different labels on the main timeline. I could use some help with determining which button is clicked and then placing code that executes depending on which button is clicked.
Here is what I have so far on frame 1 of my timeline:
This works - I get [object Invis]0,or [object Invis]1...etc in my output //window depending on which one I clicked. Just not sure what to do next
I have a background swf that has been coded so that it scales with the browser. I want to load the main swf file (main.swf) on top of this bg so that it is always centred on the page.
View 2 Repliesusing the command:
loadMovie(_root.section, _root.content);how would i work in a preloader bar?? add one to the file that is loaded into the main movie or on my main movie that is loading the file?
I have a label on my root timeline called "services". I have a services button inside a movie clip. How do I access the main time line to send it over to the page services? I'm using actionscript 3. Back in the day it would have been as simple as root.gotoandplay("services")
View 5 RepliesI have a movie clip which, when closed, should send you to a specific frame on the main timeline... I have used frame labels on the main timeline... Here is a bit of my code so far:
[Code]...
I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 RepliesI need to find a way to detect keystrokes when the flash file is not selected and send that information to an .swf file. The file would be stored locally (not on the internet).
View 3 RepliesIm pretty new with the flash -> php -> mysql thing .. And I have made a script that sends some variables (that a user inserts in some input forms) with some var names, and then php handles it and insert it into my MySQL database its kinda ugly that a page pops up and opens the php page.So I was wonderin' if there is some way to send the variables to the php file and process them inside the flash file. without openin' some fancy browser window ?
View 3 RepliesHow can I get file size at client side using actionscript and javascript.
View 3 RepliesI am looking for an stfp filebrowser, in either php, flash og as an java applet. I really dont wanna code this myself, since its really time consuming. So i was thinking if anyone know an opensource system that can do this. I know this can be very insecure, but i will only allow certain ips with certain passwords to use it.
View 1 RepliesI am trying to send a function to my SWF file via a HTML file, and every browser works fine except for Internet Explorer.The test file is supposed to animate the graph when you mouse over the word click, and come to a halt upon mousing off of it.Here is the example URL:[URL]
*** begin ***
<script type="text/javascript"> function sendToActionScript(str) { document["accelachart"].sendToActionScript(str); }</script>
<a href = "#" onmouseover="sendToActionScript('fast')" onmouseout="sendToActionScript('slow')">click</a>
[code]....
Like I said before, it works on all browsers I tested (Chrome, FireFox, Safari) except for IE (7 or 8).
I have a task to upgrade a web site. I have a map of ND with some cities on it. I needed to add a new city to the SWF which did not seem to be hard (asuming I did it correct). The action on all the buttons for each city look like this except the name after the # is the city selected.
on (release){ getURL("locations_info.html#minot", "location_content");}
In HTML code snip that controls this looked like this :
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
[Code]....
how can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.
View 1 RepliesAny tips or methods(encryption, plugins etc) to load flash files (i.e. swf) as quickly as possible at the client side? consider files size is between 5MB - 10MB....
View 3 RepliesDon't mind about the file's content, just want to know if it exists or not...
View 3 RepliesI have been looking for a way to tell what file was requested from within a VOD app when a video is played. I want to use the file name for something else but I dont want to have to send it with a second argument in connect().
Is it possible to tell what file is requested??? If so how can I do this??
I'm trying to read a xml file from client. After search for it. I have got to upload the file to the server with this code.
var imagesFilter:FileFilter = new FileFilter("*.jpg,*.gif,*.png", "*.jpg;*.gif;*.png;*.jpeg");
fileRef.browse([imagesFilter]);
But what I want to do is to read the file from client and parse it without uploading it to the server.