IDE :: As3 Adding SWFAddress To Existing Flash Site?
Aug 21, 2009
I'm still a newbie in terms of as3, but have built a code-simple flash site (using CS3 & Dreamweaver). I've only just discovered SWFAddress / SWFobject / swffit and have been combing through my flash pages to implement these oh-so helpful tools. Troubled process, as it is...
I have literally spent days (not merely hours) trying to adapt various code, watching and following tutorial and trying to adapt what I find for my existing site (which is, unto itself, still in development)
I'm trying to avoid avoid using external packages and script instead on the timeline, in keeping with how the site was originally built (with hopes this would save me from having to rebuild and reorganise the structure of the timeline - there are several gallery pages and files and buttons and cross-linking). But I'll attach here just one fla ("archives.fla") that anyone whom has experience with SWFAddress might understand what I'm contending with. I've borrowed code from so many sources at this point that the script code is sure to be bungled (one top layer of the fla file, for deep linking).
I would be ever so grateful for assistance in this regard; cannot afford to pass another day trying to figure it out (I am on a deadline)...
file to big to attach; i don't believe looking at the code will be of any use without seeing the set up and references on the timeline... but i'll insert it anyway (below). is there a way to send the file to someone directly?
[Code].....
View 3 Replies
Similar Posts:
Feb 15, 2010
The index file is .php. Now I've got this little Flash animation that we want to run first, then when it's done go to his website. When I try to add it to the top of the index page all that happens is the site loads like in normally did but with the Flash movie at the top instead of being another page. What do we need to do to have it load on it's own first?
View 1 Replies
Jul 18, 2011
s there a "best way", to update an existing Flash site to action script 3?
View 7 Replies
Apr 11, 2012
My current HTML4 transitional website has several flash videos. How could I make them play in Apple devices with minimal changes? I've seen numerous threads but I've got confused. Some possible ways suggested in these threads:Identify device from request and serve another format video. Which format should be served here? I need to maintain all videos in 2 format? H.264 encoding was suggested here.HTML 5 options.
View 1 Replies
Apr 13, 2009
i just need to know about loading external sxf into an existing flash site. i used the load external code. but i just want to know about the link . how must i be. the example it like so
[Code]...
now the path where it says path how must it be. once these files are uploaded to my server. must it be like so(as above) or how the full part which is ./public_html/pics.swf
View 1 Replies
Jul 27, 2010
I'm having a problem with the flash publish method and swfaddres.I've included the javascript of the flash pubblication in a new javascript file with the swfaddress in the same page.If i use swfobject for including my flash file in the swf, swfaddress works ok...if i include the swf with the flash method swfaddress doesn't work.Here the link: http:[url]......
View 0 Replies
Feb 16, 2011
how to use SWFAddress within MCs? All the tutorials I find seem to use the maintimeline, but I need to know how to make it work within multilevel mc's, dynamicly loaded in. Ive got a working code but this one is static. Everything is working, even when i copy and paste the URL of Testpage 5 for example in the browser. how to create a dynamic way than using the switch statement.
[Code]...
View 1 Replies
Sep 26, 2010
now we all used to disable the menu until new section of our site gets animation but how do you handle user repeatedly abusing for example back button on the browser when moving though your website?
View 1 Replies
Dec 22, 2009
I have created a Flash site that I need to add another swf file to. how I can insert this other swf file into my existing website which is also a swf file? Can it be done? I've been tinkering with adding another layer and the timelines but can't seem to get it to work. The site is using AS2 but this newer swf file which I created from SlideShow Pro is using AS3.
View 1 Replies
Apr 29, 2010
when I first created my website I defined it in a random folder of my own choosing. Now, many months of construction later I want add some php related stuff and have to setup a proper local testing server.
I therefore have to move the whole thing to an htpdocs subfolder in MAMP - how can I do this so all links and filepaths etc are updated?
View 1 Replies
Jun 5, 2010
The existing site in cakephp with flash. We need to convert it into mobile version.
View 1 Replies
Mar 1, 2010
If you have a look at the link underneath, its a menu i got made at flash vortex but i want to implement it on my site and make each word a link to a seperate page, is there a way to do this?
View 1 Replies
Oct 12, 2009
adding a Paypal button to my Flash site.
View 6 Replies
May 11, 2011
I am relatively no used to flash but wanted to put a flash effect to my logo for my site. I managed to do the effect on a site I saw on the next. The effect animations I used was hue and saturation effect. Here a direct link to the logo online with the effect. Anyway I cud do that on flash n stick it to my site ? I tried hosting it to the site I did it on n it takes ages to load. [URL].
View 1 Replies
Jun 22, 2009
The timeline swf itself (the core of the site) is being loaded into a wrapper swf, as one of the requirements is that this timeline can be used elsewhere, in other projects. This wrapper, however, will have some additional visuals that pertain to a stand-alone version of this timeline. As a result of never knowing exactly where this is going to be used (either a subchapter in another flash website, or as a stand-alone site by itself), I've decided to dump all of the swfAddress code into the wrapper, in a child class of it. To handle the navigation changes, I'm dispatching custom events (from the timeline) with parameters that describe the nav changes, which gets picked up by the parent wrapper, which then calls a function in the swfAddress child class for handling.
Also done in this swfAddress class is the parsing of the URL onChange event (when a browser back button button or history changes the nav, rather than a Flash button). This, too, dispatches an event with info about the parsed URL, which the wrapper is picking up and then calling a function in the timeline's API to make the necessary changes.
[Code]...
View 4 Replies
Apr 23, 2009
how i can add text to an existing file instead of overwriting it... ive got this far... string filePath = "C:\tex1.txt"; StreamWriter foo; if (File.Exists(filePath)) { // File exists // Don't do anything.} else {// File does not exist foo = new StreamWriter(filePath); foo.Write("Blarg. Zorb. Zeeb. Foo."); foo.Close();}
View 1 Replies
Oct 22, 2009
I am a newbie and been developing this menu that is XML driven and uses an External AS file for the script, so there is no AS on the timeline, it is all external. The Preloader. I found this preloader from here: [URL] which I have been trying to build into my movie, but with no joy! I don't understand how to add a preloader when you have external script, there is going to image directly on the stage, which is what the preloader would be loading.
Basically all I would like to do is add a simple percentage count for the preloader, a loading bar also would be great, but if not ,thats ok. The problem I have is when I put the preloader script into my existing menu all hell breaks loose. Below is a link to my menu files and also attached the AS script file, if that is better? Link to menu files: [URL]
Attachments: Main.zip (1.5 K)
View 1 Replies
Aug 30, 2010
If I already have an existing movie, what is the best way to add a preloader to this movie?I have 1 frame with a few layers right now. Then, I have some movie clips on frame 1 Should I just move everything to frame 2? Does that throw anything out of sync? I am using labels in the movie clips that that I can use gotoAndPlay("label");
View 5 Replies
Apr 30, 2009
Trying to write text to the end of an existing .txt file... I can only overwrite the file each time.
View 1 Replies
Jul 5, 2009
I'm trying to make a new method for the XMLNode class and I want to use this method in other classes of mines that manipulate XMLNodes. Here's what I did :
1. I wrote an Ext class which you can read here :
[Code].....
It didn't work (saying that myMethod doesn't exist), so I added this line "static var e : Ext = new Ext();" before "function Testing () {}" Then my method worked. I don't understand why but great.
3. The problem is that I want to use the method not only in the main function but also in other classes of the application. However, when another class tries to call the custom method, it says that it is not defined. I don't know how to solve that.
Additional infos: I'm using the Eclipse IDE rather than the traditional Flash IDE so I don't have such a thing as "the first frame". My app only has the main function.
-MTASC which compiles my code doesn't support #include
View 1 Replies
Dec 5, 2011
I'm trying to redo my App and have everything added dynamicly, so updating will be a lot easier. I have 3 movieClips in my library. 1 is the holder of the other two. This is done because the holder has a class attached to it, and the 2 other movieClips are where the content is being added.
So basicly what I have now is via XMLList and a for loop the content is placed and displayed on the stage. They are added like this:
PHP Code:
var myXMLLoader:URLLoader = new URLLoader();
myXMLLoader.load(new URLRequest("Avalist.xml"));
myXMLLoader.addEventListener(Event.COMPLETE, processXML);
[Code]....
Now what I'm trying to do is add the same amount of content, but different images to the flipHolders that already exist right now but then the sideB in stead of sideA.
View 1 Replies
Jan 13, 2009
We recently decided to add a flash banner to our site which calls an xml file which loads the price and name for 5 separate products and keeps looping through until a user clicks a product. Unfortunately, it appears each time the file loops it calls another iteration of the xml file -- so if a user opens our homepage and walks away the xml file could be called 100s of times. My question is, can we set up the actionscript so the xml file is called just once?
View 1 Replies
Jan 15, 2009
add files to a stream on the server so that a clientof the stream just sees a continuos stream fo data?
View 2 Replies
Mar 31, 2007
Ok so I found this nice code over at Prototype. Its a function for Aligning to stage on Resize. [URL] It works really nice on its own but I was hoping to add some tweened easing as an additional optional parameter. (I posted there twice asking for help to no avail =( So I am asking here at Kirupa. What I wish to add is - implementing and adding an "easing" function as part of the current function. Something generalized to be called only if desired and the ability to set the ease type, duration, maybe prop etc.. (or whatever needed to make it work)
I have tried all kinds of things and below is as close as I can come (at least the only thing I can do to get the thing to move, although as you will see it works backwards and I can only get it to work using stage.width, stage.height, however I have tried newX oldX and all kinds of other things and cant seem to get things to move.
[Code]...
View 15 Replies
Jul 18, 2011
My company recently contracted an outside web developer to create our new website. I have some experience with Flash, but not beyond basic timeline controls. I've been given the task to update the flash element that has a horizontal carousel. Inside, there's three series, each with 6 buttons. The controls are a left and right arrow button on either side. I added a new button into the series and moved each of the series so they no longer ovrlapped.The carousel should just rotate through continuously, but it returns to the start after 6 clicks. Please let me know if there is any other materials I need to provide. Did adding in another button change the positions in the code? If so, what do I need to do to fix it?
[Code]...
View 1 Replies
Sep 26, 2009
We're trying to add a simple link to an existing Flash file. There looks to be at least 7 separate .as files and a separate swf that loads the main swf which all seems overly complex for what is essentially a page with six buttons on it.However, we need to add a URL to some of the text. So we converted the text to a button, added an instance name of <ssbpurchasetickets_btn> then added the following Actionscript into the actions layer on the frame the text/button appears:
ssbpurchasetickets_btn.addEventListener(MouseEvent.CLICK, ssbButtonPurchase);
function ssbButtonPurchase(event:MouseEvent):void
{[code]......
When we publish the file we get the following error which seems to cascade into a whole bunch more errors:Description: 1046: Type was not found or was not a compile-time constant: MouseEvent.Source: function ssbButtonPurchase(event:MouseEvent):void
We added "ssb" onto the button and functions to ensure there were no conflicts but the same thing occurred. If we copy the button into a new file everything works so it must be conflicting with something in the main files.
View 23 Replies
Sep 17, 2010
I have an J2EE Enterprise Application Project in which I would like to add a few Flex screens. How do I go about adding Flex capabilities.
I have build Flex/J2EE applications from scratch but can't think of the best way to do this.
I am currently using Flex Builder Plugin for IBM Rational Application Developer 7.5.
View 1 Replies
Feb 19, 2009
I'm trying to add CSS for an XML file. The functionality of this is you see an xml image and dynamic text, when you hit a button you get the next image with new text and so on and so forth. The problem is when I add a stylesheet object it makes the text do funky things
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
[code].....
View 0 Replies
Sep 16, 2010
how to use SWFAddress within MCs? All the tutorials I find seem to use the maintimeline, but I need to know how to make it work within multilevel mc's, dynamicly loaded in.Ive got a working code but this one is static. Everything is working, even when i copy and paste the URL of Testpage 5 for example in the browser. how to create a dynamic way than using the switch statement.
Code: Select allfunction traceMyPage(id) {
SWFAddress.onChange = function() {
var addr = SWFAddress.getValue();
[code]....
View 1 Replies
Mar 13, 2011
I'm developing a flash website with swfaddress. Everything works fine, but when I paste a deep link of the site in my browser bar, the preloader is bypassed.I've downloaded the swfaddress 2.4 code, but when in index file I replace the website.swf with mywebsite.swf the only thing I see is a still picture of my preloader blocked on 100%.
View 0 Replies