Code for a Flash carousal
Hi,
Looking for help to fix code for a Flash carousal.
I lost all my original files in a major hard drive crash. (no
backup, I learned). I’m now trying to redo the carousel.
My original site contained a tooltip and a icon.xml that
direct the icon click to a web page.
I have enclosed the Flash code the new carousel I created,
along with the icon.xml file. I have one web page that works using
the same XML file
http://www.susystastebuds.com/CakeZone.html
At this time I’m unable to get new carousel to work on
any other page. I guess the Flash code has changed since the
original one I did. I hope someone is able to provide help as to
why the new one won’t work.
When I click on the icon now, it will close all the other
icons and move up to the left and just stop. Not providing any link
to another web page.
If anbody has the same code in action script in script 3 that
includes the Tooltip and goto url, that would be great.
The Flash action script is:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var folder:String = "thumbnails/"; // a folder for thumbnail
files + an XML file
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 40;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 2;
var speed:Number = 0.02;
var perspective:Number = 3;
var home:MovieClip = this;
theText._alpha = 0;
var tooltip:MovieClip =
this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes.attributes.tooltip;
t.content = nodes.attributes.content;
t.icon.inner.loadMovie(nodes.attributes.image);
t.r.inner.loadMovie(nodes.attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
function over()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sound2");
sou.start();
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
function out()
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
function released()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sound3");
sou.start();
home.tooltip._alpha = 0;
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
t.xPos = t._x;
t.yPos = t._y;
t.theScale = t._xscale;
delete t.icon.onRollOver;
delete t.icon.onRollOut;
delete t.icon.onRelease;
delete t.onEnterFrame;
if(t != this._parent)
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
var tw3:Tween = new
Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
else
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,t._xscale,100,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,t._yscale,100,1,true);
var tw3:Tween = new
Tween(t,"_x",Strong.easeOut,t._x,200,1,true);
var tw4:Tween = new
Tween(t,"_y",Strong.easeOut,t._y,320,1,true);
var tw5:Tween = new
Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
theText.text = t.content;
var s:Object = this;
tw.onMotionStopped = function()
s.onRelease = unReleased;
function unReleased()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sdown");
sou.start();
delete this.onRelease;
var tw:Tween = new
Tween(theText,"_alpha",Strong.easeOut,100,0,0.5,true);
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
if(t != this._parent)
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
var tw3:Tween = new
Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
else
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
var tw3:Tween = new
Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
var tw4:Tween = new
Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
tw.onMotionStopped = function()
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
t.icon.onRollOver = Delegate.create(t.icon,over);
t.icon.onRollOut = Delegate.create(t.icon,out);
t.icon.onRelease = Delegate.create(t.icon,released);
t.onEnterFrame = mover;
function moveTip()
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
xml.load("icons.xml");
function mover()
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective)
/(centerY+radiusY-perspective);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
this.onMouseMove = function()
speed = (this._xmouse-centerX)/10000;
The XML file is:
<icons>
<icon image="icon4.png" tooltip="Baby1" url="
http://www.susystastebuds.com/BirthdaycakeZone.html"
/>
<icon image="icon5.png" tooltip="Wedding Anniversary Zone"
url="
http://www.susystastebuds.com/AnniversaryCakeZone.html"
/>
<icon image="icon6.png" tooltip="The Other Zone" url="
http://www.susystastebuds.com/OtherCakeZone.html"
/>
<icon image="icon7.png" tooltip="Specialty Zone" url="
http://www.susystastebuds.com/Specialitys_Zone.html"
/>
<icon image="icon8.png" tooltip="The Cupcake Zone" url="
http://www.susystastebuds.com/CupCakeZone.html"
/>
<icon image="icon9.png" tooltip="Home Page" url="
http://www.susystastebuds.com/home"
/>
<icon image="icon2.png" tooltip="Birthday Zone" url="
http://www.susystastebuds.com/BirthdaycakeZone.html"
/>
<icon image="icon3.png" tooltip="Wedding Zone" url="
http://www.susystastebuds.com/Weddingcakezone.html"
/>
<icon image="icon1.png" tooltip="Cakes Of The Week" url="
http://www.susystastebuds.com/CakeZone.html"
/>
<icon image="icon10.png" tooltip="Contact Us" url="
http://www.susystastebuds.com/CakeZone.html"
/>
</icons>
I need the code for a simple PopUp (Frame) with a gif
as background... Should be called from an applet...
The following code das some errors !!
Thanks Felix
public class SHHcycle extends Frame
getImage(getDocumentBase(),"Image/SHHlinear.jpg");
public void paint(Graphics screen);
{Hi,
you are using applet methods in a frame. You should either make it an applet or find alternatives.
http://galileo.spaceports.com/~ibidris/
Similar Messages
-
Fixing code for a Flash carousal.
Hi,
Looking for help to fix code for a Flash carousal.
I started my web site 3 years ago with a free version of
Flash. I have since purchased Web Premium CS3.
I lost all my original files in a major hard drive crash. (no
backup, I learned). I’m now trying to redo the carousel.
My original site contained a tooltip and a icon.xml that
direct the icon click to a web page.
I have enclosed the Flash code the new carousel I created,
along with the icon.xml file. I have one web page that works using
the same XML file
http://www.susystastebuds.com/CakeZone.html
At this time I’m unable to get new carousel to work on
any other page. I guess the Flash code has changed since the
original one I did. I hope someone is able to provide help as to
why the new one won’t work.
When I click on the icon now, it will close all the other
icons and move up to the left and just stop. Not providing any link
to another web page.
If anbody has the same code in action script in script 3 that
includes the Tooltip and goto url, that would be great.
The Flash action script is:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var folder:String = "thumbnails/"; // a folder for thumbnail
files + an XML file
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 40;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 2;
var speed:Number = 0.02;
var perspective:Number = 3;
var home:MovieClip = this;
theText._alpha = 0;
var tooltip:MovieClip =
this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes
.attributes.tooltip;
t.content = nodes.attributes.content;
t.icon.inner.loadMovie(nodes
.attributes.image);
t.r.inner.loadMovie(nodes.attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
function over()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sound2");
sou.start();
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
function out()
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
function released()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sound3");
sou.start();
home.tooltip._alpha = 0;
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
t.xPos = t._x;
t.yPos = t._y;
t.theScale = t._xscale;
delete t.icon.onRollOver;
delete t.icon.onRollOut;
delete t.icon.onRelease;
delete t.onEnterFrame;
if(t != this._parent)
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
var tw3:Tween = new
Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
else
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,t._xscale,100,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,t._yscale,100,1,true);
var tw3:Tween = new
Tween(t,"_x",Strong.easeOut,t._x,200,1,true);
var tw4:Tween = new
Tween(t,"_y",Strong.easeOut,t._y,320,1,true);
var tw5:Tween = new
Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
theText.text = t.content;
var s:Object = this;
tw.onMotionStopped = function()
s.onRelease = unReleased;
function unReleased()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sdown");
sou.start();
delete this.onRelease;
var tw:Tween = new
Tween(theText,"_alpha",Strong.easeOut,100,0,0.5,true);
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
if(t != this._parent)
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
var tw3:Tween = new
Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
else
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
var tw3:Tween = new
Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
var tw4:Tween = new
Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
tw.onMotionStopped = function()
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
t.icon.onRollOver = Delegate.create(t.icon,over);
t.icon.onRollOut = Delegate.create(t.icon,out);
t.icon.onRelease = Delegate.create(t.icon,released);
t.onEnterFrame = mover;
function moveTip()
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
xml.load("icons.xml");
function mover()
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective)
/(centerY+radiusY-perspective);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
this.onMouseMove = function()
speed = (this._xmouse-centerX)/10000;
The XML file is:
<icons>
<icon image="icon4.png" tooltip="Baby1" url="
http://www.susystastebuds.com/BirthdaycakeZone.html"
/>
<icon image="icon5.png" tooltip="Wedding Anniversary Zone"
url="
http://www.susystastebuds.com/AnniversaryCakeZone.html"
/>
<icon image="icon6.png" tooltip="The Other Zone" url="
http://www.susystastebuds.com/OtherCakeZone.html"
/>
<icon image="icon7.png" tooltip="Specialty Zone" url="
http://www.susystastebuds.com/Specialitys_Zone.html"
/>
<icon image="icon8.png" tooltip="The Cupcake Zone" url="
http://www.susystastebuds.com/CupCakeZone.html"
/>
<icon image="icon9.png" tooltip="Home Page" url="
http://www.susystastebuds.com/home"
/>
<icon image="icon2.png" tooltip="Birthday Zone" url="
http://www.susystastebuds.com/BirthdaycakeZone.html"
/>
<icon image="icon3.png" tooltip="Wedding Zone" url="
http://www.susystastebuds.com/Weddingcakezone.html"
/>
<icon image="icon1.png" tooltip="Cakes Of The Week" url="
http://www.susystastebuds.com/CakeZone.html"
/>
<icon image="icon10.png" tooltip="Contact Us" url="
http://www.susystastebuds.com/CakeZone.html"
/>
</icons>Hi,
Looking for help to fix code for a Flash carousal.
I started my web site 3 years ago with a free version of
Flash. I have since purchased Web Premium CS3.
I lost all my original files in a major hard drive crash. (no
backup, I learned). I’m now trying to redo the carousel.
My original site contained a tooltip and a icon.xml that
direct the icon click to a web page.
I have enclosed the Flash code the new carousel I created,
along with the icon.xml file. I have one web page that works using
the same XML file
http://www.susystastebuds.com/CakeZone.html
At this time I’m unable to get new carousel to work on
any other page. I guess the Flash code has changed since the
original one I did. I hope someone is able to provide help as to
why the new one won’t work.
When I click on the icon now, it will close all the other
icons and move up to the left and just stop. Not providing any link
to another web page.
If anbody has the same code in action script in script 3 that
includes the Tooltip and goto url, that would be great.
The Flash action script is:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var folder:String = "thumbnails/"; // a folder for thumbnail
files + an XML file
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 40;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 2;
var speed:Number = 0.02;
var perspective:Number = 3;
var home:MovieClip = this;
theText._alpha = 0;
var tooltip:MovieClip =
this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes
.attributes.tooltip;
t.content = nodes.attributes.content;
t.icon.inner.loadMovie(nodes
.attributes.image);
t.r.inner.loadMovie(nodes.attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
function over()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sound2");
sou.start();
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
function out()
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
function released()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sound3");
sou.start();
home.tooltip._alpha = 0;
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
t.xPos = t._x;
t.yPos = t._y;
t.theScale = t._xscale;
delete t.icon.onRollOver;
delete t.icon.onRollOut;
delete t.icon.onRelease;
delete t.onEnterFrame;
if(t != this._parent)
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
var tw3:Tween = new
Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
else
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,t._xscale,100,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,t._yscale,100,1,true);
var tw3:Tween = new
Tween(t,"_x",Strong.easeOut,t._x,200,1,true);
var tw4:Tween = new
Tween(t,"_y",Strong.easeOut,t._y,320,1,true);
var tw5:Tween = new
Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
theText.text = t.content;
var s:Object = this;
tw.onMotionStopped = function()
s.onRelease = unReleased;
function unReleased()
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sdown");
sou.start();
delete this.onRelease;
var tw:Tween = new
Tween(theText,"_alpha",Strong.easeOut,100,0,0.5,true);
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
if(t != this._parent)
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
var tw3:Tween = new
Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
else
var tw:Tween = new
Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
var tw2:Tween = new
Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
var tw3:Tween = new
Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
var tw4:Tween = new
Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
tw.onMotionStopped = function()
for(var i=0;i<numOfItems;i++)
var t:MovieClip = home["item"+i];
t.icon.onRollOver = Delegate.create(t.icon,over);
t.icon.onRollOut = Delegate.create(t.icon,out);
t.icon.onRelease = Delegate.create(t.icon,released);
t.onEnterFrame = mover;
function moveTip()
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
xml.load("icons.xml");
function mover()
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective)
/(centerY+radiusY-perspective);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
this.onMouseMove = function()
speed = (this._xmouse-centerX)/10000;
The XML file is:
<icons>
<icon image="icon4.png" tooltip="Baby1" url="
http://www.susystastebuds.com/BirthdaycakeZone.html"
/>
<icon image="icon5.png" tooltip="Wedding Anniversary Zone"
url="
http://www.susystastebuds.com/AnniversaryCakeZone.html"
/>
<icon image="icon6.png" tooltip="The Other Zone" url="
http://www.susystastebuds.com/OtherCakeZone.html"
/>
<icon image="icon7.png" tooltip="Specialty Zone" url="
http://www.susystastebuds.com/Specialitys_Zone.html"
/>
<icon image="icon8.png" tooltip="The Cupcake Zone" url="
http://www.susystastebuds.com/CupCakeZone.html"
/>
<icon image="icon9.png" tooltip="Home Page" url="
http://www.susystastebuds.com/home"
/>
<icon image="icon2.png" tooltip="Birthday Zone" url="
http://www.susystastebuds.com/BirthdaycakeZone.html"
/>
<icon image="icon3.png" tooltip="Wedding Zone" url="
http://www.susystastebuds.com/Weddingcakezone.html"
/>
<icon image="icon1.png" tooltip="Cakes Of The Week" url="
http://www.susystastebuds.com/CakeZone.html"
/>
<icon image="icon10.png" tooltip="Contact Us" url="
http://www.susystastebuds.com/CakeZone.html"
/>
</icons> -
Html codes for a flash and a quicktime movie
I'm building a new webpage and I want to put a flash and a quicktime movie in every page......now that the new iWeb has the html snippet option I was wondering if there is anyway of embeding the movies with html code in a way that I just have to replace the movie file instead of putting the movies in every page all over again every time I want to update the site
ThanksCode for Flash inclusion is here: http://artotems.com/test.aspx as well as many other examples.
It's intended for PC OL users but can be used for any site with HTML access. There are many clear examples on the site. I know I wrote them.
Mac faithful, don't have a cow. }:- It's a complex world. I use a MAC as well. I'm on it now.
MAC site: http://web.mac.com/catucker/InsideOutside/Blog/Blog.html
Have Fun! -
Help with html code for displaying flash animation
hi all,
i'm new to the forums :)
not sure if this is the correct section or not.
i run a small web based community for xboxlive players and i
am trying to add an interactive flash file into a block on the main
portal page
What
the file should do- link to sample file
link to swf
file- link to actual flash file
homepage - link to portal
homepage where the flash file needs to be, if you scroll all the
way down the bottom of the page you will se it sort of works but im
stumped as to how to get the full animation to show properly ?
any help would be most appreciated.
cheershard to say just what the issue is here, since the file
operates normally in other embeds - I guessing that it has
something to do with your BB settings somewhere. -
How do I change the Version Code in the Flash Android settings for the Android app Market?
I recently tried to update my app in the Android app market and when I uploaded it I got the following message:
"The new apk's versionCode (1000000) already exists."
In the Flash Adnroid settings I changed the version label but that did not help.
So I have two questions:
How do I change the Version code in the Flash Android settings? I changed the version number and version label but that did not work.
What is the difference between the version number and version label?I tried that but it did not work. Apparently there is a difference between the version code and version number (which is set in the Android settings). From my research the version label is optional, so there are no problems there.
This is the what the XML file says:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/2.6">
<id>com.company.nameofapp</id>
//Below is the correct version number, but has no relation to the version code.
<versionNumber>1.1.0</versionNumber>
<versionLabel>NewLayout</versionLabel>
<filename>Name of app</filename>
<description/>
I did find this piece of information for Androin version codes. (http://developer.android.com/guide/publishing/versioning.html) But I don't know how to place it into the xml file without conflicting with other code.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.package.name"
android:versionCode="2"
android:versionName="1.1">
<application android:icon="@drawable/icon" android:label="@string/app_name">
</application>
</manifest>
Any other thoughts are much appreciated. -
Hello! I'm looking for a Flash Coder/Designer to Create Quantity of 5 Flash Animations which pull dynamic text from a XML File.
Here's the URL of the type of animation styles we like,
http://tinyurl.com/38r8wo2
Our finished animation graphics should have a fun look with easy interchangeable sponsors sponsors like the ones in these examples.
http://tinyurl.com/249gf5l
The 2 types of animations we require are, one that will display dynamic polling information, the other will be text scrolling horizontally and vertically in a smooth manor.
The selected designer will receive the .XML Files which the action script will pull the information from.
We would like the following animations:
1) Every time a new Text is added to the external XML file, that text is "SMACKED" on the screen, tiny from the distance to big on the screen, it will streak down the screen until it disappears off the bottom of the screen, this will be in a random manor, the text will have rotation angles of 140degrees. The font can be changed easily, as well as the background graphic. It should also contain a holder for a logo in the lower right hand corner which will jiggle whenever a new TEXT is detected.
2) Every time a new Text is added to the external XML file, it will jump up from the lower part of the screen and stop at the top of the screen, every time a new text comes in, it will stack below that, bumping the top one up. This will happen infinitely. There should be a holder for a logo in the lower right hand corner, this logo should Blink everytime a new text is detected.
3) Every time a new Text is detected is should scroll from right to left. In between each new text, a logo should scroll with the text. This scroll should easily be able to switch from right to left, and with logo and no logo.
4) If possible to create a 3D effect, the actual REAL 3D effect that people use to watch with those RED and BLUE glasses. This text would fly in from the far distance and appear big on the screen, it should use Depth of field so the text appear to be flying out of the screen.
5) Voting Poll Animation, should match the examples given in the URL.
Thanks! Budget is about $200 total. If interested please email me [email protected]>>looking for a top flash developer with dream
actionscripting skills
Isn't everybody these days...
Wrong place to post this ->
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=38&catid=219 -
Help with some html code for flash site!
Got this site>
http:/www.thedesignport.com
Site works great! everything is uploaded! What I cant seem to
get workning is the html code to add a description under the title
of the website in a google search? Goto google enter "topanga
mountain school" I'm top spot on the second page but with NO
description?? have a look at the html code for
http://www.thedesignport.com
Have I gone wrong somewhere?? But I've found if you put
"topanga mountain school pdf" into google ( I have three pdf's on
the site) My site is Second on the search with a DESCRIPTION of the
pdf's under the site name?? I dont get it?? Any help would be
great!You're not getting any help here because this is the forum for discussions of the Community Help Client application and Help system in general. For CSS questions, you should probably try something like the Dreamweaver forum.
-
How to get source code for WinCE 6.0 USB Camera Driver for ARM4I Processor
Hi,
I am implementing USB camera driver for my mini2440 board which has an ARM4I processor. The sample code
"Windows Embedded CE 6.0 USB camera Driver" downloaded from:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2ef087c0-a4ae-42cc-abd0-c466787c11f2
does not support ARM4I processors. When trying to generate in VS2005 Platform Builder my WinCE 6.0
image for mini2440 with the Third party catalog items "MJPEG Decompression Filter" and "USB CameraDriver",
the linker giver errors. Please advise where to find a working source code for USB (now revision 1.1
("full-speed") is supported in my WinCE 6.0 image) camera for my ARM4I processor. The code should
be in C# but C++ will be fine also.
Thanks,
Pauli get this on the hyperterminal when i run the cameradshowapp.exe
Compulab Windows CE NAND X-Loader for CM-T35
Built Dec 20 2009 at 16:48:16
Version 1.01.222
Commit Date 16/12/09
Jumping to bootloader
Microsoft Windows CE Bootloader Common Library Version 1.4 Built Dec 20 2009 16:
46:16
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0x200b
Texas Instruments Windows CE EBOOT for CM-T35, Built Dec 20 2009 at 16:48:10
Version 1.01.222
OMAP3430 Version 0x4b7ae02f (Unknown)
TPS659XX Version 0x10 (ES2.x)
-OEMPinMuxSetup....
System ready!
Preparing for download...
INFO: Predownload
+FMD_Init
Checking bootloader blocks are marked as reserved (Num = 6)
+FMD_Init
WARN: Boot config wasn't found, using defaults
+FMD_Init
OALFlashStoreOpen: 4096 blocks, 64 sectors/block
OALFlashStoreOpen: 2048 bytes/sector, 14 reserved blocks
Calling LCD_TurnOn
+FMD_Init
+FMD_Init
BLConfigureFlashPartitions: dwBootPartitionSectorCount = 0x5fff, partition actua
l size =0x4d3a!!!
Hit space to enter configuration menu 5...
Hit space to enter configuration menu 4...
Hit space to enter configuration menu 3...
Hit space to enter configuration menu 2...
Hit space to enter configuration menu 1...
INFO: Boot Device location = 0x8000020
Load NK image from flash memory
+FMD_Init
ROMHDR (pTOC = 0x823b8c28) ---------------------
DLL First : 0x4001c001
DLL Last : 0x41c7c0d8
Physical First : 0x84001000
Physical Last : 0x863bbdec
Num Modules : 294
RAM Start : 0x863c0000
RAM Free : 0x863d5000
RAM End : 0x90800000
Num Copy Entries
Copy Entries Offset : 0x85256e38
Prof Symbol Length : 0x00000000
Prof Symbol Offset : 0x00000000
Num Files : 116
Kernel Flags : 0x00000002
FileSys RAM Percent : 0x00000020
Driver Glob Start : 0x00000000
Driver Glob Length : 0x00000000
CPU : 0x01c2
MiscFlags : 0x0002
Extensions : 0x84002020
Tracking Mem Start : 0x00000000
Tracking Mem Length : 0x00000000
NK Image Loaded
Launch Windows CE image by jumping to 0x80001000...
Windows CE Kernel for ARM (Thumb Enabled) Built on Apr 5 2011 at 17:47:22
+OEMInit
ýSETDATAOUT access is OK....
Forcing clean boot
MainMemoryEndAddress = 0x90800000
-OEMInit
+FMD_Init
Dumping registry defined VK
Row 0: 0x18 0x9 0x25 0x0 0x0 0x0
Row 1: 0x26 0xd 0x28 0x0 0x0 0x0
Row 2: 0x27 0x24 0x23 0x0 0x0 0x0
Row 3: 0x0 0x0 0x0 0x0 0x0 0x0
Row 4: 0x0 0x0 0x0 0x0 0x0
Row 5: 0x0 0x0 0x0 0x0 0x0 0x0
SMSC922x: Core Ethernet Init.
Lan9220 identified. ID_REV = 0x92200000
SMSC922x: MAC address = 00:01:c0:0a:a0:db
Lan9220 identified. ID_REV = 0x92200000
SMSC922x: MAC address = 00:01:c0:09:88:80
SDIO8686: Loading Driver [version = 38.p44]
SDIO8686: Reset with TPS GPIO 2 --> done
!!!Kernel mode PSL 'PRdr' de-registered!!!
!!!Kernel mode PSL 'HRdr' de-registered!!!
!!!Kernel mode PSL 'FRdr' de-registered!!!
EHCI USB Host: HcdPdd_Init+
[OTG] OMAPMHSUSBOTG::Init()+
OMAPMHSUSBOTG::PostInit(): Start.
DSPLINK Module (1.61.04) created on Date: Jun 24 2009 Time: 16:30:52
Display parameters:
Height = 0x280
Width = 0x1e0
HSW = 0x20
HFP = 0x8
HBP = 0x17
VSW = 0x1
VFP = 0x4
VBP = 0x3
DVI is not enabled
PixelClkDiv = 0x7
LogClkDiv = 0x1
ClkSelDSS = 0x5
TD035:: LCDTurnOn
TD035STEE1: Turned display on.
TD035:: Finished LCD VGA init
AUTOLAUNCH: Checking HKEY_LOCAL_MACHINE\Startup key for programs to run.
Can't open HKEY_LOCAL_MACHINE\Startup key.
[WiFi]: Firmware Version: 9.70.3.23
CCaptureFramework: Failed setting up the camera data.
CameraDShowApp: Initializing the camera driver list failed.CameraDShowApp: Retri
eving the driver list failed.CameraDShowApp: Selecting the camera device failed.
CameraDShowApp: Selecting the camera device failed.CameraDShowApp: Selecting the
camera device failed.CameraDShowApp: Selecting the camera device failed.CCaptur
eFramework: Retrieving the still stream config failed.
CameraDShowApp: Initializing the capture graph failed. -
How to use Event Tracking Code for Google Analytics in Dreamweaver CS5
I need to track clicks on links that go to an outside website. I've read about "event tracking code". I'm not sure if it's the right tool to use. And if it is, I've spent several hours reading about it and I can't figure out how to use it. It looks like you need to be an expert developer to be able to make sense of all this. I've always been helped when I ask a question here, I'm hoping that someone can help me.
What my client needs is to know what links are being clicked, and how often. Here's the page where I want to do this: Available Homes - Arizona Vacation Home Rentals
I added a code that I created using the tool I found here: General Event Tracking Code for Google Analytics but can't see to be able to make this work. I added this code to the first link called "View it Here" for the top, left house. Here's the code: <a href="http://www.homeaway.com/vacation-rental/p3495538" onClick="ga('send', 'event', { eventCategory: 'clicks', eventAction: 'clicks on homes', eventLabel: 'Clicked'});" target="_blank">View it HERE!</a>
Then I set a Goal in Google Analytics like it said in the instructions but it doesn't seem to work... I would APPRECIATE ANY HELP!
Thanks,
BrigitteI think you misunderstood what Event Tracking is designed for. This is from Google Help
Tracking Code: Event Tracking - Google Analytics — Google Developers
"Use this to track visitor behavior on your website that is NOT related to a web page visit, such as interaction with a Flash video movie control or any user event that does not trigger a page request."
Clicks on links are page requests. I think for your purposes, you may want the Cross Domain Link Tracking plugin.
Cross Domain Tracking - Web Tracking (analytics.js) - Google Analytics — Google Developers
Nancy O. -
Revision: 4634
Author: [email protected]
Date: 2009-01-22 17:38:56 -0800 (Thu, 22 Jan 2009)
Log Message:
First part of glue code for allowing Halo components to use the new Text Layout Framework, in order to get functionality such as bidirectional text.
Background:
TLF is making this possible by implementing a TLFTextField class. It is a Sprite that uses TLF to implement the same properties and methods as the legacy TextField class in the Player. Thanks to the createInFontContext() bottleneck method in UIComponent, it can be used by a properly-written Halo component (such as those in Flex 3) without any modifications to the component.
Note: Text should render similarly -- but is unlikely to render identically -- when a component uses TLFTextField vs. TextField. The width and height may be different, affecting layout; text could wrap differently; etc. This is a fact-of-life based on the fact that TLF/FTE and TextField are completely different text engines.
Whether a Halo component uses TLF or not to render text will be determined in Flex 4 by a new style, textFieldClass. (Gumbo components always use TLF.)
TLFTextField is currently only partially implemented. It does not yet support scrolling, selection, editing, multiple formats, or htmlText. Therefore it can only be used for simple display text, such as a Button label.
Details:
The TextStyles.as bucket 'o text styles now includes a non-inheriting textFieldClass style. It can be set to either mx.core.UITextField or mx.core.UITLFTextField. These are the Flex framework's wrapper classes around the lower-level classes flash.text.TextField (in the Player) and its TLF-based workalike, flashx.textLayout.controls.TLFTextField.
The global selector in defaults.css currently sets it to mx.core.UITextField using a ClassReference directive. For the time being, all Halo components will continue to use the "real" TextField.
The new UITLFTextField is a copy of UITextField, except that it extends TLFTextField instead of TextField. This class has been added to FrameworkClasses.as because no classes in framework.swc have a dependency on it. It will get soft-linked into applcations via the textFieldClass style.
The TLFTextField class currently lives in a fourth TLF SWC, textLayout_textField.swc. This SWC has been added to various build scripts. The external-library-path for building framework.swc now includes all four TLF SWCs, because UITLFTextField can't be compiled and linked without them. However, since they are external they aren't linked into framework.swc.
Properly-written Halo UIComponents access their text fields only through the IUITextField interface, and they create text fields like this:
textField = IUITextField(createInFontContext(UITextField));
(The reason for using createInFontContext() is to support embedded fonts that are embedded in a different SWF.)
The createInFontContext() method of UIComponent has been modified to use the textFieldClass style to determine whether to create a UITextField or a UITLFTextField.
With these changes, you can now write code like
to get two Buttons, the first of which uses UITextField (because this is the value of textFieldClass in the global selector) and the second of which uses UITLFTextField. They look very similar, which is good!
Currently, both Buttons are being measured by using an offscreen TextField. A subsequent checkin will make components rendering using UITLFTextField measure themselves using an offscreen TLFTextField so that measurement and rendering are consistent.
QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Deepa
Modified Paths:
flex/sdk/trunk/asdoc/build.xml
flex/sdk/trunk/build.xml
flex/sdk/trunk/frameworks/projects/framework/build.xml
flex/sdk/trunk/frameworks/projects/framework/defaults.css
flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/TextStyles.as
Added Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITLFTextField.asMany of your points are totally legitimate.
This one, however, is not:
…To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down. -
How to add new skins for Adobe Flash Player in DW CS4?
Hi everyone, I'm trying to insert a FLV file into my webpage using Insert | Media | FLV... from the top menu bar in dreamweaver cs4.
When the "Insert FLV" window opens up, I see a drop down list of different skins (clear skin, corona skin and halo skin) for the flash player, but none of these skins has the Full Screen button on it. How can i add a new skin to this drop down list that contains the full screen toggle?
Also, I'm using the Design view to build my website as I'm not very familiar with any kind of code.
Thanks in advance for your answers.How can i add a new skin to this drop down list that contains the full screen toggle?
You can't. You need a height and width for your player to appear correctly on the html page.
Also, I'm using the Design view to build my website as I'm not very familiar with any kind of code.
That's a real shame. You're severely limited working only in Design View. Kind of like working with a pencil between your teeth and both hands tied behind your back. Web design is all about code. While you're learning, you should at least keep split screen open so you can see the code DW writes.
Start your code lessons here:
FREE HTML & CSS Tutorials - http://w3schools.com/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/ -
How do I change the Version Code in the Flash Android settings Android app market?
I recently tried to update my app in the Android app market and when I uploaded it I got the following message:
"The new apk's versionCode (1000000) already exists."
In the Flash Adnroid settings I changed the version label but that did not help.
So I have two questions:
How do I change the Version code in the Flash Android settings? I changed the version number and version label but that did not work.
What is the difference between the version number and version label?I tried that but it did not work. Apparently there is a difference between the version code and version number (which is set in the Android settings). From my research the version label is optional, so there are no problems there.
This is the what the XML file says:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/2.6">
<id>com.company.nameofapp</id>
//Below is the correct version number, but has no relation to the version code.
<versionNumber>1.1.0</versionNumber>
<versionLabel>NewLayout</versionLabel>
<filename>Name of app</filename>
<description/>
I did find this piece of information for Androin version codes. (http://developer.android.com/guide/publishing/versioning.html) But I don't know how to place it into the xml file without conflicting with other code.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.package.name"
android:versionCode="2"
android:versionName="1.1">
<application android:icon="@drawable/icon" android:label="@string/app_name">
</application>
</manifest>
Any other thoughts are much appreciated. -
I am trying to save a custom code snippet in Flash CC and it does not save, any ideas why? I am using Windows 8.1 with Flash CC.
I even when into the "Edit Code Snippet XML" and added a Custom folder and a custom template. Then I went back to add the code snippet again and it still did not work.
About line 32, I added:
<category title="Custom"
isBranch="true" expanded="false"
description="Code for common interactions">
<snippet isBranch="false">
<title>Custom Snippet</title>
<description>This is an example of a custom code snippet.</description>
<requiresSymbol>true</requiresSymbol>
<code><![CDATA[
// Code goes here
trace("A custom code snippet");
]]></code>
</snippet>
</category>
Any assistance would be greatly appreciated.UserAgent for the OP is - Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100405 Namoroka/3.6.3 - he might be running a 64-bit 3rd party build.
-
Help with code for score-keeping with dynamic text box
Hi All,
I'm having an actionscript 2.0 problem with keeping score.
I have a dynamic text box with a variable called score.
I have the following action code for that variable:
_root.score = 0;
For the correct answer button I have this action:
_root.score = Number (score) +10;
This works fine to increase the score by 10 for each correct answer.
The problem is that I can't get an if statement to work for when the score reaches 150 to gotoAndPlay a certain frame. I've tried various syntax, I've tried it on the action for a button and an action for the timeline with:
onRelease = function () {
(My learning game is set up to allow for users to answer up to four extra questions to reach the score of 150).
Nothing works. Any suggestions please?
PamBelow is a link to a small sample file. See if you can find anything different between your file and the one linked that might cause yours to not work as desired.
http://www.nedwebs.com/Flash/AS2_score_sample.fla -
Who has the code for the mpegconverta
I have adobe premiere pro, I've edited it and want to burn it but it tells me I need an activation code for the MPEGconverta but nobody seems to know it at adobe ?
I don't think "MPEGconverta" is an Adobe product.
If you think it is part of Premiere Pro, then please ask in that forum. This is the Flash Player forum.
Maybe you are looking for
-
Hi, Could any one list out the typical reports (3 for each) generated in the following areas. Also list the SAP Delivered Report with the technical names: 1. Logistics Purchase Order 2. Material Management 3. Production Planning 4. Finance-Accounts
-
Does anyone know the 15.4W output power per user port in the current 802.3af is the min. or max.? I've seen conflicting info on different vendor's spec sheet. If it's the max., then why are some "802.3af" injectors outputting as much as 1A.
-
Same id but different device
-
SPRO > SAP Utilities > Device management > Technology > Device Category > Define Prepayment Meter Define Prepayment Meter In this IMG activity you define types of prepayment meter. A prepayment meter generally describes a case in which a customer can
-
I had an engineer scheduled for at BT Infinity 2 install today (6th August). The engineer arrived well within his allocated time, but on arrival he informed me that he may have an issue with the order as he had a previous issue with the same exchange