Search:
Type: Posts; User: shaunfreeman
Search:
Search took 0.09 seconds.
-
I have also tried:
record = _root.portfolio.recordhold.attachMovie("record", "record"+i, i+100);//add mc
//
preloader(record);
function preloader(clip) {
-
In the main timeline I have this.
function preloader(clip) {
this.onEnterFrame = function() {
filesize = Math.round(clip.picholder.getBytesTotal());
loaded =...
-
Many thanks dog.:)
Would never of thought of using
if(clip._width>0){
Stroke of genius.
-
The problem is that I need to load the css before the xml data.
So I was thinking something like this:
_root.portfolio.createEmptyMovieClip("recordhold",1);//create mc...
-
Thanks dog but still no joy. I have just noticed it only applys the ccs to the last mc loaded.if I trace the the mc being created it comes back as the last one.
-
Ok I found the problem:)
When loading the css:
var myCSS = new TextField.StyleSheet();
var cssURL = "textfiles/portfolio/fontssize.css";
myCSS.load(cssURL);
myCSS.onLoad =...
-
I worked out that this should be correct.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<portfolio>
<data thumbnail='pics/thumbnails/image1.jpg' image='pics/zoom/image1.jpg'>...
-
heres the mx2004 file. No picture just the text.
css file. xml file and of course the fla file.
-
The css tags in the xml, displays fine in flash "in the html dynamic textboxes its just the stylesheet it not being applied.
All I get is <tag>text</tag> in a dynamic textboxbox. not sure whats...
-
Thanks a_modified_dog, works great. :)But I would prefer to use css tags linked to my ccs stylesheet which I have used successfully throughout my site.
I tried this but with no luck
<?xml...
-
I have this:
<data usrage="Some text"/>
But what something like this:
<data usrage=<cssstyle1>"Some text"</cssstyle1>/>
-
I am using a data tag to acess text and images from flash. But when I put css tags in in does not work.
XML
<data thumbnail= "pics/thumbnails/image1.jpg" image="pics/zoom/image1.jpg"...
-
mx2004pro
Just a quick question I have the halotheme in my lib. But when I drag the scollplane on stage it outputs as grey scroller,grey btns ect. I need it to match the uiscroller which outputs...
-
Hi wonder if anyone can help.
I have 4 frames in a mc each frame uses this code (I change the root xml on each frame)
stop();
var loadedxml
var myCSS = new TextField.StyleSheet();
var...
-
I used the drag mc so it always has focus :). Its a work around not the best solution I agree but one that works. Don't know what else to use.
-
when I click on another browser window is comes back as
xmouse = -18806394.7
ymouse = -66899335.15
Anybody got any ideas.
-
Ok heres the fla file. if that helps
-
Hi I have this code on a mc
onClipEvent (enterFrame) {
this._rotation = (_xmouse / -100);
this._x = (_xmouse / -150);
}
-
Having problems with setting depth :mad:. I have tried but nothing seems to work. Could someone have a quick look, must be something simple which I have overlooked. Thanks
function...
-
I have a movie with 4 mcs with rollover rollout actions.
These mc buttons control the scale and bounce on 4 other mcs.
I managed to to do the code but when the mcs buttons are next to each other...
-
Thats for that a_modified_dog
Got your code to work but it seems to round it off wrong, seems to add a extra 01.00 on every other item added. Very strange.
ie
price is 10.46. I add the same...
-
Got the £ sign in the datagrid just need to sort out to format 0.00
-
Just one more thing I need to, to format the price column to £
I already use the below code for the total price of basket, but when I try to use it in a datagrid it doesn't work, might be because...
-
totalQtyB = 0
It works, :) Thanks
-
Trying to add up all the quantities in the array, it looks like it should work but it does not.
totalQty += aItem[i].quantity;
trace(totalQty);
trace come bask as null
|
Click Here to Expand Forum to Full Width
|