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




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



Adobe > Flash Data Integration
Posted on: 01/04/2008 10:22:53 AM


View Complete Forum Thread with Replies

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

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.

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

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?

Standard Flash Preloader
On the web I have noticed some flash movies seem to have a default Macromedia Preloader?

They all look similair, is this the case? if so how do you get it?

Thanks

Flash Professional Vs Standard
Hi

can anyone post a source where I can find detailed information what is the difference between flash pro version and standard?

we need to buy one in the company but not sure if need to spend extra money on pro version...

will be really greatfull for your help, thx in advance

The Standard Flash Font
just wondering where to get the standard small flash font that everyone´s using. you probably know what I mean... it's very standard on many pages.
mostly the nicer and more hightech ones.. (it's small and "system" like style)

I thought it was a standard font from the font list in mx, but I can't find it in there. is it something that I need to buy first and add it?
does it come in vector format.

thanks! /nic

Can I Use Flash Standard Alone File ( EXE ) On The MAC OS System?
Can I use flash standard alone file ( EXE ) on the MAC OS system?

If so, it means I can run the EXE file on...

Windows ME / NT / 95 / 98 / 2000/ XP - AND - MAC OS

Is it correct?

Cheers

How Two Change The Standard Flash Icon?
Dear all,

On making a stand-alone *.EXE file; this file always has the standard Flash icon (gray bal with gray F inside). Does anybody know how to change this icon to one more appropriate for my application?

Probably very easy for you but not for me!

Many thanks for sharing knowledge,
Carfi

NB. Using Flash MX version 6.0

Standard Length For Flash Intros?
Whats the average length an intro should be these days?

I ask because I don't want mine to be too long to the point where i lose the user, but i still would like it to be somewhat longer than just a few seconds

Looking To Upgrade Flash, Can I Use Student Or Do I Need Standard?
Hello,
I have a question about upgrading to the new flash 8 that was just released by Macromedia. Right now I'm only using flash 5 and am looking to upgrade to flash 8, but am not sure if I will be able to use get the student edition or if I will require the standard edition. I am currently a student and will be for at least a couple more years, so I AM eligable for the student edition, however, I want to start making a profession out of website design and will be using my skills in flash to do so. So because I am going to be using it for income, will I need to get the standard edition?

Using Standard Features Of The Flash Player
I'm looking for a way to embed the standard features of the flash player into my flash movie. I would like to call actions like rewind, forward and zoom - just like when right clicking on a flash object.

Is there and easy way of doing this. Maybe a ready made viewer/player for this already exists in .fla?

Thanks

Dynamic Text In Flash AND Standard HTML
Hi,
I just finished a flash site for a client that loads a dynamic txt file for each page. The client would now like to have a simple HTML version of the site for slower users. My question is..

Is there a way to have the txt file shared between the flash site and the HTML version? This would be nice for the client so they would only have to update one file instead of two everytime there was a change. I tried using an 'iFrame' to call the txt file but I couldn't format the text. Any ideas?

Standard Webpage Linked To Flash Scene
Hello,

Is it possible to have a hyperlink in a standard webpage go to a specific scene in a Flash MX website?

Thanks,
MonaE

Which Design Pattern For Standard Flash Website?
Hello OOP gurus

I'm wondering which design pattern is the most appropriate for developing a standard flash website (5 pages, transition between each page etc)

State? Strategy? MVC? Combination of multiple?

Would appreciate any thoughts.

Thanks

Trouble Skinning Standard Components In Flash 8
I'm attempting to apply skins to standard components (such as RadioButton, ComboBox, and CheckBox) in Flash 8 Professional. I have followed the instructions supplied in Flash Help ... with no luck.

The instructions I have followed are accessible by clicking here.

I've determined that all I really need to do is change every instance of the 'theme' color in the Halo Theme ...

from ... #00FF00 (which is a fluorescent Green)

to ... #DECA8D (tan)

Is there a way to simply replace all instances of the halo 'theme' color (#00FF00) with the new one (#DECA8D)? As stated earlier I have followed the instructions contained within the Flash Help associated with this topic to a "T" ... but it basically just consisted of manually changing the 'theme' colors. They didn't outline any type of ActionScript ... which I find hard to believe - that changes of this nature wouldn't require any code.

I really hope someone can simply inform me of something I'm missing - or there's a 'quick' fix.

Thanks in advance for your help.

Trouble Skinning Standard Components In Flash 8
I'm attempting to apply skins to standard components (such as RadioButton, ComboBox, and CheckBox) in Flash 8 Professional. I have followed the instructions supplied in Flash Help ... with no luck.

The instructions I have followed are accessible by clicking the following link.
http://livedocs.adobe.com/flash/8/ma...=00003011.html

I've determined that all I really need to do is change every instance of the 'theme' color in the Halo Theme ...

from ... #00FF00 (which is a fluorescent Green)

to ... #DECA8D (tan)

Is there a way to simply replace the original 'theme' color (#00FF00) to the new one (#DECA8D)? As stated earlier I have followed the instructions contained within the Flash Help associated with this topic to a "T" ... but it basically just consisted of manually changing the 'theme' colors. They didn't outline any type of ActionScript ... which I find hard to believe - that changes of this nature wouldn't require any code.

I really hope someone can simply inform me of something I'm missing - or there's a 'quick' fix.

Thanks in advance,
Brett

Trouble Skinning Standard Components In Flash 8
I'm attempting to apply skins/styles to standard components (such as RadioButton, ComboBox, and CheckBox) in Flash 8 Professional. I have followed the instructions supplied in Flash Help ... with no luck.

The instructions I have followed are accessible by clicking the following link.
http://livedocs.adobe.com/flash/8/ma...=00003011.html

I've determined that all I really need to do is change every instance of the 'theme' color in the Halo Theme ...

from ... #00FF00 (which is a fluorescent Green)
to ... #DECA8D (tan)

Is there a way to simply replace the original 'theme' color (#00FF00) to the new one (#DECA8D) using ActionScript? As stated earlier I have followed the instructions contained within the Flash Help associated with this topic to a "T" ... but it basically just consisted of manually changing the 'theme' colors. They didn't outline any use of ActionScript ... which I find hard to believe - that changes of this nature wouldn't require any code.

I really hope someone can simply inform me of something I'm missing - or there's a 'quick' fix.

Thanks in advance,
Brett

Can I Use Standard Html Form Controls In Flash?
Hi, This is my first post ever! I'm looking at building a training module for an in-house web program. I'd like to mimic the webforms used in the program to allow users to select from dropdown lists etc. but do it all in a .swf.

Could someone please suggest (if there is!) any way to:

a. use standard html form controls (dropdown lists, radio buttons etc)... or
b. make Flash dropdown lists etc... look like standard xp dropdown lists etc...

or suggest a better way?

I know that there is a way to put html and css into a textbox, though the tutorial on goToAndLearn seems to be missing, and I suspect only simple html tags are supported...

Thanks in advance!

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.

Centering A Flash File In A Standard HTML Page
I want to take my flash site and put it smack dab in the middle of a web page so that no matter if the explorer window is resized bigger or whatever, my flash file always centers itself.... can anyone help me on how to do it? thanks

Industry Standard For Alloting Flash Development Time
Does anyone the industry standard for the time it takes for Flash development in general. In other words, How much developement time does it take to do one minute of flash animation. For example, with video and motion graphics, it's one hour of editing time to accomplish one minute of edited video.

Is there a similiar industry standard for Flash development?

Obviously, there are variations in the how robust the animations are, how interactive they are, and how complicated the code is...but I'm really just looking for a general rule of thumb for professional Flash developement..

Anyone know?... or know a good place to find this info?

Embedding Non-standard Fonts In HTML Text Areas (Flash MX)
Hello,

I have an HTML text area in Flash MX for which the default font is "Arial Bold" (a font I'm embedding).

Using HTML, I have been able to change the fonts in this text area to Arial, Courier, and Times.

My question is: Using HTML, can I enter other fonts, like "Comics Sans MS", etc.

e.g.
This text is in Arial Bold, but <FONT FACE="Comic Sans MS">this text is in Comic Sans MS</FONT>, and <FONT FACE="Arial">this text is in Arial</FONT>

If not via HTML, is there some other way to accomplish this?

- Darren

Call Java Class Directly Via Flash Remoting With CFMX Standard ?
Is it possible to call a Java class directly from my Action Script if I'm using CFMX Standard? or do I need CFMX for J2EE?

I've looked at this

http://www.macromedia.com/support/fl....htm#javafiles

and thought that by putting my jar files in /opt/coldfusionmx/runtime/servers/default/SERVER-INF/lib

or putting my classes in
/opt/coldfusionmx/runtime/servers/default/SERVER-INF/classes

it should work.

But if I try


ActionScript Code:
NetServices.setDefaultGatewayUrl("http://192.168.0.73/flashservices/gateway");
var gw = NetServices.createGatewayConnection();

var service_HelloWorld = gw.getService("path.to.class.HelloWorld",this);

I get the following error in the debugger

Service threw an exception during method invocation: No service named path.to.class.HelloWorld is known to Flash Remoting MX."


I have no problems calling a CFC via the gateway, so I know Flash remoting is working.

Any advice/help would be welcome.

L.

Web Standard
I was hoping to find out the "web standard" when it comes to the basic web site construction. Should be using a simple get URL, the load movie action, or browser frames. Also, how can I control the placement of the movie if I load it. If I use loadMovie into a given position ie: a place holder movie clip, it seems to offset the movie. I would appreciate any help or opinions on this one. Thank you.

Standard
Is there any kind of a document size standard for using Flash in a presentation. I know it depends on settings of the monitor etc. But I was wondering if there was a general standard set anywhere.

Thanks...

Standard Functions?
How can I create a standard function?

Lets say I have a function called my_func and this function reorders an array in a way I defined and returns it. So when I call this function by array_name.my_func() I want the array_name to request the my_func function.

Mzzl, Chris

Standard 07_55
anybody know where i can get hold of standard 07_55 font for mac?

sorry this is the wrong forum. nobody seems to use the fonts page.

jim

Standard 07_53
Does anyone know where i can download this font for free?
Thanks.

Standard Fps For Website
What is the best fps for a website? Is it better to go as high as you need or better to stay lower and work around the slower rate?

What Is The Standard Dimensions For An Fla Doc.
hi everyone >>> was woundering ..... im making a web site using only flash ...

what is the best dimension for my fla document? if i want my swf to fit with the window browser considering some adds on the righr side for yahoo geocities ?

What Are Standard Dimensions?
Hello. What are the standard dimensions for creating a flash website?

I know the default dimensions in flash are not the standard for creating an entire website in flash so If anyone can relay the answer to me I would appreciate it, thank you.

STANDARD ARCHITECTURE? Plz Help
Hello, this may seem like a silly question... But I am having real trouble grasping something and I can't seem to get a solid opinion about it.

I am making my website at the moment, and this is my first time really stepping it up with AS3 and no timeline use. In your opinion what is the correct architecture for a site? I am so confused I keep running around in circles building onto my site and then removing it. If you are having trouble understanding what I'm talking about, I am saying what is the correct website style/methods/architecture/etc comprised of? is it swfs loaded in dynamically? is it all called in via AS using the child list... or is there another way.

What I'm really getting at is what would you guys consider the "ideal" architecture for a standard 4 page (home, about, port, contact) website? The only dynamic data I need is the port, and home page would have a news feed...thats about it.

Any thoughts?

Thank you very much

Does Somebody Have It? >> Font - Standard 07_53 -
the font is embedded but it does not popup so if anyone has plz send
standard 07_53


thnks

Standard Text Link
I'm trying to make a nornal text link just like ones produced with HTML code. I have a box of which I can add the links, can someone tell me how to enter this? for example my links page looks like this:
Bands
Relic 4th Element No Match

I need it so that when you click on and of the bands listed below the word bands, it will open a new window with the specified website.

Standard Frame Rate Fps?
What fps do the pros usually use for their Flash projects for the web? I know that 12 fps is the default in Flash, but I'm wondering if that is normal to stick with or not. I'd like to know what the Flash gurus use for their web projects? Thanks for sharing!

Fader - Standard Values?
Hi everyone,

I am using a fader with 0 to 100 values. But I want fader to stop only 0-25-50-75-100 values. For example, when the user drag it, it should stick to either 25 or 50. How can I do it? I have looked to common libraries -> faders of MX04 but they are 0-100 scale and same as I got.
Hope I explained my problem, Thank You

Ali
ali@canlidinc.net

Forms Versus Standard
Is there a difference in the way you treat a loaded swf created using a Form app opposed to a traditional swf?

for example:
_root["_level"+activeSlide].stop();
will stop the loaded swf at a level specified by activeSlide.

However, this won't work if the swf was created using Forms.

Any thoughts?

Thanks.

Standard System Fonts?
So English Windows has a few standard fonts that are on everyones machines, arial times courier.

Japanese Windows has MS gothic.

Can anybody tell me what a standard font it on a Chinese windows machine?

Thanks

Web Page Dimensions Standard
Hi People!

I'm just starting to redesign my personal site and thought:

"I wonder if the web-standard for web page dimensions has shifted at all?"

I know that its been was at 800 x 600 for ages, is it still there?

Anybody know if it has increased at all?

Did have a look on WC3 but it was a needle-in-a-haystack Job!

I apologise, as this isn't a Flash question, but this is my favourite forum & I there's always a wide range of opinions here...

Cheers

D.

Is Garamond A Standard Font?
Will probably use it in my project, is it safe to assume virtually all computers that can rush Flash Player 8 have Garamond? I can't remember ever using a computer that didn't...

[F8] Standard Stage Size?
I've read several different answers, most of them "roughly"... But when developing a full screen flash site, isn't there any most used stage size?

Dreamweaver shows e.g. in it's menu for a 1024 x 768 maximised site 935x600 and a 800x600 maximised site 760 x 420. Are those pretty standard sizes for a flash stage too?

Is There A New 'standard' Frame Rate?
I've developed in Flash for a few years and have nearly always used the default frame rate -- 12 fps -- out of a desire to maintain animation speed on slower computers, and since there's plenty of classic animation out there that looks just fine that way.

However, I'm finally starting a project that will require Flash Player 9, so we're doing it entirely in AS 3.0, and there will be no backward-compatibility issues; it's a clean slate. The site will be relatively traditional — no 3D, no wild bitmap parties — but will contain various animations of both vectors and bitmaps. Of course I plan to use bitmap caching wherever practical.

So my question is: what framerate should I use?

The arguments IN FAVOUR of a higher framerate are:
— smoother animation
— since I'll be using an AS3/FP9 combination, I can rely on the 30x speed improvement of the player over past versions, and even 'slow' computers can handle my relatively simple animations (this is 2008, after all)

The arguments AGAINST are:
— older computers aren't as fast as I'd like to think, and there are enough regular folk out there who won't see a 30 fps rate even WITH FP9
— Adobe still (as of CS3, anyway) has the default rate set at 12, so presumably they feel the lowest common denominator still can't reliably handle more than that
— since decent animation can still be had @ 12fps, and since it's hard to get reliable information on what to really expect from a broad base of users, stick with what you know works

All things being equal, it's pretty obvious that 20, 24 or 30 fps looks smoother than 12, so I'd like to use it ... all things being equal.

Any thoughts/arguments most appreciated.

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