ActionScript 3.0 :: Dynamiclly Loading Content From A Server
May 14, 2010
I am creating a building directory for a touch screen kiosk app. this kiosk will have a virtual keyboard that i have created with an input text field, which hopefully will search a single file on the server that controls these kiosks. Then display the search results in a dynamic text field. What i would like to do is create a swf that my employer may enter there own information such as thier name, title, department, suite, and some comments... then click some sort of button that will save the information on the server... then on the kiosk end the user can type in a name, department, suite number to have the data display on the kiosk. i am using cs3/as3. i have created the virtual keyboard, and the data entry app that allows my employer to save data to the server, but for the life of me, i cannot, get my kiosk end to retrieve the data.
little stuck on a project, need as much help as possible. I am creating a building directory for a touch screen kiosk app. this kiosk will have a virtual keyboard that i have created with an input text field, which hopefully will search a single file on the server that controls these kiosks. Then display the search results in a dynamic text field. What i would like to do is create a swf that my employer may enter there own information such as thier name, title, department, suite, and some comments... then click some sort of button that will save the information on the server... then on the kiosk end the user can type in a name, department, suite number to have the data display on the kiosk. i am using cs3/as3. i have created the virtual keyboard, and the data entry app that allows my employer to save data to the server, but for the life of me, i cannot, get my kiosk end to retrieve the data.
I'm loading one SWF into another but the internal one is coming over the main content and that can't happen.here is the part of my code where the external content is being loaded anyone hason what I can do to fix this? here is my code:
Code: var loadAnimBox:Loader = new Loader(); var vid_mc:MovieClip;
I have a menu whee you can choose a picture to lead, works great with first selection, but when you choose a different picture it loads over the last picture,I want to substitute the content of that movie clip not to load all the pictures in the same space. I treid to use clear() and removeChild(), but this only works when I choose pic1 then remove that to load pic2, is there an easy way to substitute the content for the new content?
how to load external swfs into the an MC content box using movies with embedded buttons?the problem i'm running into is this: i have animated buttons within movie clips. i also have a main_content MC in my scene into which i'm trying to load background images from another file. this other file has 3 frames, each with a different image.i don't know what the action script would be for a movie/button to load my external swf frames into the main_content MC.
I seem to recall reading somewhere (but for the life of me I can't find the article I was reading), that with Adobe FMS you could store content on one machine, and then run the actual server on a separate machine. Is this correct? If so, how would you go about doing it?
Some users are unable to access any of our video content, getting a Server Not Found error.We have our FMS configured to use ports 1935, 433, 80. Our firewall is allowing RTMP traffic to each of these ports. Is there something more I can do from my end to make sure users can access our FMS?
We purchased Flash Media Streaming Server Interactive edition in order to have the security featuers of not allowing unauthorized connections streaming live content to the server. Is there a document with procedures that details how to make this happen, the allowedHTMLdomains.txt does not work when you place in IP ranges that you do not want connecting. I need some help just to figure out a way to keep someoen from connecting to the server and not streaming live content. Has anyone configured this in Linux because the documentation is mainly for Windows. Any help/advice would be great since this seems to be a common problem for anyone who runs Linux.
I will go to URL... but when the pages load the content will be read from ABC's server not XYZ's server.The users will use the data on XYZ's website not realizing that the content is actually coming from another site.
I'm building a flash application where the user can play multiple 30 sec .flv movies (one at a time) in slowmotion by pressing or holding down the left and right arrows keys.The user can hold/press "keypress right" to move to the next (key)frame and "keypress left" to move to the previous (key)frame in the .flv files.I have tested embeeding one .flv movie to the stage and it's working fine.But since I will be using many flv's I want to load the .flv's dynamiclly (on button clicks) using netstream or FLVPlayer. Would it be possible to step beetween keyframes in the same way if the .flv's are loaded dynamiclly? Or, must I embeed each .flv file into separate swf's and then dynamiclly load the swf's to my main stage?
I'm building a flash application where the user can play multiple 30 sec .flv movies (one at a time) in slowmotion by pressing or holding down the left and right arrows keys. The user can hold/press "keypress right" to move to the next frame and "keypress left" to move to the previous frame in the .flv files.
I have tested embeeding one .flv movie to the stage and it's working fine.
But since I will be using many flv's I want to load the .flv's dynamiclly (on button clicks) using netstream or FLVPlayer. Would it be possible to step beetween frames in the same way if the .flv's are loaded dynamiclly?
Or, must I embeed each .flv file into separate swf's and then dynamiclly load the swf's to my main stage?
I am an intermediate actionscripter and I am attempting to make a flash picture gallery for my sister. I want to make it so that the flash movie looks in the image directory of her server and then gets the names of those folders and displays each one of them in a separate movie clip in the flash movie. Then if the user clicked on one of those generated movie clips, it would display the pictures in that corresponding folder on the server. How would I check the names of the folders in the images directory of the server?
i am working on a desktop app and i wont it to read a file from a web server and display the info from the file xml or txt. which would give me the least amount of problems the txt file or the xml file? also i think there is a security issue doing this
I am using the load command to load content from a .txt file on my server. I have it all working just find when I preview the swf file in flash and when I view the .swf in my web browser from my server. The problem when I view the .swf file on my php page (home.php) I only get undefined variables, it seems to not be able to connect to the .txt files only when I am viewing it on my php page. Again if I view the .swf file on my server using my web browser it works fine.
Using Flash CS4 Actionscript 2 Dreamweaver CS4 Google Chrome and Opera
I need some advice integrating our content management system with FMS. We are currently using Oracle's Universal Content Management 10g and FMS 3.5.
I am able to get the test video to stream by creating a VOD streaming application in Flash (drag/drop FLVPlayback component and setting the content path to rtmp://serveraddress/vod/TestVideo). However, when I try to incorporate it into UCM the video doesn't load. I have tried checking the .swf skin, .swf video, AC_RunActiveContent .js file, and even the .html file (I have edited the .html file to reflect the new path for the uploaded .swf and .js files) and I still get nothing. I suspect that the .swf video file that creates the connection to the FMS server has something encoded into it that can't be called correctly once it's uploaded to UCM. If this was a traditional website where I could simply drag and drop the files generated by flash into the site's hierarchy, there would be no problem.
I'm loading swf file from a server. For some reason I can't access movieclips that are not instantiated on the first frame, more than this - all movieclips that are not instantiated on the first frame and have some animation inside of them, won't stop looping, like there is no stop() action inside, but it is there. And even more than this - everything works fine when i'm using other server. Both servers have crossdomain.xml file that looks the same. I don't get no crossdomain errors and no other warnings. I'm using Security.allowDomain('*') function in both files.
I am an intermediate actionscripter and I am attempting to make a flash picture gallery for my sister. I want to make it so that the flash movie looks in the image directory of her server and then gets the names of those folders and displays each one of them in a separate movie clip in the flash movie. Then if the user clicked on one of those generated movie clips, it would display the pictures in that corresponding folder on the server.r?
With AS3 and the loader class and all of that, what's the consensus on best method for loading big SWFs? I looked on the forum and saw a mix of either using the loader class and making one multi-frame swf or using a loader swf and a separate content swf.
Is it possible to load XML content from one XML file to another? In other words I would like to make a menu that can choose which XML file is being loaded into a movieclip. If so do you gus know how?
I've set up an event listener to check if an image has been loaded. If yes, then change the width and height of it. I achieved this by using .target.loader.content. It works fine on my machine, but things are different, when I upload the swf to the server. the images get loaded, but aren't resized as they were offline. What might be causing this? What changes should I do in the snippet to get it working.This is the function that is called using the eventListenerfunction setImage(evt:Event){ sig_txt.text =evt.currentTarget.content.toString(); var loader:Bitmap = evt.target.loader.content as Bitmap; gallery_mc.addChild(loader); var ratio:Number = loader.width / loader.height; loader.width = 100; loader.height = 100 / ratio; loader.y = total_height; total_height += loader.height + 20
is it possible to receive live stream at bitrate lower than that which video is being recorded with? How to accomplish that? I know that play2 from NetStream class allows to switch between recorded videos at different bitrates, but what about live content? I cannot simply set bandwidth to lower using FMS because i need to be sure that framerate won't be affected, and there are also other simultaneous streams playing .
I just had a very bad user experience here: [URL] The Loading... text appears every 1 second. Is it possible to buffer all the video content before playing it? Or at least a portion of the video content when playback, and at the same time display the percentage of video content loaded?
I have problems with Darwin Streaming server 5.5.5 on Debian.When i'm trying to open some stream, for ex.player reports it can't load stream and breaks connection."Access History" section reports file was requested, so, at least initial connection is working, but nothing more.
i have to implement flash streaming for the relaunch of our video-on-demand system but either because i haven't worked with flash-related systems before or because i'm too stupid i cannot get the system to work as it has to.
When a flash player is being hosted on https server, can I pull content to play on it from an http server. Would this work or give a mixed content warning or some other problem?
This method reads a file from server and then display its content. The file which is getting read is a log file which gets updated at regular interval. The issue is once some content read by AS then it is not getting updated that means after every execution of the function content of src variable below remains same even thou the source file is updated.
URL...This link works fine in my desktop computer, but when i try to check it with my laptop or netbook, it wont load the video thumbnails or so.It just keeps saying leniyor (loading) and gets stuck.The flash player version is the same with my desktop and laptop. I tried it over various browsers including IE, Chrome and firefox.
This below Is the typical XML we might have to change it. What I supposed to happens is when. a button I clicked the http link is activated and all this info in this but be placed in the various text windows also below.
when i click the aboutUs_btn , gotoAndStop moves me into frame 3.. trance confirms frame 3, but content in 3 does not apear on sceen. no errors reported.
here is the code
var myStage:Stage=this.stage; myStage.scaleMode=StageScaleMode.NO_SCALE; myStage.align=StageAlign.TOP_LEFT;