Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Sorry Doublepost, Ignore


.




FlashKit > Flash Help > Flash ActionScript
Posted on: 05-20-2003, 01:34 PM


View Complete Forum Thread with Replies

Sponsored Links:

IGNORE THIS
dont know what happened here.....cant get rid post.....see the one after this.....thx

View Replies !    View Related
Please Ignore...
Hello,

Please ignore this message.

Im trying to get familiar with the features of this BB.

View Replies !    View Related
Ignore
Posted in wrong forum.

Sorry.

{Dstinct}

View Replies !    View Related
Ignore This
Double Post





























Edited: 12/02/2006 at 10:21:36 PM by GTJackets530

View Replies !    View Related
Ignore
ignore this post

View Replies !    View Related
Ignore
I was able to do a right click with ActionScriprt 2, but I cannot do it.
Below is what I have for both my HTML and AS 3 codes








Attach Code

//---Here is my HTML code

<title>tutorial2</title>
<script language="javascript">
AC_FL_RunContent = 0;
function closewindow (URL,windowname,windowfeatures){
window.close(URL,windowname,windowfeatures);
}

function removeMenu(){
if (event.button == 2){
myMovie.TGotoFrame("pane_mc", 2);
parent.frames.location.replace('javascript: parent.dummy1');
}
}
</script>

//----Here is my AS3 code

//----- right click function ----------------
function rClick(myevent:MouseEvent):void{
if (this.pane_mc.hitTestPoint(root.mouseX, root.mouseY, true) != true) {
this.pane_mc.gotoAndStop(2);
}
}
pane_mc.addEventListener(MouseEvent.CLICK,rClick);

View Replies !    View Related
Ignore The TAB Key?
hello.

how do i make flash ignore the TAB key so that a user doesn't try TABing through Form items (like you can in a browser) and end up highlighting another flash Button rather than the next Form Cell

ORRR

how can I control the order in which items are TABed in my movie?

any thoughts?

thanks.

-mikey

View Replies !    View Related
Ignore
test

last time it did not work after all my typing

View Replies !    View Related
Ignore// Test
http://website.lineone.net/~dj_desig...ens/3_eyes.gif

View Replies !    View Related
Ignore Objects Help
I want to have my movie play at a certain point after mouse release, but to ignore certain objects. Here is the code I'm working with:

on (release) {
if (_currentframe == 46) {
play ();
} else if (_currentframe == 75) {
gotoAndPlay (46);
} else if (_currentframe == 95) {
gotoAndPlay (46);
} else if (_currentframe == 115) {
gotoAndPlay (46);
} else if (_currentframe == 135) {
gotoAndPlay (46);
}
}

On release at frame 46 I want the movie to play with everything on screen, but on release at frames 75, 95, 115, and 135 I want four objects to be ignored. I have not assigned them instance names.

How do I do this?

View Replies !    View Related
How Ignore Script ?
hi, check this out:
--On the movieclip (the NavigationMenu) i got this script:

Code:
onClipEvent (enterFrame){
if (this.hitTest(_root._xmouse, _root._ymouse, true)){
nextFrame();
} else {
prevFrame();
}
}
--On the buttons in the menu i got this script:

Code:
on (release) {
if (_root.menu.hitTest(_root._xmouse, _root._ymouse, true)){
_root.menu.prevFrame();
}
}

What i want is: When the buttons are clicked, the menu should slide back to each preveous frame (prevFrame(). But because the mouse doesn't have the time to slide of the menu-clip, the Menu gets the action nextFrame();.
Is there any way to ignore that Menu-script. Or if anyone has a better way to enable this action. please tell me ... :S

Regards Thomas D

Test/View My Movie

View Replies !    View Related
Ignore Actions Unless
i have a animation of a plane landing being worked on then taking off
one long timeline. i need it to play on a continues loop unless a button is pressed to go to "pressintation mode" then i need it to use frame lables and actions that are on the timeline.

i am including a simple ani to help understand (hopfully)

View Replies !    View Related
Ignore Nested Mc's
Hi
I have a mc that contains several nested mc's. One of these is a close button that closes the top-level movie. This is the script ....

on (release) {
_root.chart_top.GotoandStop(1);
}

My problem is that the nested mc's are also returned to frame 1. How can I order the top level mc to a frame without it affecting the children?

Thanks
Mark

View Replies !    View Related
I'm A Spammer, Ignore Me Please.
Hi,
I want to ask all of you to have a look on my site <spam> to see if everything is working all right. The thing is, that when I check my statistic of my page, I can see by almost all the visitors which have seen it, it shows up the time how long they've been on the website. Actually always shows up 0 minutes and seconds. It's very wierd, so I just wanted some of you to look, what could be wrong. Anyway, is there any software which is able to check the function the sites, by the way? Thank you a lot for every help.

View Replies !    View Related
[MX] How Do I Ignore Actionscript
i need to ignore a piece of code in my actionscipt but not all the time, pretty much only when i press a certain button on the screen. What is the best way to do this?

View Replies !    View Related
How To Ignore Enter Key?
I had an application nicely set up where the input is done mostly by mouse.
Now it appears that pressing Enter will skip to the next frame, no matter what.
How do I prevent that from happening?

View Replies !    View Related
Getting URLLoader To Ignore
Is there a way to get the URLLoader object to ignor
in a text file? I want to use a text file as a configuration file...something like this...

gamename=gameone&gamelevel=2

this works but I have lots of variables and want to format my text file with a variable on its own line like this...

gamename=gameone&
gamelevel=2

The problem is URLloader doesn't know how to handle the new line.
is there a way around this???
Thanks
T

View Replies !    View Related
Repeat, Ignore
.





























Edited: 12/11/2008 at 05:15:42 PM by drumzit

View Replies !    View Related
Don't Ignore This Question
hi,
i have been posting questions up and never get an answer, I am wondering it its because of the design suffix i have next to my name. Anyways, I have this page that works wonderfully on my computer, but when I load to the server it acts wacky. http://www.omarsharif.tv/flashintro/.../portmain.html
the main movie keeps on reloading when i load external files. HOw can i fix this..
ur answers are most appreciated

omar

View Replies !    View Related
How To Ignore Escape Key?
Hi to all,

I used the fscommand("fullscreen",true) in my application to make it fullscreen. However when the user presses the Escape key, the window goes into the normal view. Is there any way of disabling the Escape key to make my movie in fullscreen all the time? and the only way to quit the movie is my clicking the label I created 'Exit' with the AS command fscommand("quit");

Thanks for all the help


regards,

Casper

View Replies !    View Related
AS 2.0 - If Swf Is Already Loaded, Ignore
See attached diagram for clarity. Sorry for the long msg.

Hello - I am creating a site where there is a portfolio section with icons for each piece of artwork.

Regardless of which icon 1-10 is clicked, for the first time ONLY, I want to load a swf which "draws in" a portfolio "background", and another swf on a higher level which corresponds to the icon clicked (lets say a sample artwork).

However, if the user has previously clicked another portfolio icon and is currently viewing one of the portfolio pages, there is no need to load the "background" swf again (it would be tedious watching the drawing in animation over again).

I've designated a target container movieclip for each.

The icons swf file with the buttons is another swf on the timeline.

Is there some code which can check to see if the background swf is already loaded into its container? And in which swf would I attach the code? Any help appreciated.

View Replies !    View Related
Testing (ignore)
Code:
// Starting x & y values
var xPos:Number = 150;
var yPos:Number = 400;

// Maximum number of buttons allowed
var btnMax:Number = 20;

for (i = 0; i < gallery.length; i++) {
attachMovie("btn_mc", "btn"+i, this.getNextHighestDepth(), {_x:xPos, _y:yPos});
xPos += this["btn"+i]._width+5;

// Add the information
this["btn"+i].num.text = number[i][0];

View Replies !    View Related
Don't Ignore This Question
hi,
i have been posting questions up and never get an answer, I am wondering it its because of the design suffix i have next to my name. Anyways, I have this page that works wonderfully on my computer, but when I load to the server it acts wacky. http://www.omarsharif.tv/flashintro/.../portmain.html
the main movie keeps on reloading when i load external files. HOw can i fix this..
ur answers are most appreciated

omar

View Replies !    View Related
Ignore The Previous One
Hi,
I have created a dynamic menu by using nesting a button template in a movie clip & calling duplicateMovie() in the ActionScript involved. The button labels were created by passing values from an array that was declared in the ActionScript itself. Now if i want to create submenu for certain menu buttons, how can i go on doing that ?
I'm including the .fla file for reference.

View Replies !    View Related
How To Ignore Case?
Hi

Is there any way in ActionScript to make caseINSENSITIVE comparisons? If yes, please let me know 'how'.

Thanks
Daisy

View Replies !    View Related
Ignore The Previous Post...please
Never mind....thanks for trying though

View Replies !    View Related
Ignore MouseEvent.CLICK
Hey Guys,

I have a hard time catching the mouse click on the movieclips that I want to act on. I have 2 layers on the main timeline: 1) text label (wrapped in a MC) and 2) 2 movieclips that I want to catch the click event from.



In actionscript 2.0, it is really easy. I only need to set the onRelease function for the 2 movieclips. I can just ignore the text. This way, I can catch the click action on the movieclips that i set onRelease for with my mouse over text. But, now, I can't. Because if I click with my mouse over the text, the returned target is the text.

My question is how can I do to ignore the mouse click event for my labels?

I have attached the fla

Thanks,

Justin

View Replies !    View Related
CS3 - Ignore MouseOut After CLICK?
I am new to CS3 and having a problem with an animated menu. I want to ignore a MouseOut event after a mouseCLICK event so my button displays a down state. Here is the code i have:

import flash.display.MovieClip;
stop();

btn1_mc.buttonMode = true;
btn2_mc.buttonMode = true;
btn3_mc.buttonMode = true;
btn4_mc.buttonMode = true;
btn5_mc.buttonMode = true;
btn6_mc.buttonMode = true;
btn1_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver);
btn1_mc.addEventListener(MouseEvent.ROLL_OUT,onBut tonOut);
btn1_mc.addEventListener(MouseEvent.CLICK,onButton CLICK);
btn2_mc.addEventListener(MouseEvent.ROLL_OVER,onBu ttonOver);
btn2_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);
btn2_mc.addEventListener(MouseEvent.CLICK, onButtonCLICK);
btn3_mc.addEventListener(MouseEvent.ROLL_OVER,onBu ttonOver);
btn3_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);
btn3_mc.addEventListener(MouseEvent.CLICK, onButtonCLICK);
btn4_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver);
btn4_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);
btn4_mc.addEventListener(MouseEvent.CLICK, onButtonCLICK);
btn5_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver);
btn5_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);
btn5_mc.addEventListener(MouseEvent.CLICK, onButtonCLICK);
btn6_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver);
btn6_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);
btn6_mc.addEventListener(MouseEvent.CLICK, onButtonCLICK);

function onButtonOver(e:MouseEvent):void
{
e.currentTarget.gotoAndPlay("over");
}

function onButtonOut(e:MouseEvent):void
{
e.currentTarget.gotoAndPlay("out");
}

function onButtonCLICK(e:MouseEvent):void
{
e.currentTarget.gotoAndPlay("down");
}

Thanks in advance for any help.

View Replies !    View Related
Ignore MouseEvent.CLICK
Hey Guys,

I have a hard time catching the mouse click on the movieclips that I want to act on. I have 2 layers on the main timeline: 1) text label (wrapped in a MC) and 2) 2 movieclips that I want to catch the click event from.



In actionscript 2.0, it is really easy. I only need to set the onRelease function for the 2 movieclips. I can just ignore the text. This way, I can catch the click action on the movieclips that i set onRelease for with my mouse over text. But, now, I can't. Because if I click with my mouse over the text, the returned target is the text.

My question is how can I do to ignore the mouse click event for my labels?

I have attached the fla

Thanks,

Justin

View Replies !    View Related
Ignore Nested Xml Nodes
I've got a xml document with nodes (items) that have several nested nodes (title, location, etc.). Some of the items have nested nodes that others do not have. Here's an example of the xml document:


Code:
<item>
<title>Item 1</title>
<location1>Suite 200</location1>
<varname>item1</varname>
</item>

<item>
<title>Item 2</title>
<location1>Suite 400</location1>
<location2>Suite 500</location2>
<varname>item2</varname>
</item>
My problem is when I load the xml, in this example, Flash seems to apply the the location2 node to the first <item> tag since that tag lacks that particular node.

Here's the code I'm using to bring in this xml data into a list box component:


Code:
function mylist_onLoaded(e:Event):void
{
xml = new XML(e.target.data);
var il_mylist:XMLList = xml.item;
for(var i:uint=0; i<il_mylist.length(); i++)
{
mylist_lb.addItem({
data:il_airlines.description.text()[i],
location1:il_mylist.location1.text()[i],
location2:il_mylist.location2.text()[i],
varnamedata:il_mylist.varname.text()[i],
label:il_mylist.title.text()[i]});
}
}
I realize that I could just add the location2 node to the first item and leave it blank, but that would be very hard to ensure that this xml document is mantained properly. I tried using an if statement to skip the missing node if it doesn't exist, but it didn't work either:


Code:
function mylist_onLoaded(e:Event):void
{
xml = new XML(e.target.data);
var il_mylist:XMLList = xml.item;
for(var i:uint=0; i<il_mylist.length(); i++)
{
mylist_lb.addItem({
data:il_airlines.description.text()[i],
location1:il_mylist.location1.text()[i],
if (il_mylist.location2.text != null){
location2:il_mylist.location2.text()[i],
}
varnamedata:il_mylist.varname.text()[i],
label:il_mylist.title.text()[i]});
}
}
Any ideas on what I'm not grasping? Thanks!

View Replies !    View Related
Get Objects To Ignore Mouse?
i have this window class i've been working on all day

http://fall-time.com/bryan_test/moon...est/index.html

everything works great, except!!! the click area to move the window (the bar) is only clickable where there are no objects, including the title.

i have complicated code inside doing the spacing on the objects on the title bar, so it's not as easy as just putting the text underneath the sprite that you are clicking on to drag the window.

is there a way to set the text for the title to ignore the mouse events somehow? so that the mouse events reach teh drag bar.

this is a Window class written from the ground up, so don't confuse it with the Window class already in flash.

it's in com.package.packge.package etc,custom class

ActionScript Code:
//initW,iniH,resizable,maxW,maxH,minW,minH
test = new Window(350,300, true, 1500, 1600, 250, 50);


//create close btn
var closeBtn:Sprite = new Sprite();
closeBtn.graphics.beginFill(0x000000);
closeBtn.graphics.drawRect(0,0,14,14);
closeBtn.graphics.endFill();
closeBtn.y = 2;
closeBtn.addEventListener(MouseEvent.CLICK, p_onClose);
closeBtn.buttonMode = true;

//create randomsize button
var minBtn:Sprite = new Sprite();
minBtn.graphics.beginFill(0xff0000);
minBtn.graphics.drawRect(0,0,14,14);
minBtn.graphics.endFill();
minBtn.y = 2;
minBtn.addEventListener(MouseEvent.CLICK, p_onRandomSize);
minBtn.buttonMode = true;

//this line defines the title, and then how to align the elemnents inside, and then append extra objets that go into the title bar
test.setTitleBar('View Image', [Window.TITLE_BAR_ALIGN_LEFT, Window.TITLE_BAR_ALIGN_RIGHT, Window.TITLE_BAR_ALIGN_RIGHT], [minBtn, closeBtn]);
//the class automatically spaces out the objects and places them and repositions them on resizing the window, VERY handy!
test.x = 100;
test.y = 100;
addChild(test);

//load content into the window
var t:Loader = new Loader();
t.load(new URLRequest('http://www.healthline.com/blogs/outdoor_health/uploaded_images/Bear-Grandfather-Mtn-Tim-Floyd-779608.jpg'));
test.addContent(t);

View Replies !    View Related
Check If Loaded Then Ignore?
I have the following code that is inside an MC that loads when a nav button is clicked. This same code will be on all 4 nav buttons but I don't want it to re-load each time. Is there a way I can add code to it so that whichever nav button initially loads it, if another nav button is clicked it will check to see if it's loaded and if not will only then load it. I only want to load it once.

Help me Obi Wan Kenobi your my only hope!

Thank you!


loadMovieNum("QUOTES.swf", 5);
stop();

View Replies !    View Related
How To Ignore Escape Characters?
Hi,
When I receive a string from an external source, I want to be sure that for example "C:
ew folder" the
is NOT read as "new line". ("new folder" is just an example, it can be anything else though).
When I use escape("C:
ew folder") I get the following:
C%3A%0Aew%20folder
and it should be
C%3A%5Cnew%20folder

How can I ignore the escape characters?

View Replies !    View Related
Ignore - Double Post Here...
Oops.





























Edited: 09/20/2007 at 08:24:45 PM by Calbruc

View Replies !    View Related
Repeated Message Please Ignore
repeated message please ignore





























Edited: 01/14/2007 at 04:28:19 AM by lajettee

View Replies !    View Related
Duplicate Question Please Ignore
I've attached my code. I'm trying to move the a new frame based on a randomly generated number.

For example currentframe + a dice roll value.

I need this soon so any help would be greatly appreciated.







Attach Code

stop()

// In our case here, the function rollDice is called when the button is pressed and the roll onClick parameter is set to true.

// showResult is called when the dice has finished moving
function showResult(de_instance){

// result represents the text field variable that will receive the value of rollValue
_root.result = de_instance.rollValue;
}

// rollDice is called when the Roll button is pressed roll() is the method use to roll a dice
function rollDice(){
de.roll();
}

// the function below is triggered as soon as the “Roll” button is pressed
myRollButton.onPress = function(){
rollDice();
}

View Replies !    View Related
Ignore Extended Class
Hello, I have this movieClip that has a class linked to it.
Class:'mc_ex1'
Base Class:'com.template.ExClass'
Is there a way to call them onto the display and ignore the base class or switch it out with the default 'flash.display.MovieClip'? Thanks, -Jake

View Replies !    View Related
Possible To Ignore Some Line Of The Script?
Ok. I'm new here, and this is my 1st post up here.
I would like to know that isit possible to ignore some line of script without the "//"thingy. As example like I have this function, and there is 2 buttons sharing the action, but for the 2nd button, I would like it to ignore some line of the function, so would it be possible?

example:

_root["slide"+i]["ani"+i]["btn"+i].onRollOver = function() {
tellTarget (slide1.ani1) {
gotoAndPlay(2);
}
name = this._name;
num = name.substring(3, 4);
_root.mcRollOver(num);
};


So this is function for the both button, but I would like the 2nd button the ignore the: tellTarget (slide1.ani1) {
gotoAndPlay(2);
}
so isit possible?

View Replies !    View Related
Ignore Whitespace With Loadvars?
Hey folks, anyone know of a way to ignore whitespace with HTML text (brought in using loadVars), like you can with XML? I saw a mention of using charCodeAt somewhere, but it had no explanation of how this might work.

View Replies !    View Related
Help: Need To Ignore Mouse Clicks
hi guys I need a some help plz

in action script, I need a way to ignore any mouse clicks by the user , until I finish running a function, and then undo this ignore function.

Why: until my animation stops, so the user won't activate some other animation, there for I want to ignore any clicks he might do.

help would be very appreciated at this point

View Replies !    View Related
Want To Ignore Child Clicks?
Hi all,
This problem has partly evolved from another thread, but I've made a bit of progress and need a little (more) advice.

I have a waypoint drawing system that works within a limited "drawRegion", then you click this region it adds a new dot, you click again and it draws another and adds a line between them. The dots instances have their own mouse behaviour (draggable) and the lines are children of the dot instances.

The problem is that the last dot extends a line to the mouse tip and when you click, it bubbles up and acts as a click on the dot parent, causing it;s drag behaviour and moving it to current mouse location.

I wanted the lines to be ignored by clicks, they have no behaviour and the drawRegion itself needs to know if the user clicked on blank space or a dot.

I have added some behaviour to the lines so they enact my drawRegion.MouseDown method (generates new dot).

After provisionally testing all of this I realised it won't work, essentially there will ALWAYS be a line directly under the mouse cursor and will therefore never reach the dot-drag action. Which leads me to thinking about some horrid method that finds if the mouse is over a dot or not, basically wasting all the lovely provided methods.

I have tried fiddling with mouse disabling and mouseChildren and also bubble/capture booleans on the event listeners themselves.. but I'm not sure I can get these planets to align.

Is there a way to make a sprite permeable to mouse clicks? So it will instead register as a click on whatever is (visually) "behind" the line beneath the cursor? Or will I have to code something so the line never extends all the way to the mouse cursor? Or just write something that manually sees what the cursor is over?

Any help is gratefully received..

View Replies !    View Related
Ignore MouseEvent.CLICK
Hey Guys,

I have a hard time catching the mouse click on the movieclips that I want to act on. I have 2 layers on the main timeline: 1) text label (wrapped in a MC) and 2) 2 movieclips that I want to catch the click event from.



In actionscript 2.0, it is really easy. I only need to set the onRelease function for the 2 movieclips. I can just ignore the text. This way, I can catch the click action on the movieclips that i set onRelease for with my mouse over text. But, now, I can't. Because if I click with my mouse over the text, the returned target is the text.

My question is how can I do to ignore the mouse click event for my labels?

I have attached the fla

Thanks,

Justin

View Replies !    View Related
Ignore White Does Not Seem To Work
Hi

I'm very new to this so I've most definitely made a mistake somewhere but not sure what I've done wrong. I have adapted a new ticker so that it displays more rows but the rows that have no data display as undefined rather than blank.

Here is my code.


Code:
function loadXML(loaded) {
if(loaded) {
xmlNode = this.firstChild;
date = [];
act1 = [];
act2 = [];
act3 = [];
act4 = [];
total = xmlNode.childNodes.length;
for(i=0;i<total;i++) {
date[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
act1[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
act2[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
act3[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
act4[i] = xmlNode.childNodes[i].childNodes[4].firstChild.nodeValue;
}
first_item();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("gigs.xml");

function first_item() {
delay = 3000;
p = 0;
display(p);
p++;
}

function timer() {
myInterval = setInterval(ticker,delay);
function ticker() {
clearInterval(myInterval);
if(p == total) {
p = 0;
}
fadeout();
}
}

function display(pos) {
newsMC.newsText._alpha = 100;
newsMC.newsText.text = date[pos];
act1MC.actText.text = act1[pos];
act2MC.actText.text = act2[pos];
act3MC.actText.text = act3[pos];
act4MC.actText.text = act4[pos];
timer();
}

function fadeout() {
this.onEnterFrame = function() {
display(p);
p++;
delete this.onEnterFrame;
}
}
Any help would be greatly appreciated.

View Replies !    View Related
How To Ignore Masking On One Particular Child
Hi everyone,

I was working with masks today and something was bugging me... For example, I have a Movieclip and 2 Childs:

- Parent: Movieclip
- Child of Movieclip: Mask
- Child of Movieclip: Shadow

Now, Mask is working properly for Movieclip and is also applying the mask effect to Shadow. I would like Shadow to stay behind Movieclip but to ignore the Mask effect.

Is it possible? Or should Shadow be adopted by Stage instead of Movieclip?

View Replies !    View Related
Mac IE/Safari Ignore Flash Id / Name Property
Folks, hope someone may help me out on this one ...

I have a audioplayer like this ...
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="585" HEIGHT="307" id="flashmovie" name="flashmovie">
<PARAM NAME=movie VALUE="pop/hotsite.swf?cd=<%=cd%>">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=best>
<PARAM NAME=bgcolor VALUE=#EEEEEE>
<EMBED id="flashmovie" name="flashmovie" src="pop/hotsite.swf?cd=<%=cd%>" menu="false" quality=best bgcolor=#EEEEEE WIDTH="585" HEIGHT="307" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
And a IFRAME on same file forces the Flash to reload on a new CD code ...

<script language="JavaScript">
function mpb(cod) {
parent.document.flashmovie.movie = "pop/hotsite.swf?cd="+cod;
parent.window.scrollTo(0,0);
}
</script>

<a href="javascript:mpb(15)" class="top-nav">Click</a>

The problem is on Windows works perfectly but no good for Mac ... it doesn't seem to recognize the Flash object ...

Grateful for ANY help.

View Replies !    View Related
Is There A Way To Ignore Hard Returns In A Txt File?
I have a flash banner scrolling one line of text from a txt file from right to left (like a news ticker).

Problem is, if there is a hard return in the txt file then i get a two lined paragraph of text scrolling across now.

Is there anyway i can make flash ignore the hard return in the txt file?


Quote:





my code:

var x = read_txt.textWidth;
this.createTextField("display_txt", 0, Stage.width, 20, x, 20);
display_txt.text = read_txt.text;
display_txt.autoSize = 'left';
display_txt.multiline = false;
display_txt.wordWrap = false;
display_txt.setTextFormat(formatObj);
onEnterFrame = function() {
display_txt._x -= 4;
if (display_txt._x <= -display_txt._width) {
display_txt._x = 650;
}
}
stop();

View Replies !    View Related
Is There A Way To Ignore Hard Returns In A Txt File?
I have a flash banner scrolling one line of text from a txt file from right to left (like a news ticker).

Problem is, if there is a hard return in the txt file then i get a two lined paragraph of text scrolling across now.

Is there anyway i can make flash ignore the hard return in the txt file?


Quote:




my code:

var x = read_txt.textWidth;
this.createTextField("display_txt", 0, Stage.width, 20, x, 20);
display_txt.text = read_txt.text;
display_txt.autoSize = 'left';
display_txt.multiline = false;
display_txt.wordWrap = false;
display_txt.setTextFormat(formatObj);
onEnterFrame = function() {
display_txt._x -= 4;
if (display_txt._x <= -display_txt._width) {
display_txt._x = 650;
}
}
stop();

View Replies !    View Related
Copyright 2005-08 www.BigResource.com, All rights reserved