Hi, please whats is wrong in the code below:
Line 39: x.mobile=60
Code
<action name="popup" scope="private:POPUP" args="type, content, width, height, scrollbars"><![CDATA[
if(popup, break(); );
addlayer('popup_bg', popup_bg);
set(popup_bg,
type=container,
align=lefttop, width=100%, height=100%,
zorder=99,
handcursor=false,
bgcapture=false,
capture=false,
ondown='popup_close()'
);
addlayer('popup', popup);
set(popup,
type=container,
parent='popup_bg',
width=calc(min(width,global.stagewidth*1)),
height=calc(min(height,global.stageheight*1)),
align=center,
bgborder='1 0x555555 1',
bgcolor=0x574e4b,
bgalpha=0.7,
bgshadow='0 10 20 0x000000 0.5',
bgcapture=true,
maskchildren=false,
capture=true,
handcursor=false,
alpha=0
);
addlayer('popup_close_x', closex);
set(closex,
type="text",
html="CLOSE",
x.mobile=60,
y=0,
interactivecontent="true",
bgcolor="0x2D3E50",
bgalpha="0.8",
bgborder="0",
bgroundedge="1",
padding="5 5 5 5",
css="color:#FFFFFF; font-family:Arial;",
txtshadow="1"
bgshadow="0 4 10 0x000000 0.3",
parent='popup',
align=righttop,
edge=righttop,
scale=0.3,
zorder=99,
alpha=0.7,
onover='tween(alpha,1)',
onout='tween(alpha,0.7)',
onup='tween(alpha,0.7)',
onclick='popup_close()'
);
set(global.events[popup].onremovepano, popup_close() );
set(global.events[popup].onresize, popup_close() );
]]></action>
Display More
With x=60 run ok... How to define the device in this case? (x.mobile=60 is wrong)
Thanks for your help!