ActionScript 2.0 :: Making Some PHP Flash Shortly To Replace Current Website?
Nov 11, 2005
I'm looking at making some PHP Flash shortly to replace my current website, http://www.mathsnotes.com. I was thinking about allowing users to download a standalone version, i.e. the SWF file or an EXE file. My question is: Will the PHP still work, or is it parsed by another entity, e.g. the users browser?
Also, I wanted to add a live news feed - So is it possible to have flash check every frame ( like a _root.onEnterFrame() = Fucntion{ ... ) the mysql database to look for anything with a timestamp less than say, 5mins, and then display it? Or does PHP require a user to do something like "Update News"?
View 5 Replies
Similar Posts:
Sep 22, 2004
I want to preload external swfs into my main movie. The most common approach to this is to load the swf into a targetmc or a specific level. This makes the current info that you can see in the targetmc to be replaced by the new swf. While the new swf is loading it leaves the targetmc blank or is replaced by a preloader. The user expericence gets interrupted in my opinion.
Now, I want a preloader that first loads the new swf and then, only then, replaces the current info in the targetmc. This makes it possible to view the current info until the new swf is fully loaded. That way you have something to do while waiting. You should be able to see a preloader bar placed, say, at the lower end of the page.
Here you see an exellent version of what I talking about: [URL]
View 2 Replies
Sep 22, 2004
I want to preload external swfs into my main movie. The most common approach to this is to load the swf into a targetmc or a specific level. This makes the current info that you can see in the targetmc to be replaced by the new swf. While the new swf is loading it leaves the targetmc blank or is replaced by a preloader. The user experience gets interrupted in my opinion. Now, I want a preloader that first loads the new swf and then, only then, replaces the current info in the targetmc. This makes it possible to view the current info until the new swf is fully loaded. That way you have something to do while waiting. You should be able to see a preloader bar placed, say, at the lower end of the page. Here you see an excellent version of what I talking about: [URL]
View 3 Replies
Nov 29, 2009
well i have developed a small website in flash 8 and i m facing some problems with it...
- the website has content (text) which is loaded externally
- the images are also called externally with the help of 'loader' component
- i have added a preloader at the beginning of my file
but still when i loaded it on the server....the images and the content is coming slowly....
load the whole file completely at the time of loading (including the external content)...?
View 4 Replies
Apr 27, 2009
Trying to make it so when you click anywhere on the flash file, it loads a specific website. It works when I go to File > Preview > Flash, but if I try and preview in html it doesn't navigate anywhere. My actionscript is:
Code:
myButton.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(e:MouseEvent):void {
[code]....
View 1 Replies
May 25, 2009
I waqs wondering if someone can point me in the direction of a good set of tutorials for making a full website in flash cs4.
View 2 Replies
Mar 5, 2005
I'm making a piece of flash used for a website banner, previously i've had very little experience with action scipt as i've made various animations only having to use simple functions such as "stop()" and i've made a never ending scrolling menu also, but now i want to have an event that "onPress" a small animation is played where the mouse clicked the banner. What would be the appropriate script to link the .swf i make to the "onPress" command? or what is the right command in general assuming it is that command
View 5 Replies
Nov 4, 2010
The photographer at this site [URL] wants me to modify the slideshow on the home page. He wants to replace some of the old photos with new ones. Can I do this with Adobe Flash CS3? If so, please point me to tutorials that will get me up to speed. Or maybe it's too difficult for a Flash newbie?
View 8 Replies
Aug 23, 2009
Let's say i have a class that simulates a 'button section'.The button bears a title. Like news. I click on it, i transfer the title in the button and the respective news to the body.The body exists outside the class. It's a textField variable. let's assume.
ActionScript Code:
public function xmlLoad()[code].....
keeps giving me an error.1067: Implicit coercion of a value of type Number to an unrelated type String.but i've seen this done before, except it was on a loader variable...but i don't see how that would be any different.
View 1 Replies
Oct 30, 2006
Ive been making a flash 8 gallery for a website and they want me to add a rating system to it so people can rate the images out of 5, 10 or whatever.
View 2 Replies
Nov 20, 2011
Well first off here is my script so far on the page:
[URL]
Using Pastie to keep amount of text on thread low to make things easier to read.
Here are the errors I get everytime I try to debug or Test Movie:
[URL]
Also maybe if you can help a bit with it heres the check list that this is graded on. Also no I am not trying to make you guys do my work for me its just he gave us this project but I have been at work (17) and unable to finish it at all. Please help I dont want a bad GPA this ending semester.[URL]
View 1 Replies
Apr 15, 2011
what im trying to do is make an interactive webssite 100% out of flash.on one of the pages in that website i would like to have one of my custom youtube players that youtube lets you make and gives you an embed code for.problem is that it is an HTML embed code.ive tried everything to get this to work and the best i could do was get the player to work in an independant .swf file but whenever i try to incorporate it into a page in my website and load it in a browser i get a security error saying that i cant let flash access youtube and i have tried everyway on google to get around that with no luck.
View 1 Replies
Jul 18, 2009
I tried the plugin that comes with Ubuntu 9.04 64Bit (from what I see that is using nswrapper and the 32Bit plugin) and also the current 64Bit Pre-Release alpha AND videos there just won't play.I only get a black screen and shortly it also displays the initialize bar. However, it won't play. It doesn't even show the control elements.This is for FireFox and for Epiphany.However, when I now click on the embed button to get a direct link for embeding the video on another site and using that URL the video will play but I believe it is a different player and a worse video quality.
View 4 Replies
Sep 3, 2011
I think I understand how to make a interface but the problem is im unsure as to how to add it to my existing code! To make a interface (as far as i know) You can create classes such as mainScreen, intructions and so on. Ok i get that, make the classes then add ther buttons from the library i these classes. But i followed a tutorial bu Emmanuel Feronto, and adapted that to the needs of my game.
So im unsure as how to add these 'Screens' to my current class, the I currently only have 1 class, Main which currently has 300 lines of code, and i dont know how to break it up into smaller classes. Thats the problem i think, The main is quite large, normally i have heard people keep this clear... But then say i made a bland main, and added the screens into that then how do i make the main that makes the game play on the play button?
View 14 Replies
May 1, 2006
I came to realize that in order to get some of the effects to happen I'd need a way to know all of the current MovieClips being used in a given section of the web site. I figure the best way to do this is to create a Class for it and let it handle registering the clips. The functionality is pretty basic with the Class able to register a MovieClip and return all the MovieClips being used up until a given point in time or access a single MovieClip.
Unfortunately I don't really know how to implement this idea. I've pulled it off using index numbers but that wasn't for MovieClips. For this I'd like to be able to access any MovieClip that has been registered already by a name, like a String maybe.
View 7 Replies
Jul 6, 2009
I have trouble making a code that automatically writes the mouse's current x and y position as text every frame.
View 3 Replies
Dec 21, 2009
making an intro for my site.Right now, it's coded in php, but I'd like to take it to flash.In the intro, (I fail at making images) I'd be making two characters that come in from off-screen and do a small fight. Then the winner gets shot with a bullet and dies.They fade out and then the site comes up.
View 1 Replies
Feb 9, 2011
I have a few questions on creating some animated buttons for a nav. There are 2 actions I want to trigger on moue over. If I want to use a static (PNG) image that I created in Photoshop for the actual button, can I use that? I want to smoothly slide button down on mouse-over and slide back up on mouse off. If I push part of the button off the "canvas" (sorry, this is coming from a Photoshop guy) will it disappear in the final animation? Another way to put that is, if I put an animated element off the white area, will it no longer show up in the movie (.swf) when it's published?
For the second part; you can see a bit of what I want to do if you look at this website's top Nav: [URL] I need the "light" above the button and it's going to be on another colored <div> so I can't set one solid BG color for my flash document. But I want to achieve the effect of the "bar" lighting up above the button and the actual button sliding down upon moue over.
View 8 Replies
Sep 16, 2009
i am making a flash website and need to know how to make the site 4 times the size of the screen and when the user gets to the edge it pans the site.
View 3 Replies
Apr 18, 2008
I'm making a website with a couple of loadMovie bits of script in. I'm loading these into empty movie clips in the .fla file, to load a photo gallery and a portfolio.
The problem I'm having is they're not keeping the individual paramaters (if thats the right term) of each .swf file (the movie it's loading)
For example, my gallery.swf requires the scroller to be at x. 29 for it to work. Dunno why, but i worked around it. However when it's loaded into the website.fla file, it's using the x and y co-ordinates of the website, as opposed to the original movie. So, if I place the empty movie clip where i want the movie to load, the scroller doesnt work. However if I place it a 0,0 it does.
With my portfolio.swf the files are not located in the root folder. But my website .fla is. It's not possible to have the files in the root folder because of the way it works. When loading the portfolio.swf on it's own the files work fine and are linked okay. But when the .swf is inside the empty movie clip on the .fla file, it's not going to the correct source, it's seaching for the files from my root folder as opposed to the portfolio folder where the .xml and sub folders are located. Changing the path it looks for doesnt help either. I tried to make it search for "portfolio/gallery.xml" (as opposed to "gallery.xml") and that made the rest of the code try to look inside a portfolio folder (so instead of "gallery/design/image1.jpg" it was looking inside "portfolio/gallery/design etc." whilst already being inside the folder).
What I want to know is, is there a piece of actionscript that will tell the loadMovie function to use the original paramters of the movie it's loading, and not intigrate them with the .fla you're working on.
View 1 Replies
Sep 21, 2010
I'm having some real trouble getting .replace to actually replace something. Here's my code...
[Code]...
I can trace both newFiles[i] and keywords[i][whatever], but the replace doesn't replace anything. The regex is valid as well. I'm using regexr to test it, and it works perfectly there... but will not for me and I don't know why.
View 4 Replies
Jun 22, 2011
I've got a strange situation where I'm replacing the text in a string that I've taken from an XML, but the .replace function for the string keeps failing. I've tried running the example given on the Adobe site, so I know the value I'm trying to replace ("%20") isn't at fault - it's something about the string I have! I've included the code below, but it seems correct. Is there a particular tip I should know when taking XML values into AS3? I'm putting them in strings for this project.
[Code]...
View 5 Replies
Nov 17, 2010
I have 2 websites both built entirely in flash.My problem is that I have created a button on 1 of the sites that has to link to a particular scene and frame within a different flash website.
View 6 Replies
Apr 14, 2011
I want to use a flash preloader for my php website. I have seen some javascript examples; but I want something attractive and cool. So I want use flash preloader which will show the percentage of the website loaded.My website is kinda heavy(with lot of images). It looks bad when the contents load. So I want to show a flash preloader while the site loads.
View 2 Replies
Feb 12, 2010
am i publishing the movie incorrectly? It works great when I preview the flash file (cntrl+enter), but after I publish it and insert it into the html (in dreamweaver), the file shows up and animates perfectly, but when clicked, no link... It doesn't do anything
View 3 Replies
Dec 13, 2011
My datagrid consist of 3 columns. If the user edit the 1st cell in the "Qty" column (e.g from 1 to 2), then the 1st cell of "Price" column will double as value (e.g from 5 to 10). How do i do that?
Qty | Description | Price
1 | apple | 5
1 | cherry | 2
1 | orange | 4
[Code].....
View 1 Replies
Aug 29, 2010
How do I replace a flash movie on a website with a quicktime movie?I don't even know where to begin.
View 2 Replies
Sep 28, 2010
How do you replace text based on a charcode?
View 1 Replies
Feb 9, 2011
In my application I have a String like this..
var str:String = "The item is [mc]";
Here i need to replace the [mc] with MovieClip Object. Is this possible?
But i could not use TLF text,because it increases the file size.
View 1 Replies
Sep 23, 2011
I want to replace an image inside of a SWF File without the need to decompile it.
View 1 Replies