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








CSS Style Sheet Problem.


Sorry friends .This is not something related to flash.But i'm in a big trouble n really helpless. I'm in the middle of a project and got stuck b'coz of a css style sheet problem. The thing is that i'm in search for a css style to listbox, radio button and check box to make them flat whithout any 3D projection. I'm attaching the image of that what i'm looking for. Does anyone know whether its possible and if so kindly help me to get that. That will be really great if someone can help me. Thanking you in advance........
....vibi...




ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 05-30-2005, 07:41 PM


View Complete Forum Thread with Replies

Sponsored Links:

Style Sheet
I'm trying to build a style sheet on my text fields. I want to make my URL link, go underline when I hover over the Link. But I'm not sure how I can create a style sheet with AS3.

View Replies !    View Related
Style Sheet
Hi,
is there any way to use CSS with flash TextField and action script rather than import css file ? a way to include the CSS parameters/properties in the action script code ?
i was also tried to use the CSS property "direction" and it does not work , is there some CSS properties that do not work with action sctipt ?

Thanks

View Replies !    View Related
Style Sheet ?
I couldn't find any info on this - I was having issues loading an external
style sheet and narrowed it down to this:

.footer a:link {
color: #abb8bd;
text-decoration: underline;
}

If I include that, which is not needed by Flash, but for the site, Flash
won't load the sheet. When removed the sheet loads fine. No real problem,
except now I need two style sheets. But just curious to know what about this
Flash doesn't like - and why it doesn't just ignore it. It seems to be the
a:link causing the problem...

--
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

View Replies !    View Related
What Do I Do With A Css (cascading Style Sheet)
I have been working on my website and one day, in my email, I got an email concerning my website. Along with that email was a .css for my website. I have no idea what it is and what to do with it. and I feel like a stupid person by asking him about it. I mean he already took the trouble of making a css I cant ask more of him. So what is a css and what do I do with it and also how to do you make them? thanks in advance

View Replies !    View Related
Global Style Sheet
how do i edit the glabal style sheet, i need to edit the size fof the text in a check box button.

thanx

View Replies !    View Related
Style Sheet Gone Berserk
This was made using Flash 2004 Pro on a Mac.
I have a list and a text area component on the stage. When a user selects a lable from the list it loads a .txt file associated with that lable into the text area. Simple enough right? The text area is formated from an external style sheet. Still simple enough right? Ok here's my problem. I use a good amount of bullets (<li></li> tags) to break up the content of the text. When you click on the first label and scroll all the way down, and then select another label the new .txt document that is loaded is all bulleted like crazy. Also the scroll bar stays at the previous position so you have to scroll all the way back to the top to start reading the text.
I've attached my source files for anyone who is willing to help. This was made using Flash MX 2004 Pro on a Mac! Thank for any help.

View Replies !    View Related
Help With Reapplying Style Sheet
I have a timer system that changes the content of a text field every 8 seconds using setInterval. I have a style sheet applied to the the textfield when my movie first starts and everything looks great. My setInterval fires and calls the update function changing the content of the text field. At the end of the function I trying reapplying my style sheet but it doesn't seem to work. Has anyone run into a problem like this before and if so how did you fix it?

View Replies !    View Related
Style Sheet Question
The problem is that if I embed fonts in the field that I'm applying the styleSheet to, the style effect doesn't happen. However, if I don't embed fonts, the _alpha property of the _mc which contains the text field doesnt get "alphaed" The rest of the _mc gets the _alpha effect, but not the text field within it.

can this be resolved?
thanks, Chop

code that works if no fonts are embedded in the text field:








Attach Code

var newsText:String= "<body10> blah blah </body10>";
styler_mc.instructions_txt.html = true;
styler_mc.instructions_txt.htmlText =newsText;
var styleInstructions:TextField.StyleSheet = new TextField.StyleSheet();
styleInstructions.onLoad = function(success:Boolean) {
if (success) {
styler_mc.instructions_txt.styleSheet = styleInstructions;

} else {
styler_mc.instructions_txt.htmlText = "I've been robbed";
}
};
styleInstructions.load("editText/edit.css");

View Replies !    View Related
Formatting XML With Css Style Sheet
Adobe livedocs has a great page for formatting XML text with Actionscript 2. Learning ActionScript 2.0 in Adobe Flash >Working with Text and Strings > Formatting text with Cascading Style Sheet styles > An example of using styles with XML
I need an example of how to achieve the same result using Actionscript 3.

View Replies !    View Related
Style Sheet In Textfield
V can apply style sheet properties to Textfield. But, can't v edit the textfield at runtime ?

if I want the textfield must be interactive then what should v do ? can u pls help me in undersatnding the style sheet ?

View Replies !    View Related
Xml Menu With Style Sheet
Sir,
I am trying to do one xml menu with flash. There are six menu items. Now I want to insert one orange square in front of each menu item. ( Just like the “ul”) and try to attach a style sheet in that xml so that I can control the text as per my wish ( font weight, color etc. as u can see that the fonts are bold. I want to change it ) I cannot do this . I am attaching the fla and others as well. Feel free to change everything . Can u have some time to do this. Kindly help me.

Thanks in advance.


Trnghosh.
Hi
Ornge square has already been sorted out by me. Can anyone help me so that I can attach style sheet to control the behaviours of the texts.
Once again thanks to all who are visiting this.

Trnghosh

View Replies !    View Related
Style Sheet In Textfield
V can apply style sheet properties to Textfield. But, can't v edit the textfield at runtime ?

if I want the textfield must be interactive then what should v do ? can u pls help me in undersatnding the style sheet ?

View Replies !    View Related
External Style Sheet Not Always Loading
I have an external stylesheet that alters the appeance of some dynamically loaded text. The problem I am having is that the text will sometimes revert to the default settings that were saved for the text in FLASH when being loaded. My actionscript calls for a error message to be shown if the style sheet isn't loaded properly (this never shows so I now that it is loading properly). For instance the stylesheet calls for the text to be 12px. The font is saved as serif 1px (as an experiment to tell the difference) in FLASH. The text will sometimes show up as 1 or as 12px. Is there a reason why it is picking up the style sheet attributes only some of the time.

View Replies !    View Related
Style Sheet - Dynamic Text
Hi,

I need to have apply style sheet to my dynamically created text fields.
The content inside the text fields is loading from an external XML file.

I had gone through some of the examples and tutorials.. but it is not working.
Please tell me is it possible to apply style sheet for dynamic text.
If you know any good tutorial or help please forward me.

Thanks

View Replies !    View Related
Style Sheet In Child Movie
I am using css in a child movie, and it works perfectly when the movie is played alone. However, when the swf is loaded inside the parent movie, the css no longer works.

Here is the actionscript in the child movie I use to call the css:

PHP Code:



var errormessage = "<p class='three'>error message goes here</p>";
var format = new TextField.StyleSheet();
var path = "flash.css";
format.load(path);
format.onLoad = function(loaded) {
}; 




Here is the actionscript for the text box using the css:

PHP Code:



    errorBox.styleSheet = format;
    errorBox.text = errormessage; 




Any ideas?

View Replies !    View Related
Applying A Different External Style Sheet
I want to be able to give the choice to the reader of my website to change font size of a given text area.
Three stylesheets have been set and loaded into the swf file.

The default stylesheet is applied with the usual code.
monTexte.textField.styleSheet=styleTexteUn;
monTexte.htmlText=texteCourant;

However, if a new stylesheet is set after clicking a button
(with a similar line of code,
monTexte.textField.styleSheet=styleTexteDeux;
monTexte.htmlText=texteCourant;
)

i get this error:

Error: Error #2009: Impossible d'utiliser cette méthode sur un champ de texte avec une feuille de style.
at flash.text::TextField/setTextFormat()
at fl.controls::TextArea/fl.controls:TextArea::drawTextFormat()
at fl.controls::TextArea/fl.controls:TextArea::draw()
at fl.core::UIComponent/::callLaterDispatcher()

Translation: Impossible to use this method on a text field with a stylesheet.

I don't understand what is wrong. Thank you in advance for helping.

View Replies !    View Related
CSS / Style Sheet Based UI Interface
I'm about to go about designing an extensive set of UIs in Flash that will contain a few basic components:

1) Buttons
2) Text areas with scroll bars
3) Labels
4) (Kirupa based) Hover information (label and text with help).
5) Panels

My question is what is the best way to describe these UI pieces in a way that allows me to change the template and automatically the change the button across all instances of the UI pieces, perhaps even in different .swf files?

Second question: assuming I had a button.swf that described the template, how would I organize the button.swf in a way that would allow me to do the following:

// in some new UI layout.
rightPanel = new RightPanel(); // loads the default panel template
rightPanel.addButton( new Button( "Some Label", handleClickSomeLabel ) );
screen.addPanel( rightPanel );

// later on we define the button call back
function handleClickSomeLabel()
{
// they clicked Some Label
}

Thanks for the help,

sand858

View Replies !    View Related
Style Sheet Support In Flash 8
I'm using a very simple LoadVars to load in an external text file that has been formatted with some basic HTML tags, like <b>, <p>, and <i>. I have a simple style sheet that formats each of these tags, including font-size, font-family, and color.

I'm using the new TextField.StyleSheet() object to apply those styles to the imported text file. The basic formatting appears correctly, such as bold and Italic, but none of the size changes or colors appear in var format = new TextField.StyleSheet();
var path = "styles.css";
format.load(path);
format.onLoad = function(loaded) {
if (loaded) {
output.styleSheet = format;
myLoadVar = new LoadVars();
myLoadVar.load("story1.txt");
myLoadVar.onLoad = function(success) {
if (success == true) {
output.variable = "story";
output.htmlText = myLoadVar.story;
}
};
} else {
output.text = "Error loading text";
}
};

The dynamic text field I'm using has HTML formatting enabled with a Var called story and an instance name of outup.

Has something changed with CSS formatting from MX2004 to 8? What am I missing?

View Replies !    View Related
CSS / Style Sheet Based UI Interface
I'm about to go about designing an extensive set of UIs in Flash that will contain a few basic components:

1) Buttons
2) Text areas with scroll bars
3) Labels
4) (Kirupa based) Hover information (label and text with help).
5) Panels

My question is what is the best way to describe these UI pieces in a way that allows me to change the template and automatically the change the button across all instances of the UI pieces, perhaps even in different .swf files?

Second question: assuming I had a button.swf that described the template, how would I organize the button.swf in a way that would allow me to do the following:

// in some new UI layout.
rightPanel = new RightPanel(); // loads the default panel template
rightPanel.addButton( new Button( "Some Label", handleClickSomeLabel ) );
screen.addPanel( rightPanel );

// later on we define the button call back
function handleClickSomeLabel()
{
// they clicked Some Label
}

Thanks for the help,

sand858

View Replies !    View Related
Dreamweaver MX Style Sheet Question
Hi. I'm trying to alter the colour of my text links in Dreamweaver MX as the default blue setting looks pretty rank against my red background. I read up on how to do this and was told to go to New CSS, use CSS selector, select a:link and define my properties in there.

I've done that and it works on the screen in dreamweaver but it goes a bit pear shaped when I upload it. In Mozilla Firefox which I use mainly it does naff all, the links remain think blue and underlined when they're supposed to be bold black and have no text decoration. In IE a couple of them look right and a couple of them don't.

This is the css info I have inbetween the head tags in my page:

<style type="text/css">
<!--
body {
background-color: #000000;
}
.maintable {
background-color: #A80000;
text-align: left;
border: #990000;
}
a:link {
font-weight: bold;
color: #000000;
text-decoration: none;
}

-->
</style>

Do any of you have any suggestions as to how I can fix this?

Cheers,
Eddie

View Replies !    View Related
Applying A Style Sheet To XML In Flash MX 2004
Hello!

I am developing a text scrolling Marquee application for my intranet at work. It loads an external CSS file and an external XML file to populate the text field that then scrolls arcross the screen. The problem is I am unable to get the styles to alter the text. I have tried everything I can think of and would appreciate it if someone could look at the code and see where I am going wrong. The scroller works as expected, it just isn't using the styles correctly.

Here is the relevant code(it is on the first frame of the timeline):


Quote:




stop();

// Create Style Sheet object
var xmlStyles:TextField.StyleSheet = new TextField.StyleSheet();

// load CSS file
var cssURL:String = "./swf/scrollerData1.css";
xmlStyles.load(cssURL);

xmlStyles.onLoad = function(success)
{
if(success)
{
trace("Style Sheet has loaded.");
msgText.styleSheet = xmlStyles;
var stylesArray:Array = xmlStyles.getStyleNames();
trace(stylesArray.join("
"));
}
else
{
trace("Style Sheet did not load.");
}
}

// load XML data
msgContent = new XML();
msgContent.load("./swf/scrollerData1.xml");
msgContent.ignoreWhite = true;

msgContent.onLoad = function(success)
{
if(success)
{
loadArray(this);
}
else
{
trace("The XML file did not load");
}
}

var msgArray:Array = new Array();

function loadArray(xmlNode)
{
var i = 1;

for(var aNode:XMLNode = xmlNode.firstChild.firstChild; aNode != null; aNode = aNode.nextSibling)
{
if(aNode.nodeType == 1)
{
msgArray[i] = aNode.firstChild.nodeValue;
trace("Message"+i+": "+msgArray[i].toString());
i++;
}
}
}

function playMessage(msgNumber)
{
var i:Number = msgNumber;
var nextMsg:String = "";

// initialize text field
msgText.autoSize = "left"; // Expands textfield to fit size of message
msgText.html = true;
msgText.wordWrap = false;
msgText.multiline = false;
msgText.label.condenseWhite= true;

msgText.text = msgArray[i].toString();

if(i >= 5)
{
nextMsg = "message1";
}
else
{
i++;
nextMsg = "message"+ i;
}

if(msgText.text == "" || msgText.text == undefined) // Message is blank
{
trace("Message "+i+" is undefined or blank");
gotoAndPlay(nextMsg);
}
else
{
msgText._x -= 3; // Increase this value to increase the scrolling speed

if(msgText._x < (-5 - msgText._width))
{
msgText._x = 553; // Starting position of the text field
gotoAndStop(nextMsg); // Play next message
}
}
}
gotoAndPlay('message1');




Here is the output of the traces:

Quote:




Style Sheet has loaded.
message1
message2
message3
message4
message5
Message1: Message 1: Today is Megan's Birthday. Happy Birthday, Megan!!!!
Message2: Message 2: We will be using script #456 for Sharper Image calls.
Message3: Message 3: The new DNIS for Harriet Carter inbound will be 6509.
Message4: Message 4: Please make sure to punch out for breaks and lunches. Lately this has been an issue and may affect Payroll.
Message5: Message 5: Everyone can leave at 5:30 today. Thank you for the great week and have a wonderful weekend!




Note: the style names are: message1, message2, message3, message4, message5
The XML branches are: message1, message2, message3, message4, message5

There are 5 labels on the timeline that are as follows: message1 - message5. The fuction is called like this:

stop();
_root.onEnterFrame = function()
{
playMessage('2');// 1-5
}

Please help!

View Replies !    View Related
[FMX 2K4-P] AS2.0 - Apply Style Without Dynamically Loading CSS Sheet
I've found a million tutorials on doing this by loading a CSS file, which is fine, but I don't want to load CSS...I'd rather just modify the thing with actionscript. I've done this before with one of my files, but can't seem to find it. If anybody has a link or can help me out with this one, I'd appreciate it.

View Replies !    View Related
Style Sheet For Scrollbar (desperate In Need Of Assistance )
hi there,

I looked up some help in flash itself, i looked at a tutorial about style sheets and i really dont get it to work...

The only thing i want to change is the appearance of my scrollbar. I want to change the little arrows and the back bar of the thing.

This is what i came up with:
stop();
formStyleFormat = new StyleFormat();
formStyleFormat.arrow = 0x800080;
FormStyleFormat.addListener(scrollbar);
FormStyleFormat.applyChanges()

Maybe i dont get the help file right but when i look @ pompstyle i dont even c the addlistener and applychanges.

Could some1 explaine to me what i do wrong i would like to fix it.

Greetz FaitH

View Replies !    View Related
[FMX 2K4-P] AS2.0 - Apply Style Without Dynamically Loading CSS Sheet
I've found a million tutorials on doing this by loading a CSS file, which is fine, but I don't want to load CSS...I'd rather just modify the thing with actionscript. I've done this before with one of my files, but can't seem to find it. If anybody has a link or can help me out with this one, I'd appreciate it.

View Replies !    View Related
Style Sheet For Scrollbar (desperate In Need Of Assistance )
hi there,

I looked up some help in flash itself, i looked at a tutorial about style sheets and i really dont get it to work...

The only thing i want to change is the appearance of my scrollbar. I want to change the little arrows and the back bar of the thing.

This is what i came up with:
stop();
formStyleFormat = new StyleFormat();
formStyleFormat.arrow = 0x800080;
FormStyleFormat.addListener(scrollbar);
FormStyleFormat.applyChanges()

Maybe i dont get the help file right but when i look @ pompstyle i dont even c the addlistener and applychanges.

Could some1 explaine to me what i do wrong i would like to fix it.

Greetz FaitH

View Replies !    View Related
Style Sheet Make Textfield Not Editable
Hello,

After applying a stylesheet to a textfield, the textfield isn't editable !

Look at this :


ActionScript Code:
var format = new TextField.StyleSheet();
var path = "test.css";
var tt = "<p class='one'>Test stylesheet <p>"
 
format.load(path);
format.onLoad = function(success)
{
    if (success)
    {
        output.styleSheet = format;
                                output.text = tt;
       
    }
};
 
 
stop();


StyleSheet work, but the textfield isn't éditable

it's a bug ?

View Replies !    View Related
Embedding Fonts With HtmlText And Imported Style Sheet
I am creating a dynamic text field when a user presses a button in my flash movie.

The text in the created text field is htmlText, and I am importing a .txt file with loadVariables to create the text in the field and I am importing a style sheet to format the text.

I want to be able to fade out this text box with another script, so I have tried to embed fonts, but I can't seem to get it to work with the external loaded html text and the associated externally loaded style sheet.

Is it possible to do?

Thanks

View Replies !    View Related
Dynamic Text + Mask + Style Sheet , A Solution ?
It turn me crazy :

- I have a dynamic text field which reads its contents from an XML file.
- The text is then formatted with some basic CSS from an external style
sheet
- There is a scroll bar which controls the textfield.

All of the above works absolutely sweetly.

BUT then, I then added a mask over the textfield so that the scrollbar
looks effective...., the text disappears.


Here the code :

_root.ticker.createTextField("mytext", 50, 20,20, 300, 200);
_root.ticker.mytext.autoSize = true;
_root.ticker.mytext.multiline = true;
_root.ticker.mytext.wordWrap = true;
_root.ticker.mytext.border = false;
_root.ticker.mytext.type = "dynamic";
_root.ticker.mytext.border = false;
_root.ticker.mytext.background = false;
_root.ticker.mytext.password = false;
_root.ticker.mytext.multiline = false;
_root.ticker.mytext.html = true;
_root.ticker.mytext.selectable = true;
//_root.ticker.mytext.embedFonts = true; //??? I try it uncomment or not ???
_root.ticker.mytext.maxChars = null;
_root.ticker.mytext.htmlText = myDataNews; //FROM external Html

// Loading the CSS
var myStyle:TextField.StyleSheet = new TextField.StyleSheet();
myStyle.load("news/sample.css");
_root.ticker.mytext.styleSheet = myStyle;
//IT WORKS !

_root.ticker.setMask(this.masque);
//BUT WITH MASK NO !!!!

Can someone help me ?

View Replies !    View Related
Bug In Flash? (Creation Of A Style Sheet Object Is Undefined)...
Is it a bug in Flash or what? I had been struggling with problems until I found what cause the problem but are unable to make it work... I did the tracing and the variable test is returned as "undefined".


Code:


var test = new TextField.StyleSheet();
trace(test);



So, with further testing....


Code:


trace(new TextField);



showed it returned an new object values but


Code:


trace(new TextField.StyleSheet());



returned an undefined message. What so odd about it is that StyleSheet() is a defined actionscript function built-in with Flash. I'm using Flash MX. See the link at http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001016.html#179266 . So, it look like a bug but how do I get the bug fixed or something??

Thanks,
FletchSOD

View Replies !    View Related
Dynamic Text Field Uses Style Sheet, Font Not Showing Properly
I have a flash 8 movie in which there is a dynamic text field loading data from the server. The data loads beautifully and appears in a text field formatted as html.

This html-formatted text field uses a stylesheet as well which works great for everything except the font. Using Flash, I have specified a font of DIN-Medium for the dynamic text box on my stage and yet the text that appears when I publish to my hosting provider appears to be Times New Roman. WTF?

My stylesheet does not specify any font family.

Can anyone tell me how I might get the dynamic text box to show the text using the DIN font? Do I need to export the font in the library of my flash movie or something?

Here's my actionscript:

PHP Code:



stop();

import TextField.StyleSheet;
var myStyleSheet:StyleSheet = new StyleSheet();
myStyleSheet.onLoad = function(success:Boolean) {
    if (success) {
//        trace("Styles loaded:");
    } else {
//        trace("Error loading CSS");
    }
};
myStyleSheet.load("styles.css");
txtFilmNews.html = true;
txtFilmNews.styleSheet = myStyleSheet;
txtFilmNews.width = 295;
txtFilmNews.autoSize = true;
txtFilmNews.selectable = false;

var lvFilmNews:LoadVars = new LoadVars();
lvFilmNews.onLoad = function(success) {
    if (success) {
        txtFilmNews.htmlText = lvFilmNews.html;
    } else {
        trace('load failure!');
    }
}
lvFilmNews.load('getHTML.php?q=filmNews'); 




Here is my stylesheet:

Code:

p {
color: #53301A;
font-size: 12px;
margin-bottom: 0px;
padding-bottom: 0px;
border:none;
}

.title {
font-size: 15px;
text-transform: uppercase;
color: #D06F1A;
font-weight:bold;
}

a {
color: #D06F1A;
font-weight:bold;
}
a:hover {
color: #53301A;
}

View Replies !    View Related
How Do You Use A Sprite Sheet?
I need to use a sprite sheet in one of my movies and I was wondering how you can get the sprites into your movie. Anyhelp would be greatly accepted.

View Replies !    View Related
Spread The Sheet Around?
Hello,

I was hoping someone could point me in the right direction to duplicate movieclips, based on information from a spreadsheet.

Basically, I want to duplicate the same movieclip over and over, but have each one get it's position, and some text information from a long list in an external excel file, or a .txt

any help would be greatly appreciated.

View Replies !    View Related
Opening Excel Sheet
Hi All,
I need to be able to open an excel sheet when I click a button in flash. How is this done. Can someone please help me.
Thank you
Sumant

View Replies !    View Related
How To Use Data From A Excel Sheet
Hi,
I want to program a graph that draws itself as an animation and it should get the coordinates from 2 columns on an excel sheet. I know I should get them to an array in AS. How can I do that? Do I have to get the values in the array definition form or is there some way around? It's a rather large numer of points (up to 2000) Any hint welcome!
Thanks --

View Replies !    View Related
Action Cheat Sheet
I gotta say I'm enjoying the hell out of running through these actions and seeing what they can do, playing with simple objects and slapping actions on them. What I'm wondering though, is there a JPEG or a GIF out there with a list of Actions and their code so that I dont have to keep digging into the manual or this Flash MX Action Book I got from the library?

View Replies !    View Related
Binding An Excel Sheet?
Hi there,
I ve been asked to bind a link into a Flash film which should call an Excel sheet. mmhhhh, sounds quite weird to me, but since Flash copes with almost everything (*g) I thought I ask you guys!
I guess the alternative is a mysql DB, might makes the thing much easier for the one who uses this.
I am on MX 2004

THanks

12&70

View Replies !    View Related
[F8] Import Tile Sheet?
Is there an easy way to take a tile sheet from photoshop and then put each tile into a frame in a movie clip in flash?

View Replies !    View Related
ActionScript Cheat Sheet
Hiya Gang,
I'm a bit new to Flash and wondering if there's a ActionScript cheat sheet somewhere on the web? I'm basically looking for something to reference and that has a collected glossary of the AS 2.0 language. Any help would be appreciated.

View Replies !    View Related
Strange Sheet Hapends
i made a chenge in one file (1.fla).
then i copy the frame that i just change.
then i go to the other file (2.fla).
i paste the frame i just copy.

the result: no changes. the frame don`t copy the changes i do in the other file...

Question: every time i update a site that i have in diferent files (1.swf, 2.swf, etc) i have to update file by file because a can`t copy and paste a frame.

PD: i also try puting the symbol direct from the lybrery, copy the symbol, editated in the library, etc.

View Replies !    View Related
Flash Contact Sheet
Im in dire need of help here. I hope this site is active because i really need to get this working ;D Well, i bought this template a few day's ago, and i've edited it and everything, everything looks perfect, one of the reasons i bought it was because it had a contact sheet at the back, but now, i can't figure out how to connect the contact sheet to where i want it to go if that makes sense. I put it on a webpage that i've already purchased, and i know you have to do html to link it all up, or to make it function, i just really have no clue how, and there were no instructions..so, i guess you could say im confused/stuck, so if anyone has any idea what im talking about(im not sure if i explained what im actually doing), please please tell me anything that could help :)

And if this helps too, you have the Name, Email Adress, Comment, and then the send, and clear button. I don't know how to get the clear to work, and i really don't know how to get the send button to work haha, so yes, anything that could help will be greatly aoppreciated ;DTextText





























Edited: 07/02/2007 at 03:30:03 PM by j-onfire

View Replies !    View Related
Listing All Nodes From A Xml Sheet
Alo all

Ive got an xml sheet that is 3 levels deep (part example below)


Code:
<flashNav>
<navItem itemName="1" itemPath="" itemClip="">
<navItem itemName="1.1" itemPath="" itemClip="">
<navItem itemName="1.1.1" itemPath="" itemClip=""/>
<navItem itemName="1.1.2" itemPath="" itemClip=""/>
<navItem itemName="1.1.3" itemPath="" itemClip=""/>
<navItem itemName="1.1.4" itemPath="" itemClip=""/>
</navItem>
<navItem itemName="1.2" itemPath="" itemClip="">
<navItem itemName="1.3" itemPath="" itemClip="">
<navItem itemName="1.4" itemPath="" itemClip="">
<navItem itemName="1.4.1" itemPath="" itemClip=""/>
</navItem>
</navItem>
</flashNav>
That i want to read into an array in sequental order.

At the moment i can only get the first level showing up with the following code:


Code:
var menuItems = this.firstChild;
for (var i = 0; i<menuItems.childNodes.length; i++) {
menuTitles.push(menuItems.childNodes[i].attributes.itemName);
menuLinks.push(menuItems.childNodes[i].attributes.itemPath);
}
trace(menuItems.childNodes.length);
How would i go about adding the rest of the nodes into the array?

View Replies !    View Related
Sheet Music Player
I have developed a fairly simple swf that will play and simultaniously show the sheet music I am hoping to sell on my (future) website. However, I just ran across a really slick sheet music player (you can pick a tune that the player will load at http://www.mediarain.com/musicrain/demo.php). Has anyone seen or heard about something similar in the flash world? Flash would be the ideal program for something like this! Thanks

View Replies !    View Related
Actionscript Cheat Sheet
Hi there,

Does anyone know of a website where I can get a decent ( comprehensive) actionscript cheat sheet.

Thanks

View Replies !    View Related
Strange Sheet Hapends
strange cuestion
i made a chenge in one file (1.fla).
then i copy the frame that i just change.
then i go to the other file (2.fla).
i paste the frame i just copy.

the result: no changes. the frame don`t copy the changes i do in the other file...

Question: every time i update a site that i have in diferent files (1.swf, 2.swf, etc) i have to update file by file because a can`t copy and paste a frame.

PD: i also try puting the symbol direct from the lybrery, copy the symbol, editated in the library, etc.

View Replies !    View Related
How Do I Open An Excel Sheet From Flash?
What command do I need to be able to open an excel sheet from flash?

View Replies !    View Related
Displaying A Spread Sheet In Flash
Hey there,

So can anyone suggest a decent way of displaying information contained in a txt file in Flash MX, sort of like a spread sheet?

Do I really have to make rows after row of dynamic textboxes, each with it's own name, with each piece of data in the txt doc having a matching 'info=blahblah infotwo=moreblahblah'?

Any ideas would be great.

Cheers

(There's about 50 lines, 6 pieces of information per line.)

View Replies !    View Related
Attaching Css Sheet To An Existing Text Box
hi,
i've inherited a project, that is pulling some text from a "news.txt" file - i would like to attach the stylesheet "news.css" to that text field - i've gone thru the tutorial on actionscript.org, but it's a bit beyond me - the code is below, i would appreciate any advice.
jay

var SCROLL_TOP = 87;
var SCROLL_HEIGHT = 371;
var scrollUp = false;
var scrollDown = false;

var newsTextLoader = new LoadVars();
newsTextLoader.onLoad = onText;
newsTextLoader.load("news.txt");
newsMC.newsCopy.autoSize = "left";

function onText() {
newsMC.newsCopy.htmlText = newsTextLoader.news;
}

View Replies !    View Related
Keyboard Shortcut Print Sheet, Anyone?
I am looking for a compiled, layed out and ready for print, Keyboard Shortcuts Sheet.
And yes I know you can export the keyboard shortcuts as an html file, well have you seen the file/page it makes? On a home printer it would take 6 pages to print, only because it's layed out long ways.
I realize I could spend some time re-aligning the tables and making it print ready but I figured mabey it's already been done and out there somewhere, ready to be shared.

Thanks,

View Replies !    View Related
Very Handy Actionscript Cheat Sheet
Hi guys..found this awesome pdf today..actionscript cheat sheet.. dictionary at a glance!!

View Replies !    View Related
Is There A AS3 Sprite Sheet Tutorial/demo Out There?
I would really like to see a demo of taking graphics from a sprite sheet. I am just not very familiar using bitmap data. Of course the alternative is cutting up sprites but its gets 'messy' I'd rather combine sets into a few png. = ]

View Replies !    View Related
Very Handy Actionscript Cheat Sheet
Hi guys..found this awesome pdf today..actionscript cheat sheet.. dictionary at a glance!!

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