Flash CS3

Free tutorials and scripts for all

Sometimes members don't get their activation email.
This happens because it gets deleted by accident, your spam folder gets it ... lots of reasons.
To Resend the account activation code you need to do two things:
1. Go here: Resend your activation email
2. Enter the email address you used when you signed up and click "Email activation codes"
3. When the email arrives in your inbox, be sure to click the link to activate your account.

Simple Problem Driving me Crazy

This is a discussion on Simple Problem Driving me Crazy within the advanced Actionscript 3.0 forums, part of the Flash CS3 eng category; I am building a simple Video UI for Demonstration purposes. We have 7 Videos loaded that are triggered using functions ...


Go Back   Forum Flash CS3 > English Forums > Flash CS3 eng > advanced Actionscript 3.0

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 25-05-08, 19:52
Junior Member
 
Join Date: May 2008
Posts: 1
Rep Power: 0
nxtgenpro is on a distinguished road
Simple Problem Driving me Crazy

I am building a simple Video UI for Demonstration purposes. We have 7 Videos loaded that are triggered using functions for the related Buttons. In addition there is a Buy button that will simulate a purchase of the Video playing.

I need the Buy Button to have a URL assignment to a Shopping Cart Mock-Up for the currently playing Video.

I Have laid out Variables for the Shopping Carts.

Here is the Action Script:

import flash.events.MouseEvent;

var getCart1:URLRequest = new URLRequest("http://www.*************.**/shop/cart1.php");
var getCart2:URLRequest = new URLRequest("http://www.*************.**/shop/cart2.php");
var getCart3:URLRequest = new URLRequest("http://www.*************.**/shop/cart3.php");
var getCart4:URLRequest = new URLRequest("http://www.*************.**/shop/cart4.php");
var getCart5:URLRequest = new URLRequest("http://www.*************.**/shop/cart5.php");
var getCart6:URLRequest = new URLRequest("http://www.*************.**/shop/cart6.php");
var getCart7:URLRequest = new URLRequest("http://www.*************.**/shop/cart7.php");


//---Event Listeners---//

rockBtn.addEventListener(MouseEvent.CLICK,rockClic k);
urbanBtn.addEventListener(MouseEvent.CLICK,urbanCl ick);
popBtn.addEventListener(MouseEvent.CLICK,popClick) ;
altBtn.addEventListener(MouseEvent.CLICK,altClick) ;
newBtn.addEventListener(MouseEvent.CLICK,newClick) ;
currentBtn.addEventListener(MouseEvent.CLICK,curre ntClick);
rapBtn.addEventListener(MouseEvent.CLICK,rapClick) ;

buyBtn.addEventListener(MouseEvent.CLICK,buyClick) ;


//---Functions---//

function rockClick(event:MouseEvent):void {
myVideo.play("http://www.*************.**/*********/*****/*****.mp4");
}

function urbanClick(event:MouseEvent):void {
myVideo.play("http://www.*************.**/*********/*****/*****.mp4");
}

function popClick(event:MouseEvent):void {
myVideo.play("http://www.*************.**/*********/*****/*****.mp4");
}

function altClick(event:MouseEvent):void {
myVideo.play("http://www.*************.**/*********/*****/*****.mp4");
}

function newClick(event:MouseEvent):void {
myVideo.play("http://www.*************.**/*********/*****/*****.mp4");
}

function currentClick(event:MouseEvent):void {
myVideo.play("http://www.*************.**/*********/*****/*****.mp4");
}

function rapClick(event:MouseEvent):void {
myVideo.play("http://www.*************.**/*********/*****/*****.mp4");
}

Last edited by Onsitus; 12-06-08 at 07:00. Reason: Removed link to site on user's request
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 28-05-08, 20:23
sudo's Avatar
Junior Member
 
Join Date: May 2008
Posts: 16
Rep Power: 0
sudo is on a distinguished road
Re: Simple Problem Driving me Crazy

sorry I didn't get you.

What's the error ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Simple GuestBook Flep FlepStudio utilities 34 17-08-08 23:17
Simple Guestbook Flep Utilità di FlepStudio 26 29-05-08 05:38
Simple:Loading external SWF mabron Actionscript 3.0 newbies 1 14-05-08 22:02
Simple Email Form Problem chosendesigns PHP | mySQL | Flash CS3 1 26-04-08 10:28
Warning Message Is Driving Me Crazy Pherankh advanced Actionscript 3.0 2 27-03-08 09:29


All times are GMT. The time now is 03:07.


Powered by vBulletin versione 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap