You need to use a Cross-tab/Pivot query.
For example, you have a table called tblSales:
Year | Sales
--------------
2011 | 10000
2010 | 9000
2009 | 8000
SELECT [2009],[2010],[2011]
FROM tblSales
PIVOT
(
MAX(Sales)
FOR [Year] IN ([2011],[2010],[2009]);
)
AS...
Hi,
You can create thios effect using a mixture of actionscript, html, css and javascript.
I haven't touched flash for a while, so i am using as2 rather than as3, don't know what the synhtax for this is i'm afraid.
Within your flash file, you might have this code for handling two buttons...
Diolch John,
I've been looking at those ethernet over Power adapters myself, but I've heard that they can be unreliable in a house with old electrics?
I think that a colleague has bought them, so will borrow them off him to test it first.
A computer always does what you tell it to, but rarely...
I'm not sure where this should be posted, but i'm hoping that someone here can help me. I have recently purchased a new Sony Bravia TV and want to hook it up to the internet, but unfortunately my router is not in the living room, and I am not going to fork out £70 for a SONY wireless dongle.
Is...
The example i gave was a very simplified problem i had, where i had a div panel in the middle of the screen, and this div had overflow:auto; so it would scroll, so I needed the height of the box.
The footer wasn't absolute position it used negative margins to appear on the bottom of the window...
Thanks vacunita,
but I don't think I'm clear here, the problem is that I don't know what the height of my header will be, as it is dynamic, and I want the content to fill the gap between the header and the footer div (which is positioned absolute at the bottom of the screen).
A computer...
Hi johnwm, thanks for the reply....
I don't think I explained clearly enough, I want the second div to stretch to fill the gap between the header and footer..... without css, it doesn't stretch to fill the gap. Only uses the space that the div needs!
Aaarggh!
This is hard to explain.....
But...
Hi,
I would very grateful to anyone who could help me out with a problem that seems to haunt me again and again!
I am designing a website which very simplistically is like this:
<div id="header">
<ul>
<li>Nav1</li>
<li>Nav2</li>
<li>Nav3</li>
</ul>
</div>
<div id="content">
</div>
<div...
because i was going to suggest something like this (AS2) within your banner (one that you could reuse if your swfs are all different):
banner.onRelease = function() {
getURL("http://"+url, "_blank");
}
Do not define the variable url within your code, and where you embed your flash movie...
Here:
var new_price = document.purchase.TotalAmount.value + 100;
alert('its ticked - value' + new_price);
You are trying to add a String to a number, you'll need to convert the string to a number first. Like so:
var new_price = Number(document.purchase.TotalAmount.value) + 100;
alert('its...
Thus, I wouldn't have to set the link inside the fla files which is quite a hassle." - do you have a number of identical swfs, but they link to different places?
A computer always does what you tell it to, but rarely does what you want it to.....
There is a tutorial/article here about making vars global in as3 ahich helped me:
http://greenethumb.com/article/11/global-variables-in-as3
A computer always does what you tell it to, but rarely does what you want it to.....
You will only need to use php if you are connecting to a database or something similar.
It seems to be that you just need to place an input textbox on the stage, assign a variable to the textbox, then that variable will then hold the name.....
A computer always does what you tell it to, but...
oldnewbie is right - it is possible to tween using actionscript, and it is usually less choppy. There is a great tutorial on the kirupa website - just google: kirupa tween class.
Also, if you are trying to tween a 3000px wide jpg - there might be some slowdown (due to the size of the jpg). If...
Create an invisible button covering your stage, and add an relevent event to the button to this ...
A computer always does what you tell it to, but rarely does what you want it to.....
Instead of passing parameters into the function, why don't you assign each button a property, and then access this property within the function, like so:
import flash.net.*;
function go(e:MouseEvent ) {
trace (e.target._message);
var req:URLRequest = new URLRequest("")...
Hang on, i managed to dissect the code and got an error message:
Warning: mail(): SMTP server response: 550 Requested action not taken: mailbox unavailable
A computer always does what you tell it to, but rarely does what you want it to.....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.