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




Friends Of Ed - XML Question



Has anyone gone over the XML for Data and Design section in the book Flash 5 Actionscript Studio book by Friends of ED?

If you have read it:
My question is, How could you convert/replace the incremented number navigation to display the title of the stories. Should I reference the multi-dimensional array or store them into more variables and display them that way? Am I even going in the right direction to display the story titles? Please help!!!!!!

If you haven't:
How do you display multi-dimensional array values? Variables? Straight reference? Please Help!!!!!!

thanks,



FlashKit > Flash Help > Flash ActionScript
Posted on: 10-16-2001, 04:55 PM


View Complete Forum Thread with Replies

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

MSN Friends?
Just wondering if anyone here could help me with some actionscript, if so my e-mail is sataracsNOSPAM@hotmail.com (remove the NOSPAM)

I have just simple questions

and please don't move me to actionscript forum, people here help me

for my first Q:

Code:
for (i=1;i<5;i++){
if (sub1Var == i){
trace(i);
trace(eval("text"+i+"Links")[i]);
for (j=0;j<11;j++){
myButt = "subNav"+j+"_butt";
eval(myButt).onRelease = function(){
//When it Works put it in here: getMyUrl(eval(eval("text"+i+"Links"))[j]);
trace(i);
trace(eval("text"+i+"Links")[this._name.charAt(6)]);
}
}
}
}
when I click on my button, it says that i = 5, but on my first trace statement it is dynamic according to what sub1Var equals, why would this be? Does the for loop with the j statement through it off?

blast!

Hello Friends
hi all

i am ganesh here new to this msg board expecting to explore and learn a lot of new things here.need all of your support and encouragement.

Hello Friends,
Hello friends,
How are you? This is zen_lee Its great to join you all.

Hi Friends
How do I load runtime images in flash page flipping animation

please guide immediately

Pricing For Friends
I was approached by a friend and he asked me if I would be interested in redoing his site. He wants to sell apparel, hats, etc. He also wants to have some video and a customer database.

My dilemma is this; I'm not sure what my price estimate should be.

Could you guys provide me with the market price for a flash site with all the previously mentioned attributes. Also, have you ever been in this situation (providing a service to friends), and what is my best course of action?

Peace, strike

Help With My Friends Site
could someone break this simple file down for me.
it looks pretty simple but i cant seem to do it. anyone up for a challenege? i cant seem to do the simple input name thing. i have to figure out how to do this.. here is the link

http://bubblegum.parsons.edu/~mykim/...t/test_pre.swf

Arghh Help Me Please Friends
I have a movie clip containing buttons, which animate like a pull down window, now how can i link those button to the main time line???

Forget Friends Of Ed...
http://www.phong.com
http://www.levitated.net

LEVITATED IS PURE GENIUS!
YOU CAN EVEN GET THE CODE FOR EDUCATIONAL PURPOSES
ALSO:

WWW.FONTSFORFLASH.COM

*********************

NOW IN FLASH PRO, IF YOU KNOW HOW TO LINK A TEXT FILE OR HTML
FILE TO A SCROLLING TEXT BOX...SEND ME A SAMPLER...POST IT
HERE AS A LINK PLEASE!

Make Friends
if anyone who are much interested in flash and design,can make friend with me,hope that we can get more advanced in our tecnologe! my hotmail is kevin19840531@hotmail ,thank you !

[F8] Friends Can't Open .swf
I am truly a newbie. About half the people that I have sent files to say they cannot open them. Is there some way I can check on my end to see if I am doing something wrong. Thanks in advance.

Class Friends
I need to make one of my classes called Point_obj a friend of my other class called Line_obj.
then I need to define a variable called myPos of type Point_obj.
Point_obj will contain some functions like get_fake_pos() or get_real_pos.

I'm fairly new to classes in AS 2. So i appologize if my question is stupid. but i still would like some help.
Thank you very much
this is what I have as an example just to make the conncetion work. but it doesnt.
-----------------------------------

this is my Point_obj


ActionScript Code:
class Point_obj extends MovieClip
{
var myX;
var myY;
public function get_color_fcn():Void
{
    trace("get_color_fcn");
   
}
public function get_transparency_fcn():Void
{
    trace("hi");
}

}
--------------------------------------

this is my Lines_obj


ActionScript Code:
class Lines_obj extends Point_obj implements Shapes_obj
{

    var myPos:Point_obj;
   
    public function setColor():Void{
        trace("in setColor");
    }
             public function display():Void{
        trace("in display");       
    }
   
}
-----------------------------
This is done on the main frame of my flash page.


ActionScript Code:
_root.createEmptyMovieClip("myTestMovie",544);
mytest = new Lines_obj("myTestMovie");
mytest.myPos.get_color_fcn; //this doesnt work????
mytest.display(); //this works...

Arrays Are My Friends, Right?
Okay, I've used arrays in the past, but I'm still very leery of screwing things up. The code below is my usual long-way-around the barn approach. I know that putting the buttons in an array is a first step, but then how to get it to advance to the next numeric frame is where I get nervous (every button points to a frame starting on two, so button two points to frame 3, and so on). I know I can use keyframes/labels but I don't want to have to repeat the AS for each new keyframe on my AS layer. Any help would be appreciated. Thanks!







Attach Code

//-------BUTTON CONTROLS
btnOne.onRelease = function()
{
gotoAndStop (2);
}
btnTwo.onRelease = function()
{
gotoAndStop (3);
}

btThree.onRelease = function()
{
gotoAndStop (4);
}

btnFour.onRelease = function()
{
gotoAndStop (5);
}

btnFive.onRelease = function()
{
gotoAndStop (6);
}

btnSix.onRelease = fcuntion()
{
gotoAndStop (7);
}

btnSeven.onRelease = function()
{
gotoAndStop (8);
}

btnEight.onRelease = function()
{
gotoAndStop (9);
}

btnNine.onRelease = function()
{
gotoAndStop (10);
}

btnTen.onRelease = function()
{
gotoAndStop (11);
}

btnEleven.onRelease = function()
{
gotoAndStop (12);
}

btnTwelve.onRelease = function()
{
gotoAndStop (13);
}

btnThirteen.onRelease = function()
{
gotoAndStop (14);
}

btnFourteen.onRelease = function()
{
gotoAndStop (15);
}

btnFifteen.onRelease = function()
{
gotoAndStop (16);
}

SEO And Flash, Can They Ever Be Friends
Hi All,

I have recently been questioning the SEO side of things; and am currently trying to better optimize my site. I use quite a lot of flash on my site, and it sorted dawned on me that Flash is doing me no favours when it comes down to SEO - I will need to get a good ranking, as this year I will be putting a lot of money and time into making our site a success story ;)

Am I a little green on this or what?

Anyone know any tips/tricks on how best to bring SEO and Flash together, to better work in page ranking?

What do folks with totally 100% Flash sites do when it comes down to SEO? As there is only a few meta tags and title tag available?

I love Flash, and would never let go! However, this SEO thing will always be a "Flash Avoidance" for new clients; how can one best assure them that Flash provides more than just a better brand image?

A few weeks ago, a potential client stated "I would never have a flash menu".

Kind Regards,

Boxing Boom





























Edited: 01/05/2009 at 10:42:38 AM by Boxing Boom

Friends Network?
hi,

i am trying to register my site on google and have been told that it is no picnic! i was also told that one of the best ways to get a listing is to have as many links on already listed pages as possible. therefore does anyone out there fancy linking to my website? i would be more than happy to return the favour.

If this is unethical or against kirupa rules i apologise now and plead ignorance. feel free to delete this thread.

thanks all, www.apryan.com

Its Urgent Friends
Hi Friends
This is Saravanan from Zaxis Innovation Pvt, Ltd. We have a requirement in flash, for flash animators and scripter’s. Please contact me through below things.
saravanan@zaxis.co.in
sar_chennai@yahoo.com
Mobile: 9884264458
with regards
saravanan

Help Out Friends, New 2 Scripts
Dear Friends,
The below ActionScript is working for the first clip red box, but when we place a image in it the mouse events fails to work, the mouse pointer does not appear over the image, and i am not able to drag as done in the first one, please help me out dears.
hai from suresh
The code as below and i have also attached the fla file.

// Creating first Movie Clip
var square_mc:MovieClip = createEmptyMovieClip("square_mc", 150);
square_mc.lineStyle(1, 0x000000, 0);
square_mc.beginFill(0xFF0000, 100);
square_mc.moveTo(100, 100);
square_mc.lineTo(200, 100);
square_mc.lineTo(200, 200);
square_mc.lineTo(100, 200);
square_mc.lineTo(100, 100);
square_mc.endFill();
// Creating second Movie Clip
var containerBG:MovieClip = createEmptyMovieClip("containerBG", 100);
var mcLoaderBG:MovieClipLoader = new MovieClipLoader();
mcLoaderBG.addListener(this);
//Give any image file name instead of 1.gif
mcLoaderBG.loadClip("1.gif", containerBG);
//Draging works for this clip
square_mc.onPress = function() {
this.startDrag();
};
//Draging works for this clip
square_mc.onRelease = function() {
this.stopDrag();
};
//Draging is not working for this clip
containerBG.onPress = function() {
this.startDrag();
};
//Draging is not working for this clip
containerBG.onRelease = function() {
this.stopDrag();
};

Myspace Friends
Heres what i would like to do...

in your friends section on myspace, i would like to put a flash file there...which of course i can do

what i would like to do is maybe make an xml file for each of my friends, and the flash file randomly chooses friends and shows their pic and info and stuff

and then after like 5 secs it would change friends...could that be done?

Buying Another Friends Of Ed Book
Hmm so much to choose from, I finished "Foundation Actionscript" by friends of ED a few months ago and saved enough money to buy another book. I liked the book so well I think I'll go along and buy another one from the same guys. SO...


Which one should I get?

I took a look at Actionscript Studio (next one up right?) and it looks like almost the same as foundation except somethin on XML and maybe 3d?

I'm open to any book that they sell that relates to flash, including the PHP and XML, except the ones that are just plain flash (not actionscript).. I might be wrong but I think I know most of the content on there.
[Edited by MrCow on 03-15-2002 at 11:21 PM]

Publisher Friends Of Ed Goes Into Liquidation
A real shame they've produced a generally excellent collection of flash books (and others) for just about all user levels. if you've been considering buying any titles recently it might be a good idea to do it now while the books are still available.

http://www.flazoom.com/cooler/1047662818,95994,.shtml

Should Be In Site Check, But My Friends Are Here
with all the help i received from this forum, i thought it only right to post this here... (plus this forum is more alive than most, thankfully)

please let me know your guys thoughts on navigation, usibility, but most importantly the background tiles... which work, which dont.. etc...

resume and logos are only sections not up... also the initial load has no preloader (only 120k, tho)

thanks alot for all your help in this forum...

-manny

http://www.mannymedia.com/redesign3

Scroll Bar Issue (Help Mac Friends)
Hey Doods - It was brought to my attention that I had an issue with a scroll bar not working on an Apple. I have quickly rewritten the scrollbar which can be viewed at the link below. The first scroll bar is my original that does not work well on the Mac. The second is the new one. I don't have a Mac so I cannot test this myself. The specs people were having problems on are OS 10.4.4 under both Safari and Firefox. Please let me know by saying 1 = fails, 2 = works or something like that.

http://illumenstudios.com/temp/scrollbartest/

You guys rock.

Dave

David Charney
Creative Director
Illumen Studios, LLC
www.illumenstudios.com
charneyd@illumenstudios.com
847.866.0479 voice
866.745.4918 fax

[cs3] Please Help Me Friends – Button Question
Hi, I am new to Flash so please tell me if I am trying to do this the wrong way, but I created a button on Frame 1 and when you click the button I want it to take you and to stop on Frame 2. Could someone please tell me how to make this happen. I am using Flash CS3. Thank you very much, I'll owe you big time.

TabIndex And Focus... Not Friends?
Hey, Im having an issue with my tabbing in a Form I partially created.
I'm working from a template which uses onSetFocus and onKillFocus functions to make labels appear and disappear when you click in a field.
I added tabChildren, tabEnabled, and tabIndex commands because it was tabbing out of the movie on the original.
It will now tab through all fields, but you have to hit tab TWICE EACH TIME.
I cant figure out why. Where does the cursor go in between?
Any ideas from the masters?

Below is the Script on my form.


label_1 = "your name";
label_2 = "e-mail";
label_3 = "phone";
label_4 = "fax";
label_5 = "address";
label_6 = "comments";

txt1 = label_1;
txt2 = label_2;
txt3 = label_3;
txt4 = label_4;
txt5 = label_5;
txt6 = label_6;

function over(i) {
if (this["txt"+i] == this["label_"+i]) {
this["txt"+i] = "";
}
}

function out(i) {
if (this["txt"+i] == "") {
this["txt"+i] = this["label_"+i];
}
}

this.onEnterFrame = function() {
text_field_1.onSetFocus = function() {over(1)};
text_field_1.onKillFocus = function() {out(1)};

text_field_2.onSetFocus = function() {over(2)};
text_field_2.onKillFocus = function() {out(2)};

text_field_3.onSetFocus = function() {over(3)};
text_field_3.onKillFocus = function() {out(3)};

text_field_4.onSetFocus = function() {over(4)};
text_field_4.onKillFocus = function() {out(4)};

text_field_5.onSetFocus = function() {over(5)};
text_field_5.onKillFocus = function() {out(5)};

text_field_6.onSetFocus = function() {over(6)};
text_field_6.onKillFocus = function() {out(6)};

}
// Let Focus Manager know mc has children;
// this overrides mc.focusEnabled=true;
tabChildren=true;
tabEnabled=false;
// Set the tabbing sequence.
text_field_1.tabIndex = 1;
text_field_2.tabIndex = 2;
text_field_3.tabIndex = 3;
text_field_4.tabIndex = 4;
text_field_5.tabIndex = 5;
text_field_6.tabIndex = 6;

Myspace And Friends List
I'm trying to make a flash site for my myspace profile and still pretty new to actionscript so i was hoping i could find someone to help me or point me in the right direction. I made an area for the friends pics but im not sure how to call them into it. can someone please help?

Tunes-a Little Help From My Friends (cheessy)
How do I get the music fron Scene 1 to stop playing when you hit a button to got to Scene 2,then have the music from scene 2 play?

I have music in Scene 1 to start right away same with Scene 2. but when you goto Scene 2 Via a button both music tracks play.

Search Engine To Retrieve Our Old Friends In A DB
I have posted this on other forums but I want to have the maximum chances to solve my problem.

I am facing a challenge which deadline is May 15.

Goal is to build in Flash a search engine able to retrieve in a MySQL DB a student amongst the students present in my School over a period of five years. I have also exported the DB in XML which results in a 350K File, just to say that I am not stuck with MySQL and that I can contemplate an XML driven solution.

The DB is filled with almost 700 Entries in a Table which Fields are: ID, lastName, firstName, promo (French equivalent of "class of"), joining (year the student join the promo-"class of"), street, city, postalCode ("ZIP" code), country, phone, email, webSite, notes.

In my FLA, I have already created the two mandatory Input Fields [ 'sLastName', variable 'nom' (which means Last Name in French) and 'sFirstName', variable 'prenom' (which means First Name in French). Two Input Fields are necessary to differentiate brothers having the same Last Name...

I have also created the Dynamic Fields to receive the pertinent informations found in the DB. These Fields have the very same Names as the DB Fields. Variable names for their content are not yet assigned (are they necessary?).

I know how to load the XML, but no more :-(((

In FlashMX ActionScript, what I don't know (and understand despite the numerous search I made in many tutorials) is how to ask the DB for the two Input Fields content and if they are found in the DB how to pass them (with ALL the above mentioned associated Fields content) to the SWF and display them in the appropriate Dynamic Fields).

You can see the UI at <http://www.germaris.com/aet_login/list/aet_list.swf>.
The bottom search button is here to perform a search by "class of" (field 'Promo' can only receive numerals YYYY).

I thank you in advance for any provided help (code code code !!!).
Kindest regards and have very nice Day!

Recomend Flash Books (friends Of Ed?)
hi, i wanna get some good flash tutorial books, actionscript would be handy too.

i've heard friends of ed are good?

i've basic flash experience, would just like to, get better!

money aint a problem, gonna get work to pay.

so come on guys, any good recomendations?

anyone use this? http://www.amazon.co.uk/exec/obidos/...169641-0335844

ta.

I Cant Play Flash Movie My Friends Have Sent Me, Why?
i want to view them, and i have downloaded the lastest flash player, and i cant view them, can any1 shed any light on the topic??

How To Create A Form That Can Be Forward To Friends?
i want to create an e-card and I want it to be forwardable to anyone.

just like in newsletter there have

name:
email:
& a submit button.


does anyone knows how to create the name, email & the submit button?

i'm using flash 8 & can anyone please help me?

Friends Of Ed : Object-Oriented ActionScript 3.0
Has anybody read this book, and would you recommend it?

Friends of Ed : Object-Oriented ActionScript 3.0

http://www.amazon.com/exec/obidos/tg...X0DER&v=glance

thanks

Line Chart Problem - Help Me Friends
i need to perform a dynamic multiple line chart based on XML Data.. the XML Data will be like this


Code:

<chart ThisTitle="SOME TITLE">
<chartItem ChartLabel="A" ChartValue0="1111" ChartValue1="500" ChartValue2="800"></chartItem>
<chartItem ChartLabel="B" ChartValue0="10" ChartValue1="11" ChartValue2="11"></chartItem>
<chartItem ChartLabel="C" ChartValue0="20" ChartValue1="11" ChartValue2="11"></chartItem>
<chartItem ChartLabel="D" ChartValue0="30" ChartValue1="11" ChartValue2="11"></chartItem>
</chart>



So, the All ChartValue0 values sud create seperate line , ChartValue1 sud create sep line and likewise in the Same Chart.. (Mutple Lines in Same Chart).. i have used builtin Chart Component.. i dont find that facility in the existing component..


Code:

var ChartData = new DataProviderClass();
ChartData.addItem({DataLabel:'', DataValue:ThisNode.attributes[attr]});
LineChart.setDataProvider(ChartData);



So, i am able to get only single line chart..

plz help me on this issue.. thanks

Friends Say Movie Doesnt Work, Help Pleeease
hello, i made a small movie and i test it and it works just fine, but when my friends go to the web page they say that is never loads, it loads on my pc just fine but then again i have dsl, i did try with dialup and yea, it doesnt work. this is a simple animation using text, nothing special, but people cannot view it. please go to the page http://www.users.qwest.net/~envimundo/ and view the source, maybe thats the problem. i also built a preloader and neither work. please any help would be great

I Need Flash Friends In Salt Lake City
Hello.
As a intermediate Flash and multimedia designer I am looking to meet some designers in the SLC, UT area to make freinds with, As of now All my friends are non computer users and blind to the computer industry, if any1 is interested contact me
pcride2002@hotmail.com
Thanks

I Would Like To Create A Link For Photos Of Friends And Family
i would like to create a button called photos were there will be a couple pics of me and my family for others to see

having trouble getting the button to connect to the pics on my pc
is there an action i assign to it

plz help

Dear Friends, I Need Ur Regd. Water Effect
Dear Friends,
Hi! how r u, hope so fine n well.
Well Friends i need ur help. I m trying to develop water reflection effect in flash mx since 7 days. but i cant get the effect like a java applet so if any of you can make one for me i would be grateful to you. kindly check the java applet which i have made at http://www.ashrafjahangir.comwww.ashrafjahangir.com i m attaching the image also for which i need the animation.

I hope anyone of u will help me in this problem.
Regards,
Nizami (Suleman Kasmani)

Dear Friends, I Need Ur Regd. Water Effect
Dear Friends,
Hi! how r u, hope so fine n well.
Well Friends i need ur help. I m trying to develop water reflection effect in flash mx since 7 days. but i cant get the effect like a java applet so if any of you can make one for me i would be grateful to you. kindly check the java applet which i have made at http://www.ashrafjahangir.comwww.ashrafjahangir.com i m attaching the image also for which i need the animation.

I hope anyone of u will help me in this problem.
Regards,
Nizami (Suleman Kasmani)

Colour Condition (color For Our American Friends)
Okay...Hi all

I am working on a site where each selected option resizes a windows and produces a colour transition from say red to blue.

How can I wait for my section to load only once the colour has finally reached its RGB value.


Any ideas?

[F8] Pls Help Friends..How To Preload Two Seperate Swf Files In Onetime?
hello dears, I have two swf files. its actuallly for a portfolio...one is intro animation and another one is portfolio..each 1.5mb approx. both has preloader and in seperate html pages..After completing the intro-animation portfoliohtmlpage will start to load...Prob is nobody wont wait 4 this both preloading process..
How can i preload portfoliohtml in background, when the intro is playing..?
this is the link now i have made:
introanimation

thanks

Friends Some Urgency How Can We Get Video Original State
Hi friends,

I want to load my flv file in default mode i.e weh i watching any flv file on flash video player it shold first load with it's original height & width.

Regards
Ganesh

Edit Width + Height Of Friends Flash Design?
Hi, I am having a problem editing the width and height of a friend's flash design. (By the way, I haven't done flash in a very long time, so I don't remember a lot of features.) Basically, what I want to do is change the whole flash effect to 800 by 200. Currently, the design is 450 by 253. How can I change it?

Here is what I tried. First I selected "Edit Multiple Frames" and then clicked "Modify Onion Markers" and selected the "Onion All" option. Then I just changed the width and height in properties. Nothing appeared to change except the handles moved. (By handles I mean when you use the free transform tool the handles appear to allow you to resize the object.) Nothing changed. After this I just tried to change the width and height without the "Edit Multiple Frames" option and it just made big white spaces around the design.

How can I change the width and height of the whole flash design and effects inside? Just like resizing a photo in photoshop? Please help! Thanks!

Can A User Capture A Jpeg Of A Flash Game And Email It To Friends?
I'm looking into making a game where kids can drag and drop to make there own picture. Is there a way to allow the user capture their work and send it to their friends (any email address) via AS? And help is a appreciated. I just need to know where to begin...

Dynamic Text Which Has FFF Font Shows Times New Roman In My Friends System
Hi

Dynamic text which has FFF font shows times new roman in my friends system

Can Any one help me out

My Code Has No Friends: The Story Of My Sucky Code
I have an text input. I want it so that when you hit enter, it'll do stuff.

I want one of the commands to be...

goto

...however, here's the issue:



onClipEvent (enterFrame) {
pressed = Key.getCode();
pinputinn = pinput.toLowerCase();
if ((pinputinn == "goto") and (pressed == 13)) {
gotoAndStop (2);
}
}


Could someone tell me why that doesn't work, and what would work?
[Edited by Crickett on 07-20-2001 at 11:17 PM]

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