ActionScript 3.0 :: Access Contents (swf Files) From LMS?
Feb 10, 2010
I am looking for a way to access contents from LMS within a Web Server by a AS3 based AIR App. I have e-learning courses setup up already in my LMS. People usually access these courses through their web browser, now I would like to create a AIR desktop App by using AS3 to access those courses in the LMS. What steps should I do in my AS3? Those course made by Flash. Is that possible that the completed AIR App can show up those courses through the AIR App instead of through web browser?
after loading an external movie clip called "mv_frame" into the main flash file , i need to access a movie clip inside the loaded movie called "hit" in as2 we do that using the point (.) to navigate into movie levels , but my question is how to do that in AS3?
My flash movie loads config.xml from the file system. Inside config.xml are urls and the base url to other xml files that I wish to load in to the flash movie.
These urls in config.xml are requested by the flash movie providing my flash movie with data. Again these are .xml files how ever they are being accessed using the network. EG " http domain dot com slash data dot xml"(i cant post links yet)
I know that I cant access both network and local files in the same movie so my question is this. What is the best way to pass in the base url dynamically to the flash movie so i can cut out config.xml?
I have built a simple Flash application that will be presented using a projector, the application will show messages in the form of questions that will come from a simple flat-file text file or XML file.
In addition to this I would also like to be able to add my own messages using a simple HTML form.
I've been looking around the web for some resources, but have been struggling to find what I am looking for. The basic idea is that the flash application will loop through these different messages from the XML, but then when a user types in a message that will also appear within these messages. Think of it as a sort of dynamic tag cloud.
I'm customizing an xml flash website and while I can handle all the html and xml well enough, but in Flash, I have no clue how to: Now go on the stage, and delete the contents of the last layer(background & pattern). Here, add from the library, the square movieclip, and name it mcBackColor(see attached image).And then to add your swf background in the "background & pattern" layer from the main.fla file.
I can change the name, but don't know how to delete just the contents of the layer and then add the new clip.I've made a slideshow before and that's all I can do.
As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
I have a .flv file that has several images in it. However, I do not have the original images. There is an image in the .flv file that is a transparent image. How am I able to copy and paste it or do whatever I can to transfer it to photoshop so that I can save it as a transparent image?
It appears there is no way to do this. It looks like I must have the original images in a .flv.
I have my main file (Main.mxml), and I have a main AS file (main.as). main.as is included by Main.mxml via <fx:Script source="main.as"/>. In main.as, I want to change the currentState of Main.mxml. How would I go about doing this?
Been tearing my hair on this problem for a couple of days.I'm trying to access a PHP file on the server to get access to a SQL database but for some reason I don't seem to get contact.[code]...
I have a flash player which play mp3 files from xml. at now mp3 files are downloadable with software like internet download manager. if i move mp3 files to out of www and change xml location attribute to '../mp3filename.mp3' player can not play mp3. my question are
1) flash file can access files out of root folder
2) what is best way to protect files from download?
The reason Ordinarily I would just host everything on the server, the swf file and images and serve them out using something like apache. However, we're working with an embedded device with hardware limitations. So we thought we could avoid this by hosting the images locally on a cd.But Flash player moans about the security settings. I know a way to overcome this would be to give the user instructions to change the global security settings- hence allowing both network and local access. But we feel that this would be too much to expect the end user to do.We want our model to work out of the box so to speak. Or as best as possible.
without explaining why, I need to run a flash slideshow from a live web page and it is for a photo exibition: The problem is that the slideshow, while running on a love site, must read the image files from the local computer that it is browsed from. If the computer is always the same and the files are in the same directory when it was developed, how would I tell flash that the files are not on the server, but on the local computer?
I have a number of actionscript 3.0 external script files in my game. They all contain functions that do various stuff like "load level buttons" and "go to selected level". I have a different external script file for each function. How do I link to those files and run the functions inside them.
I've written a content management system that writes(creates) xml files and uploads images to a directory outside of the webroot. I need to load these xml files into a flash application that resides within the webroot. The xml files contain tags that point to images that are used by the flash application.Having tested this successfully locally, I am using this directory structure:
Is it possible to access both network and local files, flash player 9/10?
Here is the situation:
I have an SWF which runs locally on the client's machine.
It communicates, via XML socket, to a C++ server.
It also needs to read some configuration files from the local file system...
c:config.xml <---> test.swf <---> C++ server
So I need the SWF to be fully trusted, as if it was ran from the Flash IDE.But I can't tell my clients to set it to be fully trusted using Adobe's Global Security Settings Panel
What I can do is alter my C++ server code, somehow granting permissions to the SWF.
There is a web game that I play and I used fiddler to see what temporary files it downloaded. While I was playing I deleted all those temporary files including the sounds and flash files. But it didn't affect the game at all. Why is that? I checked in fiddler and it doesn't look like the files were redownloaded.
Just put our new site live, and having trouble with one of the swf files playing. Using the colorbox jquery plugin throughout the site and this works fine. However a movie on [URL] (qcf engine movie) gives out a repeated javascript 'Access is denied' error everytime you close the colorbox?? Perhaps because the swf file is hosted on amazon s3, although other movies are playing fine from S3, Example: [URL] And the error: [URL]
How do I get round the following error: Access of undefined property pMatrixBack . How do I access this component from within the ascript file?[code]...
I have this situation (simplified): MC-A.swf opened from local computer (C:/) and loads MC-B.swf which is hosted on a server. When MC-B.swf is loaded, it tries to access file called "loader.swf" which is also on local computer (C:/).
When it tries to access the "loader.swf" I get the following error message: *** Security Sandbox Violation *** Connection to file:///C|/loading.swf halted - not permitted from [URL] -- Remote SWFs may not access local files.
I read discussions concerning this issue, and as I understood, I could use: System.security.allowDomain("[URL]"); to solve this problem, but it didn't work. I wouldn't like to change the loaded file to load it's resources also from the web, since it can find them on the local machine.
lod.load(new URLRequest(str2));how to unload the lod when second time i cal that function.how to over come this (*** Security Sandbox Violation ***SecurityDomain )
I had a somewhat weird setup for a site here, which goes as follows: Server A holds a SWF Server B holds a HTML document with the SWF Embedded, along with SwfAddress.js I can't seem to get any Flash-to-javascript to work here through External Interface calls. SwfAddress fails and I see this error in Firebugs Console: "Error calling method on NPObject!" This also occurs with another JS function I'm trying to call with the MouseWheel. I've set up my crossdomains and deployed all Security.allowDomain("")'s where applicable. Has anyone embedded an external SWF and had issues with AS-JS communication before??