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




Flash Inventing Nonexistent Markup <li>



Hi There--

Have put together a site where textfields are imported using the loadVars command.

Here it is:

http://grasshpr.home.mindspring.com/...ernate1_3.html

Here's the entire folder, which includes the textfiles and the fla:
http://grasshpr.home.mindspring.com/shinnAlternate1

The problem is that on some of the textfiles, Flash is adding markup where there isn't any, in the form of list dots. The kind you get when you put <li> in front of a line. (It probably won't do it for you. Flash just wants to drive me crazy. (It's succeeding.))

This only occurred in the last iteration of the design.

It's occurring on both of the computers I have access to, so it's something in the file.

Since this is the first time I've imported text, I'm utterly clueless as to what could be making this happen.

Has this happened to anyone else? If so, how did you solve it?

Any insight will be vastly appreciated.

Thanks for reading this,

Lee



FlashKit > Flash Help > Flash MX
Posted on: 08-24-2003, 12:16 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Using Web Standard Markup In Flash
Hello,

Simple question: I have numerous transitional xhtml pages marked up and ready to go. The code is basic but uses a few tags that are not recognized in Flash via HTML import- <h1>, <div> etc. Is there a best practice method for using this code without having to "dummy" down the code for use in Flash? Is there any advantage to importing the xhtml pages as XML and going that route or will I have the same problem?

Thanks,
Bob

Flash Markup Language
hey,
anyone out there know's anything about flash markup language? Just saw it at work at http://www.sukima****a.com. Thanks.

My Flash Variables Contain Html Markup?
am using actionscript below to post variables to cgi script:

stop();
avertissement = "";
t_name.text = "";
t_email.text = "";
t_phone.text = "";
t_comments.text = "";
recipient ="user@domain_name.com";
subject="Enquiry from website";

bt_submit.onRelease = function() {
if (t_name.text == "") {
avertissement += " name";
}
if (t_email.text == "") {
avertissement += " email adress";
}
if (t_comments.text == "") {
avertissement += " comments";
}
if (avertissement !== "") {
t_status.text = "Please fill in these fields : "+avertissement;
avertissement = "";
} else {
loadVariablesNum("cgi-bin/nms_formmail.pl", 1, "POST");
t_status.text = "";
nextFrame();
}
};

bt_clear.onRelease = function() {
avertissement = "";
t_name.text = "";
t_email.text = "";
t_phone.text = "";
t_comments.text = "";
t_status.text = "";
};

The flash variables are sent to the script which generates an email message but the variables seem to come with html markup. Here is what comes in the email:

Below is the result of your feedback form. It was submitted by (<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#666666" LETTERSPACING="0" KERNING="0">test@test.com</FONT></P></TEXTFORMAT>) on Thursday, May 10, 2007 at 17:31:17
---------------------------------------------------------------------------


comments: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#666666" LETTERSPACING="0" KERNING="0">test message</FONT></P></TEXTFORMAT>

phone: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#666666" LETTERSPACING="0" KERNING="0">000 555 3430343</FONT></P></TEXTFORMAT>

name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#666666" LETTERSPACING="0" KERNING="0">test name</FONT></P></TEXTFORMAT>

---------------------------------------------------------------------------

The same script works fine with html, have been searching everywhere trying to find a solution but everything I try either doesn't work or still sends variables with markup??

Any ideas??

Xml Markup Still Showing Up
i'm trying to load an xml file into my flash file but each time i load the xml into the flash, the xml markup is still there.
here is the fla and xml file

http://www.whathedale.com/kirupa/home.fla
http://www.whatthedale.com/kirupa/text/update.xml

thanks in advance.
dale tan.

Markup Tool
Hi



I am developing an application called markup. This allows a user to markup on pages/content he is viewing….my markup application has one tool bar and one markup area ….



What I want is to have different makrup areas for different pages in a presentation.



How I m doing this…


in a master file /base file I load this markup swf and the presentation swf….my markup is works fine if there is only one page in the presentation…but if there are more than one my markup objects are visible in the second page also…but I want separate markup regions for separate pages..


please help me..



thanks

shan

Xml Markup Still Showing Up
i'm trying to load an xml file into my flash file but each time i load the xml into the flash, the xml markup is still there.
here is the fla and xml file

http://www.whathedale.com/kirupa/home.fla
http://www.whatthedale.com/kirupa/text/update.xml

thanks in advance.
dale tan.

Namespaces In Xml For Html Markup
hi, we have an xml file we will be loading into a project. The xml will be littered with AS3 friendly styling (inline) but we were hoping to avoid the ugly CDATA--ie:
Code:
<![CDATA[<p>This is text</p>]]>
The approach we are hoping to accomplish would be declaring a namespace in the xml:


Code:
<pages>
<page>
<content xmlns:h="http://www.w3.org/1999/xhtml">
<text targetid="1">
<h:font color='#ffffff'>This text</h:font>will go into the box with id of 1.
</text>
<text targetid="2">
This text will go into the box with id of 2.
</text>
</content>
</page>
</pages>
i know there is a Namespace class, but i am not sure how to tie the two together....can someone give me a lead? I have read this , but it does not lead me to the connection with how this MAY work with html...if at all.

XML Text Displaying Markup
We are encountering an intermittent issue where the markup and tags that we are reading in from an xml file are being displayed. This problem occurs randomly for some and not at all for others. Has anyone experience this issue and have any insight?

Unwanted HTML Markup In Text Box Value
I've inherited a Flash MX 2004 document that has some text entry points that verify you've entered the right text before continuing or provide you a warning message and urge you to try hard. They're set up like so:

Code:
on (keypress "<Enter>")
{
if (titleInputText == "hoped-for text entry")
{
gotoAndPlay("someNamedTarget");
}
else
{
comment = "Hey--enter hoped-for text entry to continue!";
}
}
Some of them just weren't behaving at all correctly. With some handy-dandy trace() statements, I found that a few of them were returning values that included HTML formating of the text. Instead of getting

Code:
something entered

I was getting

Code:
<FONT = "Arial">something entered</FONT>

which is causing me all sorts of problems. How on earth can I turn off the HTML tags? Where did it come from?

(Why, yes, I do know just enough to get myself in trouble. Why do you ask?)

Any help would be greatly appreciated on this.

Retaining Markup Tags In HtmlText Fields
Is it possible to wrap an XML object so that it's element tags are preserved (not parsed) if it populates a text field as htmlText? I'm trying to use XML in an htmlText field where other (non-XML) text is styled using CSS. I get the results I'm looking for (except for the CSS) when I populate the text field as plain text (not htmlText).

I tried wrapping the XML in a <![CDATA[]]> tag, but that too was parsed when used as htmlText.

Any ideas?

W3C Markup Validation Service Web Site Shows Lots Of Errors For .swf Object
Hello;

I'm using the method to insert a .swf file into an Html document as described in the "Frequently Asked 'Flash' Questions" tutorial in this forum:
http://www.sitepoint.com/forums/showthread.php?t=210919

The flash object works fine in my browser.

When I try to validate the Html using the W3C Markup validation service it says that there are no attributes for SRC, QUALITY, PLUGINSPAGE, TYPE, WIDTH, HEIGHT, and MENU. It also says that the element EMBED is undefined.

Since it shows so many errors it looks like the W3C Markup Validation Service might not configured to work to .swf objects.

You can copy and paste the code below and you can see what I'm talking about. Here's the link to the W3C Markup Validation Service page:
http://validator.w3.org/


PHP Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Shockwave Flash Movie</title>
</head>
<body bgcolor="#AAAAAA">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="250">
  <param name="movie" value="300 x 250.swf" />
  <param name="quality" value="autohigh">
  <param name="menu" value="false" />
<embed src="300 x 250.swf" quality="autohigh" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="250" menu="false"></embed>
  </object>
</body>
</html>


I think that using the flash object will be ok but for my peace of mind can somebody tell me is it safe or wise to use the .swf object when the W3C web site shows so many errors?

Thanks.

Flash Script? Is Writing Flash Code Possible? Without A Flash Builder Like Flash MX
I want to get into flash programming on my website, but i do not have thecash to buy flash MX 2004, it is 499 US thats a lot of money.

Basically what i want to know is, can flash be written as code, like HTML or do i need to buy a flash builder. And if so, what can i do about learning this code

Thanx from Fenton Multimedia Designs

Flash Script? Is Writing Flash Code Possible? Without A Flash Builder Like Flash MX
I want to get into flash programming on my website, but i do not have thecash to buy flash MX 2004, it is 499 US thats a lot of money.

Basically what i want to know is, can flash be written as code, like HTML or do i need to buy a flash builder. And if so, what can i do about learning this code

Thanx from Fenton Multimedia Designs

Flash Versions Order Of Sequence : Flash 5, Flash MX, FlashMX 2004?
some questions on FLash versions

After Flash 5 was FlashMX then followed by FLashMX 2004 ???

which means Flash MX is version 6??

thanks for answering.

Can You Open A Flash File Made With Flash Mx, Using Flash Mx 2004?
Hi,

I have recently purchased flash mx 2004. However when I go to open my old flash mx flies in flash mx 2004 all I get is unexpected file format! Why is this? Also when I open flash mx 2004 and try to open one of the sample files it comes up with the same message!

Also when you download and install an extension from macromedia exchange, how do you then use the extension feature in flash? Were do you find it?

Any help on these matters would be appreciated?

Thank you

How Do You Update A Flash Object Without Flash? Selling A Flash Site.
I am wondering what may be a large wonder. If I create a website with flash etc for somebody else, how can they update their own site? For example, if they have an 'updates' page, I don't want to have to keep on redoing it for them in Flash. I heard words like 'strings' and 'XML' kicking about, but don't really understand it. Thanks,

Alex

Making A Flash Website (flash In A Flash In A Flash Etc...)
I am working on a flash "database" as it's called and to make this possible I will need to have multiple flash documents that load within a flash to keep the loading time down, otherwise the filesize would be astronomical!

To see what I am working on go to http://www.axeldesigns.com/h2/helpdatabase then click "menu button" to open the project. Hopefully then you can get a good sense of what I am trying to accomplish...So when you click on the individual links, I want a flash within the main flash to load completely on top with it's own load bar and everything.

I'm not very experienced with action scripting, but I am quite experienced with the animation side of flash and drawing tools etc...

So, if anyone knows of any tutorials or examples that I could work off of, please help me out.

Alex

Will An Swf Made In Flash MX That Is Exported As Flash 4- Play On Flash 4 Cpu's?
Will an swf made in Flash MX that is exported as Flash 4- play on Flash 4 cpu's? How do I get my mx movies compatible with people who only have Flash 4???? I ask this because I exported a movie made in Mx to Flash 4, so I am just wondering if it will play on all Flash computers that have Flash 4, eventhough they may not have flash 5 or mx. Thanks...

Updating Flash 4 Code To Flash MX 2004 Or Flash 8
Can Flash MX or Flash 8 automatically update old flash code or update depreciated code? I have a flash 4 project that when resaved as Flash MX 2004, obviously starts to throw errors.

Flash 8: Button For Flash Paper In A Flash Presentation
I am new to Flash. I have a presentation I am putting together.  I need a button to open a Flash Paper (Flash Papers 2) .  

How do I do this?
Does anyone sell premade buttons?

Thanks!
 

Flash Over Html, Hide Flash Access Html After Flash Movie Ends
We've got a green screened video playing in a flash movie over top of our html content.

when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).

this works and you can interact with the html content after the flash movie in all browsers except firefox...!

anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?

any input would be greatly appreciated!

HOW DO YOU CHANGE THE BG OF THE FLASH THING ON FLASH KIT W/OUT USING FLASH?
Plz tell me because I am making a little kid's website and they'll b sad if doesn't match the flash.

Yikes, Can I Go From Flash MX To Flash MX 2004 To Flash MX?
I have flash MX on my computer here at home, I went on campus to edit a file in a class in Flash MX 2004, now I am trying to reopen the file in Flash MX here at home again and it won't allow me to open it, saything there is an unexpected format error.

Is this caused from opening it in Flash MX 2004? Is there a way to revert the file back to Flash MX? Yikes!

Flash/CSS Question: Can Flash In A <div> Overlay Another <div> Containing Flash?
I'm guessing this answer is no but thought I'd ask anyway.

With the "wmode" set to transparent I can get my top div to overlay text/background images no problems but not on top of another flash movie.

Can it be done?

Flash 8 Function Not Working In Flash 8 But In Flash 9
I use this piece of Code from Senoculars Matrix Tutorial:


Code:
import flash.geom.Matrix;
function duplicateMovieClipImage(from, target){
var pics= new flash.display.BitmapData(from._width, from._height);
pics.draw(from);
target.attachBitmap(pics, 1);
}
duplicateMovieClipImage(this.viewer.picHolder, doubleSize.bigpic);
var my_matrix2 = doubleSize.bigpic.transform.matrix;
my_matrix2.scale(1, 1);
my_matrix2.tx = -2;
my_matrix2.ty = -2;
doubleSize.bigpic.transform.matrix = my_matrix2;

duplicateMovieClipImage(viewer.picHolder, normalSize.bigpic);
var my_matrix = normalSize.bigpic.transform.matrix;
my_matrix.scale(0.25, 0.25);
my_matrix.tx = 0;
my_matrix.ty = 0;
normalSize.bigpic.transform.matrix = my_matrix;
When I play this in a Flash 9 Player everything is made correct (A Pic generated in its Original Form and one in its 0.25/0.25 Size.

But when I watch this in a Flash 8 Player (8.0.22.0 that is)

the Script is ignored

any1 know why???

Firefox Recognizes Quicktime As Flash Player Instead Of Flash As Flash Player
I don't know why when I go to websites and all those old Flash sites don't work anymore, but I get the "Quicktime Question Mark" logo. I've tried reinstalling Flash Player so many times but the quicktime logo keeps coming up. I've tried this both with Firefox and Safari and it just doesn't work.

Nested Function Locks Flash On 2nd Frame. Cold Fusion Problem Or Flash MX ? Or Me?
It's been three days I don't sleep. Anybody,please,.....

// Flash MX code 2nd frame

stop();
validatePackage = new LoadVars();
validatePackage.onLoad = function() {
if (validatePackage.success == "0") {
setPackageCheck = new LoadVars();
setPackageCheck.onLoad = function() {
_root.packageCheck.text = setPackageCheck.packageCheck;
_root.unlockCheck.text = setPackageCheck.unlockCheck;
_root.gotoAndStop("exPrep");/* without this line
everything works perfectly !!!!!. WHY ! I mean I have other functions sending time line somewhere else accordint to if statments and it works fine!*/
};
setPackageCheck.accountID = _root.accountID.text;
setPackageCheck.sendAndLoad("setPackageCheck.cfm", setPackageCheck, "POST");
} else {
_root.packageCheck.text = validatePackage.packageCheck;
_root.unlockCheck.text = validatePackage.unlockCheck;
_root.vdDays1.text = validatePackage.vdDays;
_root.vdHours1.text = validatePackage.vdHours;
_root.vdMinutes1.text = validatePackage.vdMinutes;
_root.gotoAndStop("exPrep");/* without this line
everything works perfectly !!!!!. WHY !*/
}
};
validatePackage.accountID = _root.accountID.text;
validatePackage.sendAndLoad("validatePackage.cfm", validatePackage, "POST");


<--- "validatePackage.cfm"--->

<cfquery name="validatePackage" datasource="dsn">
SELECT packageCheck, unlockCheck
FROM accounts
WHERE accountID=#form.accountID#
</cfquery>
<cfif validatePackage.packageCheck lt 1>
<cfoutput query="validatePackage">
&success=0&
&unlockCheck=#urlencodedformat(validatePackage.unl ockCheck)#&
</cfoutput>
<cfelse>
<cfset vdDays=#DateDiff("d",#validatePackage.packageCheck #, now())#>
<cfset vdHours=#DateDiff("h",#validatePackage.packageChec k#, now())#>
<cfset vdMinutes=#DateDiff("n",#validatePackage.packageCh eck#, now())#>
<cfoutput query="validatePackage">
&packageCheck=#urlencodedformat(validatePackage.pa ckageCheck)#&
&unlockCheck=#urlencodedformat(validatePackage.unl ockCheck)#&
&vdDays=#vdDays#&
&vdHours=#vdHours#&
&vdMinutes=#vdMinutes#&
</cfoutput>
</cfif>

<--- "setPackageCheck.cfm"--->

<cfquery name="setValues" datasource = "dsn">
UPDATE accounts
SET packageCheck= #now()#
WHERE accountID=#form.accountID#
</cfquery>
<cfquery name="setPackageCheck" datasource = "dsn">
SELECT packageCheck, unlockCheck
FROM accounts
WHERE accountID=#form.accountID#
</cfquery>
<cfoutput query="setPackageCheck">
&packageCheck=#urlencodedformat(setPackageCheck.pa ckageCheck)#&
&unlockCheck=#urlencodedformat(setPackageCheck.unl ockCheck)#&
</cfoutput>

[MX04] Open A New Link In Html By Clicking Button In Flash (no Code In Flash).
Hi,

I'm facing problem while opening a new html window by clicking button created in flash.

For this i don't want to write single code in flash but want to handle this through the html only.

For this I have used <embed> tag to add swf file in html. but could not add click code in HTML on that button.

Could any one help me out?

Get Variables Inside Flash 9 Movie With Action Script 3 Using Flash Selenium And Sele
Dear All,


I use Selenium RC and I want to do automated flash testing. I am using Flash Selenium.


Web Application has Flash content (SWF file) and is Version 9.0 and uses Action Script 3.0.


I cant use the functions like flashApp.Getvariable(varName) or flashapp.TotalFrames() as mentioned http://code.google.com/p/flash-selenium/


I see documentation and functions listed at ( http://www.adobe.com/support/flash/p...h/scriptingwit hflash_03.html functions for Flash 5 ), i cant use them . I get exception all the time.


I am trying to access the varibales in the flash movie which is loaded using GetVariable but Selenium throws an exception but no information message.


I want to ask can I use functions listed on above adobe site with Flash 9 movie with Action Script 3.0 ? If not is there any way to get variables inside Flash movie using Flash External Interface and Selenium RC ?


Best Regards !


/ Yogesh

How Print Html Page Or Word Outside Flash When Click Button Inside Flash ?
hello,


how print html page or word outside flash when click button inside flash ?

any ideas or what the action can help me to do that ?

Remove Double Click In XP For Flash & Show Flash In Firewall Protected Environment
Remove Double click in XP for flash & show flash inside firewall protected environment


Here is some code that will disable the annoying double click feature for flash when using XP. This code also enables all viewers to see your flash. For example some firewalls block flash (SO STUPID) but with this code instead of using the embed tags and object tags allows those users behind firewall environments to see your hard worked flash masterpiece.

Okay here is how you do it.
Inside your main file that is calling the flash .swf.
Remove the code that you currently have there and replace it with the code that is inside the putInsideIndex.html (see attachment)
Make sure that you change the name of the movie in that code so that it opens your swf. You might need to change the width and the height too so that you don't have your flash looking like a monster.

Alright then you need to take the other file called RemoveDoubleClick.js
Open it in your editor and change the name to the name of your choosing on line 12. Then post that file (DO NOT RENAME IT) into the same directory as the main file that you edited above. Most cases that would be the index.html or whatever.

So enjoy and start letting EVERYONE see your sites & be more user friendly!
GOOD LUCK!

New To Flash, Create A Flash Form Which Is Emailed Using CGI Script When Submit Button Is Pressed
I'm trying to build a form in flash that is emailed using CGI script. I'm just lost and confused and I just can't seem to figure this out.

This is the CGI coding for HTML and I just need to convert it to use in CS3:
<form action="

Outputting Data In Flash To Text Documents, Creating Textdocs With Flash & Mc Filters
Question 1: How do I add a filter to a movieclip from actionscript,
More specificly, the "adjust color" filter, and I want to decrease brightness, saturation, hue, and contrast... by actionscript...
If you dont know what I mean, use the circle tool to create a circle, convert to movie clip, click the "filter" tab, then click + and add a adjust color filter, you'll see what I mean...

Question 2: I need to output text to 'text' documents, no I cannot use shared objects for this, as it is a program for a client, and it isn't safe enough for me...

Basically, this is what I want to do...


Code:
var archive:Array = [];
archive[7] = "Hello I am the 8th archive";

//save to a text document called "archive7" in the directory myProgramfiles
//finished with code...
then

on initilization of my program, it'd do this

Code:
//get text from the text document I saved in the directory "myProgramfilesarchive7"
Thats what I really need

Question 3:Is there a way to create a folder, text document, through flash
//example


Code:
var textdoc:TextDocument = new TextDocument();
textdoc.name = archive7;
textdoc.text = "Hello I am the 8th archive";
Can anyone tell me how to do this

Thanks in advance

The Flash Anthology: Cool Effects &amp; Practical ActionScript - Chapter 1: Flash Essentials
This is an article discussion thread for discussing the SitePoint article, "The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essentials"

The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essenti
Notice: This is a discussion thread for comments about the SitePoint article, The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essentials.
__________

eXCELLENT! clearly composed article, gonna read the other chapters too. thanks

Call Flash Function From Href Tag Within A Flash Html Text Field?
I'm creating dynamic html fields within Flash and have been succesful calling javascript functions or launching browsers, but what would REALLY be cool would to actually call Flash functions with those href tags.

Does that sound like a possibility to anybody?

Or, alternatley, could a javascript function in the web page execute a function within the swf?

Create Java Pop Up From Flash Index Site To Standalone Flash Popup
Want bad help to create a javapop up link from index.htm flash movie with a enter button that leads to the other .swf that is a popup window with another .swf. How do I do that.

One more thing is there a real good downloadable on how to make "news" scrolls in flash the ones I have seen did not please me.

And is there a way to connect that "news" feed scroller to a text dokument for easier updates instead of having to redo the thing in the .fla file

Hope you understand my problems and I would really appreciate all help I can get.

Cheers

Best regards

/s

Flash 6 Generator Equivalent To Export Dynamically Populated Images From Flash
I'm trying to do an automatic export of graphics developed in flash, for static site elements- graphic buttons.
Generator used to export images from dynamically populated templates, but MX does not support generator, Also being that generator ran with 4 and 5, dynamic text field sizing was not an option-this is necessary to fit the button graphics to text.

Is there either something that I can generate buttons with flash, or has anyone seen a button generator that can batch export and use imported graphics?

Thanks in advance!!!

Using Flash To Open A New Browser Window - Exact Size Of Flash Movie?
Hi,

In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?

Cheers, Skratch

Using Flash To Open A New Browser Window - Exact Size Of Flash Movie?
Hi,

In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?

Cheers, Skratch

Pass Variable To Custom Function Not Working In Flash MX For Flash 6 Player
I have a Flash application that I built in Flash 5 that I want to now output in Flash MX (not 2004, though) for Flash 6 Player. The problem is that part of my code, which works fine if published for Flash 5 Player, breaks if published for Flash 6 Player. I am loading text from an external text file, and then passing the text contents of each variable to a function (to strip line breaks). Following is the code... does anyone know how to rewrite this so that it will work as Flash 6 Player swf? The contents of the variable are not getting passed, and eval does not work on left side of expression... I've tried everything I can think of...

Thanks in advance for help.

-S



PHP Code:



/* content, correct, Q1, Q2, Q3, etc are all variable loaded from external text file. I am trying to pass contents of variables, which is why I need to eval them. This worked in Flash 5, but not in Flash MX if I publish as Flash Player 6 file.  */   
temp = stripLineBreak("content");
temp = stripLineBreak("correct");
for (i=1; i<=10; i++){
     z="Q"+i
     temp = stripLineBreak(z);
}
     
function stripLineBreak(x) {
     tempArray = new Array();
     tempArray = eval(x).split("
");
     eval(x) = tempArray.join("");
     tempArray.splice(0,tempArray.length);
     tempArray = eval(x).split("
");
     eval(x) = tempArray.join("");
     tempArray.splice(0,tempArray.length);
}

Href Not Useable In Flash. . .then Any Ideas On How To Make A FAQ Type Thing In Flash
Without having to make all of your questions into buttons ??

any ideas sugestions please help.. .thanks

Darin

Any Tools To Convert Macintosh Flash Movie Source To PC Flash Version?
Hi Folks,

One of my client has given me a flash movie made in flash mx 2004 version 7.It is in Macintosh.

I am trying to open it in PC ,but it says " unexpected file format"

Are there any tools to convert from macintosh flash to PC flash.

Your help will be appreciated.

Thanks

Ie6 Crashes When The Mousepointer Leaves The Flash Movie Area. [Flash Player 8]
Not sure if this is the right area for this thread, but i'm not sure where it fits in...

I have a draggable map program that uses LoadVars.load to send location messages back to the server.

After a user saves a location, thereby triggering the load() method, and then moves their mouse pointer outside the area of the .swf movie on the html page, the browser crashes.

I haven't been able to replicate it on any other computer except this users', which is using Flash Player 8, and IE6. Of course the only user of this side of the app, is this user, so im forced to find an answer.

Anyone else run into this, or have any wisdom to impart on me?

Any Way To Activate Flash Fullscreen Mode When Flash Movie Loads In The Browser
Hi all,

I want to activate Flash Fullscreen mode when flash movie loads in the browser. Without activating it through button clicks.

I tried for this using this type of code:

function goFullScreen()
{
Stage["displayState"] = "fullScreen";
}
goFullScreen();

But it is not working this way, it is working when I put this type of code:

function goFullScreen()
{
Stage["displayState"] = "fullScreen";
}
button.onRelease=function()
{
goFullScreen();
}

thanks in advance,
Vikas.

Force Flash To Open File Download Box In Front Of The Flash Movie
Folks,
I'm making a dvd title using flash to auto start when people pops the dvd disc in.
I have a button 'Click here to download the movie' and clicking the button should pop up a file download box so people can save the movie file(.mov) to their desktop.
Problem is that the file download box shows up behind the flash movie so people won't be able to see the download box since it's hidden behind the flash. This is critical since I intend the flash to open as a full-screen mode.
Is there a way to force the flash to open the download box in front of the flash movie?

I tried getURL and fscommand ("exec", "filename.exe") and even fileReference commands to try different way of linking the movie file, and they all open download box behind the flash.

Please help~~~

Looking For FLASH Developer/guru To Create A Flash Intro For A Clan Site.
I am looking for a FLASH developer to create a custom FLASH Intro for my gaming clan forums.

A bit about us:
Clan Name: =bURnT=
Site: http://burnt.swisshut.com
Games Played: Battlefield 2 & Battlefield 2142

What we would like in the Intro:
- That it somehow complements our forums
- Includes the clan name
- Looks professional and loads within reasonable time
- Some sort of music / background soundtrack

We are a small clan and don't have the biggest budget but please consider us and give us a estimate of price if you are able to do this for us.

Regards,
Dieter Balmer (OzButcher)
didaswisshut@iinet.net.au





























Edited: 01/09/2007 at 10:20:52 PM by OzButcher

Flash Buttons That Navigate To Html Files In Same Folder As Flash Movie?
I'm completely new to Flash and AS3.......

however, i've managed to build a simple "intro" flash movie that has buttons on it that need to navigate to non-flash, DWCS3 based site files.

when i go into the button in flash, if i select text in the button there is a spot in the properties panel that allows for a URL link...i enter the name of the html file but it doesn't work......but this URL property field is not available to the entire button....

so i started looking at AS because i'm pretty sure i need to use events and event listeners....BUT all of the tutorials only cover getting an external URL or linking to a frame within a flash movie......none of them cover linking to an existing HTML file in the same folder.......(ie., to access the meat of the website through the flash intro buttons....)

help?

the movie is at www.methods.com/msite07/site07_intro_more.html if you'd like to take a look....the animated buttons need the link functionality.......

Flash Security Problems Integration Not Done Properly With The Version Above Than Flash Player 6.
Hi All,

I have my flash files hosted on http://images.xyz.com this is an apache server.
I have my webpages, on http://author.abc.com
I want to call this file & submit them using the send (or suggest any best metod from which i can call it properly) method but i guess due to security reasons its getting blocked can u please suggest solution.

(I am right now using javascript proxy method for sending varables from flash to my required software. the output file is some.aspx)

Copyright © 2005-08 www.BigResource.com, All rights reserved