Flash :: Create SWF Files With PHP?
Mar 14, 2012Possible Duplicate: Customizable / Dynamic SWF generation I like to generate dynamically single SWF files. I want to include images and some tweens.
View 3 RepliesPossible Duplicate: Customizable / Dynamic SWF generation I like to generate dynamically single SWF files. I want to include images and some tweens.
View 3 RepliesI have been given the task of updating my company's website, which is written in ASP and has a menu in Flash. I am not experienced in neither technology so maybe you can help me a little bit.We have a menu in flash and just received a new one from an artist. They are pretty similar but the new one brings some new buttons. So far what I did was simply change the .fla and .swf files from my web project to the new ones. The new menu is working, but the buttons and links are messed up. For example, our website main page is called Default.aspx. In the old menu, when you clicked in 'Home' it would take you to Default.aspx. In the new one though, it tries to take you to 'index.aspx', which doesn't exist. This makes me think that the mapping of the links in the menu is something that is part of the Flash code. Am I right about this?
Now, if I am right and I need to modify the flash files to create the correct links, how the heck do I do that? Notepad++ doesn't read the .fla well. What is the best free tool that will allow me to modify a file and compile it into a .swf? I know Adobe Flash would work, but we don't want to pay anything.
I'm currently trying to find out how to create external files from a SWF/exe/app file created in Flash. Essentially I'm building a program to create templates for levels in a game. The SWF will be run locally (e.g. not online) and will allow the user to add/remove objects to a level of their design. They then need to be able to save the level template (ideally I need to be able to save as a JSON* file, but I'm sure I could get away with just a simple txt file) somewhere on their computer. These templates will them be imported by the game itself (not written in Flash, hence why I need to save the data as a json or txt file), which will then re-create the levels from the data contained in the save file.
I had assumed this would be something that was really simple to do, but I cannot seem to find any tutorials or information on how to create external files. I can find plenty on reading from existing external files, but nothing about actually writing a new file entirely. I have read a few people complaining that non-local Flash SWFs cannot access the user's hard drive for security reasons, but cannot find any information on local SWFs.
If anyone could tell me even roughly what I'm looking for, it would be greatly appreciated. I'm a bit stuck just now haha *I have downloaded the corelib files which allow me to work with JSON files
I'm using ffmpeg on Windows to create mp4 files for web distribution. As libfaac isn't available, I use libmp3lame to encode the audio tracks. The mp4 are played back with a falsh player (JWPlayer).I was wondering if there were any shortcomings to use mp3 instead of aac on certain devices?
View 1 RepliesI need to create a menu that will show all files in USB. The menu will need to auto-run when inserting the USB.
the menu need to be dynamic, so if i will add files i will see the new files in the next time that i will use the USB.
I have created a button in flash 8 to act as a play button for mp3 files on a website in drupal. I however am having trouble, since am new to ActionScript, to make the button load an external mp3 file without hardcoding it in the flash.
View 0 RepliesI am trying to create .txt file dynamically from a Flash projector exe on to the local system for a game, Wherein the score and the players name should be stored.I have tried using the Loadvariable POST method to no avail.
View 1 RepliesI'm thinking about making a game that would have 3 "save slots", so you could play the game and then load the game later. If you were to save the game, basically flash would store a list of variable values into a text file.
Let's say I have game.swf in a folder named MyGame.Also in that folder I'll have save1.txt, save2.txt, and save3.txt. If I'm loading a game, I'd want Flash to open that txt file, read the values, and then set the variables equal to that in the text file. So if you open save1.txt and you see a=1, b=3, and c=2, I'd want flash to then take those values and set it's own same variable a = 1, b = 3, and c = 2.
On the other hand, if you're saving a game, let's say a=10, b=10, and c=10, I'd like it for flash to open save1.txt and replace the text there with a list of the current variables.Flash would need to do one more thing... if for some reason the file were deleted, Flash would need to create a new txt file. If the txt file is missing, you couldn't load, but if you're trying to save to save1.txt and that file doesn't exist, I'd need flash to create a new save1.txt and then put the variables into it.
I want to create an equelizer for audio and video files in Flash/Flex.
1) Is it possible for audio files other than MP3(i.e. FLV, MP4 etc.)
2) Is it possible for video file to display equilizer?
3) I am creating a voice and video recorder application using FMS 3.5.Now is it possible to display sound equilizer while recording as well as while playing the netstream ?
I've created something that comes close.Download includes all open-source material and a manual to create your own audio-driven animations in Flash 5, and a player skinned by renascent of [URL]
View 8 RepliesI'm in the process of making a web page that'll successfully checked as XHTML 1.0 Transitional ([URL]), but as soon as I place in the fixit.js script under the flash object and view the page in IE, all the flash elements turn white. Quote:
[Code]...
Anyone knows how to place in flash files in xhtml files on IE without manually controls by clicking on the flash file.
I would like to create a movie using jpg files. The movie will work as follows: Stage is 405 by 125. 6 groups of images, each group having 5 images; last of which is a text image. the first 3 images of each group is 1/3 of the of the fourth image, in other words, it is 135 by 125 -- the fourth image is a composite of the first 3. I would like the movie to show the first image as a fade in on the stage from 1-135,
the second image as a fade in from 136-270, and the third as a fade in from 271-405. Next all three fade out and the whole image (fourth) fades in and lastly the text fades in as well.....then i would like to repeat this for the next 5 groups.... I have searched in vain for tutorials of how to get images onto the stage in various positions but do not seem to be asking for the correct info....
create a link between .swf files with buttons??
View 1 RepliesIs it possible if we have swf files contain gallery of photos and if we wanted to export it as a video files ? It's different with exporting our .Fla to .mov or .flv
So in this case, SWF --> Video files
How to create a srub that can control movie clips (SWF)? I can created a scrub bar to control FLV but was not able to create one for controlling SWF.
View 14 RepliesI have managed to create a mysql database of pictures for our website. Now can get data from the site as text and put into flash.create a scroller from these 300 or so 250x150jpg files and make them appear as though they come from our logo.
View 2 RepliesI'm trying to create a SWF that loads a series of FLV files into an array, and then plays them randomly and seamlessly one after another in a continuous, random loop.
View 4 RepliesI was wondering if it's possible to create a php script that would upload swf files and not images. I found several examples that upload images but i want swf files to be uploaded through php in mysql database.
View 4 RepliesIs it possible to create an xml slideshow that runs .swf files for my home page?and does anyone know where to find some good tutorial on creating xml slideshows that run the .swf files.
View 1 Repliesthis tutorial create augmented reality an application with 3d *.dae files.
[URL] I want to do this with video files. So, when i show the pattern to the camera, video play. How can i do this?
[Code]...
Iam trying to create a preloader for my XML files loading to my project. This tutorail is working fine. but only for one file. I need to create one preloader for all my XML files(6 XML files loading in the first frame.)
im trying to create an advert box that loads different files from urls contained in an external xml src. The code for the XML loading works well, but the rest of the code does not seem to work.
what im trying to archieve is:
1. get the list of urls from the XML file
2. trigger the loading of these files as soon as the xml file is loaded
3. loop among these files (5 in total), in a given period of time,
4. Each time they are loaded ,the loading bar should show the progress
here is my code
Code:
_root.start_load_advert = function() {
load_advert_int = setInterval(load_advert, 10000);
};
[Code].....
need to create a player to stream audio files (mp3 and other audio extentions) in my website. To create this player I used flash cs3 and actionscript3.I found actionscript 2 is easyer to creat and get duration (mysound.duration) but in ac3 I can't get sound duration with this syntext : "mySound.duration"attention : In ActionScript3 BEFORE loading is completed , I need my audio file in player to show duration and displayed minute and second in the stage.I tried so many solutions in the internet but all of them provide sound duration AFTER loading is Completed (but I need sound duration BEFORE loading is Completed)attention : My audio files are multi bitrate rang exp.(24 kbs , 34kbs , 128kbs or higher).I am trying to get audio DURATION of audio "total bytes" but these solutions just are right for only 128kbs audios.
View 1 RepliesIm character rigging so im making nested symbols.i was wondering how do i take these nested symbols and create a re-usable symbol library and import these into different files for use.
View 4 RepliesHow can I index mp3 files on user side and create a database of file name, artist name album name etc and upload them on a server?
View 1 RepliesI'm using this code to create a netstream connection, to load my external FLV-files
ActionScript Code:
var nc:NetConnection = new NetConnection;
nc.connect(null);
var ns:NetStream = new NetStream(nc);
later in my script i use this code to attach a external video in my netstream and start to play it
ActionScript Code:
_root.contentFoto.contentFoto.holder.attachVideo(ns);
ns.play("vids/" + dataList[activeSub].dataInfo[item].pic);
How do I stop that clip and unload the movie of my netstream
I installed Flash CS4 Professional trial version for school use. It wouldn't install successfully. I deleted the font files the troubleshooting guide said to, tried again, but gave up. (I'm afraid to run regedit and mess up everything else I have loaded.) (I previously had the Fireworks CS4 trial version loaded, then uninstalled it.) My problem is this- I have it running, but it saves files and then they can't be opened, even if I use the save function often- it's worse when I create the file, test the movie and then save.If I try to open it again, it says "cannot open file." Once it opened a copy I had saved, and it appeared blank, even though it was 544 kb file size. I only need it for a few more days, one more assignment and I'm afraid my previous files are corrupt. I have Windows Vista Home Edition.
View 4 Repliesi have attached a flash file.the problems are
1) i have palced 2 flash file on my web page.if i stop the sound on this file then the sound on another flash movie placed on my web page also stops.i want both the files to be independent to each other and controlled separately
2)if i click on play it shows loading.even after it loads the file it doesnt change itz status. if i click again on play then itz status changes to play.my codes for flash.....
soundUrl = "test.mp3";
// create sound object, assign properties and events
function createSoundObject(){[code].....
Is it possible to have a library of PDF documents (files in a folder), and create a splash screen in Flash, even if its a AirApplication, that can search the documents for specific words? I am trying to create a PDF search tool that I can be delivered via CD.
View 4 RepliesI'm about to start a project where there will be a Flash application where the visitor customizes a profile with externally loaded images and texts. Then the visitor needs to be able to download that profile as a dynamically created swf with all that external content baked into the swf.
View 2 Replies