ActionScript 3.0 :: Lose The Informations Of The 'shopping' Bag Of Customer?

Feb 20, 2012

I have a strange problem with LocalConnection.Situation: A sample e-shop. I have a parent .swf who load 3-4 external swf.In a external swf (let's name it "X") u can order items u want.

Because i don't want to lose the informations of the 'shopping' bag of customer when the parent swf unload the 'X' and load something another (for example "contact us"), i use localconnection with both duplex between parent swf and 'X'.

Problem: In the swf "X" i have an array "Bag" which holds the id of items the customer clicked to buy. When change the external swf, i send via localconnection to the parent .swf this array (done, i tried with trace).

[Code]...

View 3 Replies


Similar Posts:


Actionscript 3.0 :: LocalConnection - Lose The Informations Of The 'shopping' Bag Of Customer When The Parent Swf Unload The 'X'

Feb 20, 2012

I have a parent .swf who load 3-4 external swf. In a external swf (let's name it "X") u can order items u want. Because i don't want to lose the informations of the 'shopping' bag of customer when the parent swf unload the 'X' and load something another (for example "contact us"), i use localconnection with both duplex between parent swf and 'X'.

Problem: In the swf "X" i have an array "Bag" which holds the id of items the customer clicked to buy. When change the external swf, i send via localconnection to the parent .swf this array (done, i tried with trace). And when the parent loads again the external .swf "X" , it send again the same array via localconnection to "X". The "X" receives it right (done, i verified it with trace). The strange is.. when the customer clicks another item, the array resets to zero!!!

[Code]...

View 2 Replies

ActionScript 2.0 :: Make A Function That Will Not Lose The Values Of The Variable Before Calling It And Will Not Lose Them After It Is Finished

Dec 2, 2004

how to make a function that will not lose the values of the variable before calling it and will not lose them after it is finished. example.

[Code]...

View 4 Replies

ActionScript 3.0 :: Read Informations By MySql DB?

May 13, 2011

I have to develop an iOS application able to read "news" by an existent mySql DB on my customer's web site.Is there a way to do this in AS3? I didn't wrote that DB, but I've got these informations:
 
Served Address; 33.222.1.000
DB: myDbName
User Login: brandon
Password: *******
 
I never used DBs in my personal works, then I don't know how to implement my code to communicate (read only) with my customer's web site database.

View 1 Replies

ActionScript 3.0 :: Recover Informations Between Class And MovieClip?

Nov 29, 2009

I have a page (MovieClip) which is charger and have a attribut a matrix (not the class). On this page, there is some cases (MovieClip) which receive value of the matrix.

Each cases are managed by Class. It's a good option, because I can put a listener into the contructor of the class and not having 64 functions if I have 64 cases. This listener allows to change the value of the cases when it clicked.

The problem is that I don't see how to know when a case is clicked in the page for changing the value of the matrix.

View 2 Replies

ActionScript 1/2 :: Create One MC That Contains Informations On One Row And Add It To The AddPage Of PrintJob

Sep 14, 2010

For my work I have to introduce a Print button that will prints everything that is in the cart. However, I never did anything of that sort in Flash,.For now, I did a bit of research about how to do it and I do understand I'll have to use PrintJob with another MovieClip... but I need a bit of explanations about a few things.
 
First, in the cart (which can be printed), there are several "items" that have the same informations, such as the name, the price, comments, etc.Do I have to create one MC that contains informations on one row and add it to the AddPage of PrintJob (I will have 5 MC [5 pages] if I have 5 items in cart), or add all the items into the same MC?
 
Also, the flash is horizontal (1920x1280). Do I have to change the orientation of the PrintJob to print in landscape? Plus, how to know if the text is far enought of the margins? Do I have to consider the margins in the MC and thus puts a good distance between the borders of the MC and my content?
 
Adding a "page" to the PrintJob, how does it work? Is it a real "paper page"? I hope you understand what I mean by that, I can give more details if needed but I can't give the source (.fla).

[Code]...

View 3 Replies

Xml :: Magento Customer Webservice / Api?

Apr 30, 2010

I need some sort of way to handle Magento's customer login, customer account creation and order checkout via some kind of webservice to be used for Flash, preferably XML.As far as I know the Magento API doesn't have these features. I found the Mammoth Webservices extension but it seems that the project is inactive judging from heir site.

View 1 Replies

ActionScript 3.0 :: Audio Stream Player : Getting Informations From The Source

Sep 11, 2011

I'm trying to create a webRadio player, wich different sources. On a click on a button, the player plays the corresponding flow. I would like to display some informations, like : current music, url, description, I think it's possible to have all those informations, because when I play my. files in my audio player (winamp), I've got them. Here is my code corresponding to this part :

[Code]...

View 4 Replies

Create An Interactive Org Chart For A Customer?

May 7, 2009

I am trying to create an interactive org chart for a customer.  When you click on a box, I need it expand as a drop-down, but I would like create it such that if the user clciks on another box, the previous box animates back to the closed position before the new one opens.

View 2 Replies

Create One Of The Trendy Flipbooks For A Customer?

May 9, 2009

I need to create one of the trendy flipbooks for a customer. It also needs to have several features:

- zoom
- print (single or page range)
- search

I've scoured the web and found very few. A while ago I purchased the component from page-flip.com. That was utter crap. I had so many problems with it and lost so much money from development hell and their support just stopped answering me after not so long.Each page will be its own SWF so I'm not sure if that would be searchable at all. All the SWFs will come from a PDF so I'm thinking I'd have to have all the text in one place and search that.

View 12 Replies

Professional :: Fading Between Multiple Customer Comments - Scalability

Feb 16, 2010

I am completely new to Flash and have been learning about alpha tweening to fade one .jpg image (of a customer's happy comment) to another. This works fine if I only have a small number of comments, but modifying each and every stage of the transitions would be a huge task if I have more than a handful of comments to deal with. Is there some way to set the transition and then apply that transition to all images? That way, I would only have to amend the transition once and it would make no difference whether I had 2 or 200 images to fade in and out of.

View 2 Replies

Flash :: Integrate Live Customer Support With Video / Webcam On Website

Feb 23, 2011

My organization normally provides customer support over e-mail and over the phone, but in particularly tricky situations we find we need to have an approximation of face-to-face communication. We're trying to find or build a software solution that we can integrate into our site. Our requirements are that:

[Code]....

View 1 Replies

Lose My Stops In My SWF

Sep 18, 2009

I have made a preloader, yet when i bring my SWF in that i want to load, it loses all the stops that have been put int it? So it just plays all the way through?

View 1 Replies

Modifying Flash Shopping Cart

Apr 12, 2009

modify an existing flash shopping cart I purchased from Flashden.net (link). The cart uses two XML files to pull in data and to configure most of the data settings. I need help with one thing: I'm using this cart on a sunglasses shopping site and I need to configure the optional sunglasses to be clickable so they can be added to the cart. I know I need to modify both the flash .fla and the xml file so I've included the code for both below. Here's a link to the website I'm trying to re-configure. The section I need to edit has the optional sunglasses on the right-hand side of the main photo.Here's the first xml file that does some of the basic settings. This file is called settings.xml.[code]I made an attachment for the actionscript code called actionscript.txt that needs to be modified. All I need to do is figure out a way to make the optional images clickable so they can be added to the main cart. We can also just create a button that says add to cart next to each sunglass option. Either way works for me. I'm even willing to compensate the person who can help me come up with a workable solution.

View 3 Replies

ActionScript 2.0 :: Simply Xml Shopping Cart

Jan 13, 2010

i was trying to find simple code of xml shopping cart i.e it's in AS3 or AS2 it's should be simple & run as different level?i mean if i need to import different swf file or using _root.shopping_cart.URL...

View 1 Replies

Professional :: How Much Lose Saving CS5 File As CS4

Apr 4, 2011

I have a presentation to do using Flash on Wednesday and have been warned by my university that files MUST be in CS4 format. So, having used CS5 to create the whole site/presentation how much will I lose back-saving it to CS4? I'm worried I'm going to have to do a lot of the same work twice.

View 2 Replies

ActionScript 1/2 :: Creating A Shopping List?

May 10, 2011

My project is a page flipping magazine.  On each page are several products.  When you click on a specific product, a popup window comes up and shows all of the product details.  The popup window also includes two buttons - Add to Cart & Add to Shopping List.  This is where I am having trouble.  When the user clicks on the 'Add to Shopping List' button I would like the product details  (i.e picture of item, item description, price, select quantity, delete product option)  to "load" into a shopping list (which would be on a different frame further down the timeline and look like a whole new page to the user). I don't want to redirect them to the shopping list at this time, I just want the information to "load" into the shopping list.  Later, when they are done adding all their items into the shopping list, they can click on the shopping list tab at the top of the page and it will direct them to the correct frame in the timeline and show all of the products they added.  

View 4 Replies

ActionScript 3.0 :: When I Publish Swf I Lose The Music?

Nov 20, 2009

when working in flash i use the below code and it works fine.However when i publish the file on the web using visual studio i lose the music? is there something I'm missing do i need to move the mp3 file somewhere so that is accessible to the swf file?

Code:
var soundReq:URLRequest = new URLRequest("matrix.mp3");
var sound:Sound = new Sound();
var soundControl:SoundChannel = new SoundChannel();[code].....

View 7 Replies

ActionScript 3.0 :: Lose MouseEvent After Creating New Class?

Apr 10, 2009

I have a main class that generates three clickable textfields (lessons). Clicking a specific lesson starts the appropriate lesson.  However, once the lesson starts, I am unable to detect any mouseevents.  I do not use any mouseevents in any of the lessons so I am baffled about what happened to my mouse eventlisteners. Even though I can see the nextLesson button, nothing happens when clicked. If I click it before starting my lesson, my trace indicates that I have clicked it. Do I need my lessons to somehow self-terminate when done and if so, how would I go about this. I currently use the browsers back arrow to terminate the complete session. 

View 3 Replies

ActionScript 3.0 :: If / Else / Switch Statement For A Shopping Cart

Feb 24, 2011

I am trying to create a Flash styled shopping cart to integrate into my website. When the "Add to Cart" button is clicked, i am displaying the corresponding text down the side of the stage. However I need a "Total Price" Dynamic text field to display the Total price of all items clicked!I am new to flash and it's proving very difficult to me, as the only way i could think of doing this is creating Boolean variables with all the items and if "add to cart" had been clicked Boolean = True... But how do I code the addition of prices? and cater for all the variations that are possible?

View 15 Replies

Lose Control Of Video In Fullscreen Mode

Apr 22, 2010

I'm having an issue with an FLV video playback in a scene. When I go to fullscreen mode, I seem to lose the ability to adjust the video object.

I am loading a new video via FLVPlayerback(). Since the video is being loaded into the scene on top of everything else, I use swapChildren() to put my button back on top of the video. When the video is done playing, I removeChild() the video.

This works in the normal playstate.

However, if I am in fullscreen mode, swapChildren() and removeChild both do not work. If I exit fullscreen mode, they are indeed working.

View 1 Replies

ActionScript 2.0 :: Build A Shopping Cart In Flash?

Feb 10, 2009

i want to build a shopping cart in flash, but i dont know how to do.actually i have a gallery i.e. [URL]now what i want to do is that to put check boxes under each thumbnail,after selecting that check box that product should be added to the cart.

View 2 Replies

ActionScript 2.0 :: Show Images In Shopping Basket?

Oct 10, 2009

I'm using the below code as a reference [URL] to create a 'kind of' shopping basket at the end of my animation.

To put the 'items' in the shopping basket, the user clicks a button that is made from an image of the item.

how can I get the image of the item they clicked on to appear next to the description of the item on the shopping basket?

ActionScript Code:
import com.ahfx.Product;
import com.ahfx.Shopping;
var myProduct = new Product();

[Code].....

View 2 Replies

ActionScript 2.0 :: Lose The Cursor Image Completely?

Aug 17, 2010

I have made a game, using a new cursor image,But for some reason it's showing both? The cursor and the image? How do i lose the cursor image completely?

View 1 Replies

ActionScript 2.0 :: Build A Thorough Shopping Cart In Flash?

May 31, 2002

how to build a thorough shopping cart in Flash, with a checkout button and everything? And/or could some provide a fla. that has a checkout button and everything?

View 6 Replies

ActionScript 3.0 :: Flash Shopping Cart By Dreamline Studio?

Mar 4, 2008

has anyone ever used it or have experience with it? It seems a decent price and good functionality, but if someone has experience with it that gives me a lot more insightlso, it's designed w/ AS2 and says it can be used easily w/ AS3 via Loader & LocalConnection, but I've had problems in the past w/ LocalConnection & AVM1Movie's.

View 3 Replies

ActionScript 2.0 :: Creating Shopping Cart Feature In Flash

Oct 20, 2009

I am creating a shopping cart feature within flash using as2 using this tut [URL]. I have created the as file and there are no errors but when it can to adding the first part of code to go into the actual flash file I get this error

The class or the interface 'com.ahfx.
Product could not be loaded(source)
var myProduct = new Product();

The code added on the first frame of the flash file
import com.ahfx.Product;
var myProduct = new Product();
myProduct.setQuantity(3);
myProduct.setPrice(2.99);
myProduct.setDesc("Teddy Bear");
trace(myProduct.getDesc());
trace(myProduct.getPrice());
trace(myProduct.getQuantity());
trace(myProduct.getTotal());

View 1 Replies

Professional :: Shopping Cart/store Built In Flash?

Mar 16, 2010

I have a shopping cart/store built in flash. All the pages are built in html. My problem is that when you navigate to another page the shopping cart empties. The cart is .xml based. I didn't think of this at the beggining. Does anyone have a suggestion? The link to the site is below.

View 2 Replies

Professional :: Set Up A Button To Automatically Add Items To A Shopping Cart?

Jan 7, 2011

ok, same project i've been working on, new criteria. here's the summary of the project.we are making a digital catalog, in our print catalog we have diagrams but in the digital version i am using flash to link parts of those diagrams to the page with that merchandiseeverything is getting worked out ok.now i have been given some more requirements, myboss wants me to add an "add to cart" button so they can automatically add it to their cart instead of linking to our website and adding it there.

View 4 Replies

Uses A Shopping Cart To Add Items From A Gallery As Well As Connect To The Gateway And Uses SSL?

Nov 13, 2007

I was just wondering if anyone has seen or has actually built a complete flash based eCommerce system that uses a shopping cart to add items from a gallery as well as connect to the gateway and uses SSL

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved