ActionScript 2.0 :: Setting Up A Webisite With An Online Shop?
Apr 25, 2006
How was this site done www.shopcomposition.com I am looking at setting up a webisite with an online shop and I came across this and it's amazing. How hard would it be to pull somthing like that off and what would be involved in making it.
How exactly do I emulate a shopping cart? I don't want to actually send any info, I just want to have the person click on something they want, then later be able to review the items "collected".My prof "showed" us how and this is what I have (but it doesn't work).
(I added the _global. thinking if it was a global variable, it might work. It didn't work before either, when the variable was just declared in the same AS window as the above function.)
addToCart is the instance name of the movie clip you click on to add the item to the cart. mainCont.cartContent.cartItems is the path to the movie clip where I want the items to show up.
pieceThumb is the name of the movie clip I want added to the cart (the name of the clip, not the instance name). Pushing this to the array works, as when it is traced, the word "pieceThumb" shows up.
cartLink is the link to the shopping cart, so that when you click on it, this function is called. I'm assuming it makes the items show up, but nothing appears. So I'm assuming this is what's broken.
I imported my SWF unto dreamweaver and previewed it on browser and it works perfectly fine, I then uploaded on server but it is not showing online, I have flash player 10, and have checked to see if all the files are placed in correct root folder. I tried saving SWF under a new name, and a few oher things but it is not working!!!! Been racking my brains for 2weeks....
I worked on this flash site and imported it in Dreamweaver to publish online. When I test the movie in Flash and in Dreamweaver evrything looks to work just fine, but when I upload the .swif and the .html files the video on the home page does not work!
I'm trying to make a simple Flash application to be placed on a web site. It is intended to take data from an .xml file and display it in the Flash movie. There are a number of buttons that display different nodes of the .xml file when clicked. (Not all the buttons are functional yet in this code; I know that.)It runs just fine in Flash. It even runs fine when I publish it and then run it by clicking on the html file on my computer.When I upload the html and swf files to my server, the html file works fine (gives me a solid colored background) but the swf is just a white box, nothing in it and no functionality.Something needs to be declared, imported or linked, I think, but I do not know what or how to do it. (Most irritating is the fact that the code is substantially taken from an online tutorial, with nary a word about this issue.)
ar chineseSentence:Array=new Array(); [many other Array vars deleted for space] var loader:URLLoader = new URLLoader();
For some reason when my swf is published online the elements show up pixelated but when its local it looks fine. the object is set to high quality in the html.[url]...
I'm having Trouble seeing files once they go online. Everything was just fine yesterday. But now whenever I export a file and upload it, it can't be viewed. They run just fine on my machine but when uploaded I get the "need newer version of Flash" message. And when I try to just load the swf it comes up blank. My older SWFs still work great, just the ones I exported today that are having problems.
My friend wants to be able to update the sites text himself. Is there a way he can easily edit the basic text online without having to use Adobe Flash (it would be even better if he could add photos as-well). I was thinking I could get flash to read an XML file but I don�t know how he could easily edit that as heis not techie at all.
In The Flash Application, my gallery is working as it is meant to. Yet, when I upload the swf to the live site, the first image, text and movie of my gallery works but it refuses to scroll to the next item in my XML.
I have given it an absolute path to that server which works in Flash but not when it is online.
I have an FLV file but need to generate an SWF to then upload onto the internet (with a play/stop bar)
I have no idea how to do this. Is there a step by step I can access or can someone point me tell me where and what to do!!!! I have CS4
I understand that I need to have all the files in the same folder and then link them all in. I will be uploading onto the website (back of house html) is there a basic code that i can modify that will suit my needs?
Example: If my SWF has a simple 2D charactor sprite, which moves around on a 2d background... What will I need to make it so that a player has to create an account and sign in, and then others can do the same and they can all see each other in the room. I have been unable to find resources on what it takes to turn a flash game into a chatroom or an "MMO".
I am working on the offline cd runs projector.exe using actionscript 2.0.I need to use online search feature in my glossary.Is it possible to browse internet within flash projector.exe. I dont want to open any internet explorer or firefox window.
I need to be able to find the current time from an online source rather than the system to make sure the time is correct. I need to do this in actionscript, preferably 2 rather than
I'm building a website application in PHP that requires a signature from the end user. For this part of the website it will be exclusively viewed on Windows based tablets. So, my question is this: What's the best way to capture a signature online? I've looked at flash or HTML5 canvas/excanvas, but I am seeking a more experienced answer.
I am wondering what processes involves converting files online...What programming languages are required?Basically I am wondering how are the files on scribd,issu,slideshare converted...
I've made a flash site and everything seems fine when I test it in flash and publish and run from my computer.However, when I upload it to my domain the external loader won't load my homepage initially. And I believe I've got a piece of script to tell it to do so.If you open up another page and return to the homepage it works fine.P.S I do have a preloader page prior to my homepageThe external loader script is:
ActionScript Code: //------------Initialisation-----------\ var currentPage = ("home_btn")
In The Flash Application, my gallery is working as it is meant to. Yet, when I upload the swf to the live site, the first image, text and movie of my gallery works but it refuses to scroll to the next item in my XML.I have given it an absolute path to that server which works in Flash but not when it is online.
I couldn't find any documentation or license information or copyright stuff regarding this texture. my question is whether i'm allowed to use this (and modify it) in my project and/or what i have to/can do. the person who wrote the "tutorial" is a PhD professor at some university, so i didn't want to contact her but rather ask here first.
I have a page that is loading external variables / images into the swf flash file, then comes to a stop on the last frame.
I need to print this exactly how it is on your screen on that last frame, with all the external images that have been preloaded etc etc. Exactly how you see it.
I have this FLV file that I am trying to get to play online. I have the HTML page along with the skin.swf and page.swf all in the same file on the server and it all seems to work fine. The only problem is that I have to use a different folder/directory for the flv and the swf's. So what I end up having is src="../thisfolder/thatfolder/file.swf", I've also tried using the absolute address and am having no luck.
Again, I unfortunately don't have access to the folder that the main pages of the site reside. Otherwise I would just put them in that folder and be done with this.
I've been tinkering with flashvars for the past two days, and have finally gotten my simple variable ('marker') to pass from the html to the swf. I have one swf that is loaded into each page of my website, but at different frames depending on the page. The value of the variable is simply the frame label I want the swf to go to. here's my code:
Code: var paramObj:Object=this.loaderInfo.parameters.marker; var marker=String(paramObj); var tf:TextField = new TextField();
[Code]....
the text field was just a way for me to test that the vars were being passed, which they are. The strange thing now is that the movie won't go to the proper frames when I test the site from Dreamweaver. The index page works fine - I have the swf starting from the first frame of the movie, but when I try to get to the frames 'film_stop' for the films page or 'collective_stop' for the collective page - passing those through flashvars - the swf just goes to the first frame in the timeline with a stop() action, which I just find to be weird. As a test, I even wrote " marker='film_stop'; gotoAndPlay (marker) " at the end of the code and tested it in Flash - it went to the proper frame, but when I published the same movie and tried testing the site through Dreamweaver, it again went to the first frame with a stop() action.