ActionScript 2.0 :: Have A Folder On The Server To Put Some Random Jpegs?
Mar 14, 2004
What I'm trying to do is simple but I just can't seem to find a clear answer on how to accomplish this. I've loaded jpegs into my main movie before, but I've always created swf files of the jpegs with its own independent preloader on the first frame of the swf. This seems to work fine but it does get quite tedious having to create all of these swf's. I would like to beable to have a folder present on the server where I can just through in some random jpegs and the main movie will then show and hide a preloading bar showing the progression of the jpeg that is loading.
View 14 Replies
Similar Posts:
May 31, 2004
I wanted to know the method to do a dynamic loading of jpegs with click of a button with crossfade between the two jpegs
View 2 Replies
Sep 28, 2010
It has been a while since I worked with flash and I am picking up AS 3.0 now. I have this project that should load jpegs from a server. I found that properties like x,y position etc are accesible through the loader object and that you can add a click event to it. Let's say I want to display a list of jpegs in thumbnail format, when the user clicks on it, it should show a full size version. I am not sure what the best approach is to achieve this as I assume that when using the same loader object to download all images the click event will reference the last downloaded image, correct? Should I create a seperate class for all of this and load all images by instantiating this class for each image or is there an easier approach?
View 2 Replies
Feb 5, 2010
I'm trying out a page-flip program that tells me to create the pages as jpegs within a folder named "pages" in the Library. When I try to run it, it tells me it can't find the jpegs. I can get it to work locally by including the full URL (i.e., "...My Documentsedinnerpartiesimagesp3-large.jpg), but I know this isn't embedded in the swf file.
View 1 Replies
Nov 6, 2011
Tested versions:
4.5.
Our problem is: When we used Flash Media Developer Server 4.5 (Trial), we can use Share folder. However, when we bought Streaming Server and deployed with same file structure, we can't use Share folder but Local folder only.
Is there any limitation of using Share folder in Streaming Server?
Configuration:
It's standard. we set fms.ini in Windows.
i.e., VOD_DIR = C:Program FilesAdobeFlash Media Server 4.5applicationsvodmedia
View 1 Replies
Mar 25, 2012
Create a new folder named AudioStreams at C:Program FilesAdobeFlash Media Server 4.5applications. Open the AudioStreams folder and add a new folder named streams. Inside this folder place a new folder named _definst_ and copy the four audio files in the Exercise to the _definst_ folder. I am confused when should we create definst folder and when C:Program FilesAdobeFlash Media Server 4.5applicationslivemedia folder?
View 4 Replies
Feb 10, 2012
I am definitely horrible at ActionScript'ing. So it's taking me a while to get anywhere.
I want to use a button to trigger random sounds (.wav & .mp3) from a folder. And is it possible to do this wihout taking into account the number of sounds in the folder (since there will be many and no set number). And is it possible to this without caking the file names into consideration?
View 4 Replies
Feb 25, 2007
I have a little Flash header and each time it loads I want it to load one of six images randomly, onto the stage as a background... The images will be sitting in a folder in the same directory as the Flash file so they can easily be updated, anyone ever done this?
View 6 Replies
Feb 3, 2012
The client needs to be able to upload new videos to a folder, and the flash should load a video randomly. Is it possible to make the flash to read the folder and load a random video, without having to change the ActionScript? The number of videos on the folder may vary.
View 3 Replies
Jan 6, 2005
Firstly I aim to load random jpgs into a movieclip from a folder online. online image dir As jpgs will be constantly added to this by anyone, I will never know the file.jpg names to put into my AS. So i was advised I needed PHP to do this, (I know little about PHP) I got some space where PHP works! PHP enabled Right so at the moment I have a Movie Clip in flash with a piece of AS that says
[AS]onClipEvent (load) {
loadVariables("http://www.cppa.co.uk/t/test1.php", this, "GET");
filenames.split(":");[code]....
But when trying my php file through firefox its says (php file ."Parse error: parse error, unexpected '.' in c:websitesfreecrystalwww est1.php on line 5"
how to make this piece of PHP script send the flash the filenames of the directory, so flash can random insert on into a movie clip,
View 1 Replies
Jan 6, 2005
Firstly I aim to load random jpgs into a movieclip from a folder online. online image dir As jpgs will be constantly added to this by anyone, I will never know the file.jpg names to put into my AS. o i was advised I needed PHP to do this, (I know little about PHP) I got some space where PHP works! PHP enabled Right so at the moment I have a Movie Clip in flash with a piece of AS that says
[AS]onClipEvent (load) {
loadVariables("http://www.cppa.co.uk/t/test1.php", this, "GET");
filenames.split(":");
myRandom = random(filenames.length);
[code]....
But when trying my php file through firefox its says (php file
"Parse error: parse error, unexpected '.' in c:websitesfreecrystalwww est1.php on line 5"
So if anyone could give me any advice on how to make this piece of PHP script send the flash the filenames of the directory, so flash can random insert on into a movie clip.
View 1 Replies
Feb 5, 2009
Can I do this in AS3?
(1) add the caurina folder to the folder
(2) add Thumbnail.as to the folder
(3) add
[Code]....
View 1 Replies
May 31, 2011
when i publish my swf file from Adobe flash that time swf conneted to the server.but when i publish from my folder that time its not connected..
View 1 Replies
Mar 30, 2010
I've setup a simple DVR player using the DVRCast application and Adobe FLVPlayback 2.5 from Adobe tools. I'm able to use it to play a recorded live stream which is recorded by Flash Media Live Encoder.
I'm wandering if I can now use the DVR player to play a video within the vod application?
To start with I just want to copy the f4v file created by Live Encoder to the vod directory and then use the DVR player to play it.
View 4 Replies
Mar 22, 2011
I am building an application which runs on a user's local machine, but I want it to be able to update itself by downloading files from an FTP server. Can anyone recommend a good starting point for accomplishing this? An actionscript class or a utility / plugin or something?
View 2 Replies
Jun 23, 2009
I tried to use the following to rename and move a flv file to a different folder but it doesn't work.....I tried several combinations but can't seem to figure out how to do it.
fileObject3 = new File("streams/"+insID+"/"+stream+".flv"); fileObject3.renameTo("streams"/"adName"/"+adName+".flv");
View 3 Replies
Jul 31, 2009
Is it possible to stream from a folder other than the root streams folder...I want to stream from......... streams/user1/test.flv
View 1 Replies
Aug 18, 2009
I did an application here to record the user's webcam and store an .FLV at my applications folder. That's ok. But I want to retrive this .FLV using HTTP mode, to load the .FLV progressively, not by streaming. Got it? For example, if I record a user webcam called "myWebcam": myVideoClass.load("[URL]");
Using http (progressively), not rtmpt (streaming). There is some way to do that? Or to move the file from applications folder to webroot?
View 1 Replies
Jan 28, 2010
FMS Question about streaming from a mounted folder which has sub-folders: I have an FMS running with the following configuration:1. App named video ( duplicated as per instructions here: http://bit.ly/bgGRUI)2. VirtualDirectory set as follows[code]...
1. Player unable to play the video2. Server sees a hit but nothing streams ( see 0 bytes sreamed from log file).Since it is local, I am right now focusing on FMS, and avoiding - firewall issues ( I will have to open ports 1935, 1111 and 8134 eventually)- folder access issues ( same host: although I need to be able to mount remote folders eventually)
View 5 Replies
Mar 30, 2010
I have my server configured so that the installation is on c:, and the media files are on d:.To begin with I tested the streaming files in the original installation location and this worked.I've have now moved the vod folder - D:applications:, and updated the FMS.ini file to accordingly look for the applications folder on the D: and restarted the server.The Administration console is correctly identifying the VOD and LIVE applications in the new location, but all the streams have stopped working
View 5 Replies
Jul 20, 2010
I've got Flash Media Server 3.5 up and running on a development server and now want to start customizing the install.
The first thing I want to do is to move the applications folder to a remote server/NAS. This is a failsafe so that if for some reason the Flash Media Server goes kaput all the flv files aren't wiped as well.
Can I configure Flash Media Server so that the applications folder points to a remote network drive (via UNC paths) without causing any permissions problems? How do I do this?
View 5 Replies
Jan 14, 2012
Does anybody know how to make a folder inaccessible by direct address yet accessible to a flash file within that domain? Consider the following scenario.[URL]
View 9 Replies
Apr 10, 2007
I need to create a tool which allows the users to apply a wide range of fonts to their text. The fonts may or may not be present on the user's system. I know how to embed fonts, but the problem is that I will have to import every font to my library and set their linkage properties. that will get very cumbersome. Instead, is there any way to dynamically load fonts from a folder on the server into the flash file? Or is there a better way to achieve what i need?
View 4 Replies
Feb 9, 2004
I just want to count how many images in a folder. give me such .asp, php or any script, which can count no. of image in a folder, so that i can call that value to flash.For now, i m doing this with the text file, but i manually have to enter a value for no. of images in that text file. Instead of that, I want that my script should count no. images in that folder.
View 3 Replies
Jul 24, 2009
Actually I am the application is for recoeding live stream. The recorded videos are placing in the folder named live_test as specififed above.But I want to change this path. There is a folder named public in the root directory. In the "public" folder we have a folder named Recorded_Videos, I need to place the recorded videos on this folder. How can I do this.Another issue that occurs while recording is NetStream.Record.noAccess. This is occuring while the recorded video is placing on client's flash media server with the path that i specified above. But when i running it in the local flash media server(developer version), its working well. The recorded files are placed on live_test folder. In the client's server the stream is not recording, instead its showing an error like "NetStream.Record.noAccess". The code that I am using for recording live stream is follows:
stop();
var nc = new NetConnection();var CommPage = 'http://68.233.8.57/videos/destination';System.security.allowDomain(CommPage);
[code]....
View 3 Replies
Mar 28, 2012
We are trying to install our Adobe Flash Media Interactive Server. The problem we are facing is that Apache which comes with FMS is set to be run from /home/Apache2.2.21_x64 for some odd reason. Even though we install whole FMS to /opt/adobe/fms folder Apache still has /home/Apache2.2.21_x64 everywhere compilled in. Is there a way to change Apache root folder?
View 1 Replies
Feb 22, 2011
I have gotten the vhost to work with the owner of the applications folder set to root:rootI need to allow them access to their files by cpanel and for that to work their files have tobe owned by their user name user:user well they vhosts can't be accessed unless itsroot:roo
View 3 Replies
Mar 20, 2010
Problem1 The ***.stream file is not being created in the folder> :FMSHOMEapplicationslivepkgrevents\_definst_liveeventBUTI can see the F4F, F4X, control, meta, and bootstrap files being created in the folder>C:FMSHOMEapplicationslivepkgrstreams\_definst_livestreamAny ideas on what may be causing this and how to resolve it?Problem2Sometimes if I send multiple bitrates like livestream1, liverstream2, livestream3 I'll only see the livestream3 stream files created inthe folder C:FMSHOMEapplicationslivepkgrstreams\_definst_livestream3. No livestream1 orlivestream2 stream folder/files are created. And again the .stream file is not being
View 1 Replies
Mar 31, 2010
i am trying to create a flash movie for my browser page. i am able to import and export the movie just fine, the problem comes after i export the movie. As long as i leave the flash file in the folder it was created in things work great. If i try to move the folder or rename the folder it stops working. It acts like it cant find the flv file i created the flash with. if i rename or move the folder back where it was created things work fine.
View 2 Replies
Jul 29, 2010
i have situation in which i have some library projects, say
"DataProcessors","Lib2"
, included in my lets say "MainProject" (a web project) placed on directory
"E:in-debugMainProject.swf"
, when i build the project it automatically place all the libs .swf in its "E:in-debug" folder, but when i debug or run the project it it gives loading error that
"E:DataProcessors.swf"
not found but i have those lib files on
"E:in-debugDataProcessors.swf"..
what could be the possible errors.
View 1 Replies