Page 4 of 33 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 327

Thread: new to flash 2004 mx

  1. #31
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    ya, i download the extension file manager for flash mx on fri alr. Or should i dl for flash5 instead? Another thing is, as i can scroll down there r some installation file, do i dl the newest ver? Erm, medyman btw i suddenly realise the image size is also the background size (white background) right? so we should not be able to change the interior (wording /images ) using normal means. If i wrong to say tt, pls correct mi cos i still fuming abt y i cannot change the size .

  2. #32
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    Okie, anw be4 u reply i dl the newest ver . the program can accept tiz piece of new information so is able to run, but its seems to hav no effect. Perhaps u might hav some more tricks up your sleeve

  3. #33
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    Hi, al`right.. I FINALLY know wat the requirement for tiz project. My teacher wants me to do a mouseover the marquee & when click 1 of image will go to a website. so for example 40 images 40 websites.... The website muz b in the same file as the .txt which stores de images.
    btw medyman, the auto-resize I dun nid it alr. he change his mind again. Always at the minute...

    Okie for nw, i better go read up on mouseover...

  4. #34
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Ahh, well let me know if you need any more help.

    A quick tip: You don't really want a mouseover, you want to click on image and go to a website, right? So you'll want to use [movieclip].onRelease

    a mouseover is done with [movieclip].onRollOver but that would mean that you would go to the website just but mousing over the image, not actually clicking

  5. #35
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    Erm if its a mouseover too. Cos the marquee nid to stop when the cursor is in the marquee. I was tinking abt using javascript for the txt file ( putting all the website address in there) & saving as .txt files. Then the mouseover in actionscript.

    can it be done saving the website address in .txt file & not .html file?


  6. #36
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by hyk View Post
    Erm if its a mouseover too. Cos the marquee nid to stop when the cursor is in the marquee. I was tinking abt using javascript for the txt file ( putting all the website address in there) & saving as .txt files. Then the mouseover in actionscript.

    can it be done saving the website address in .txt file & not .html file?

    Yes, of course. Or, if you want to simplify it further, use XML (don't know if you're allowed to do this for your project).

    XML is SUPER SUPER easy. A txt file might be harder.

    You'll have to use the same process you're using with the images to bring in the text (the links will have to be in the same order as the images) and then pass that value into getURL()

    To be honest, I've never worked with importing data from .txt files. I've found that method to be a little bit more labor intensive and more error prone (maybe it's just my implementation).

    I always use XML for this kind of thing.

  7. #37
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    medyman, thanks for your suggestion abt using xml file but my teacher say NO XML FILE, U WILL CONFUSE YOURSELF & OTHERS. U R SUPPOSED TO USE ONLI A .txt file. gt a big dressing down. i dun realli get it nw. y he say xml will confuse people?

  8. #38
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by hyk View Post
    medyman, thanks for your suggestion abt using xml file but my teacher say NO XML FILE, U WILL CONFUSE YOURSELF & OTHERS. U R SUPPOSED TO USE ONLI A .txt file. gt a big dressing down. i dun realli get it nw. y he say xml will confuse people?
    I don't know either. I think XML is more straightforward.

    The thing with text files is, it doesn't have a set structure in the same way XML does. I suppose you could define a certain separation character/string. So, for example: imagePath and imageLink. From there, you will be able to divide the whole string into an array in ActionScript.

    With XML, you would have a string like this
    Code:
    <img path="path/to/image" link="http://www.link.com" />
    and you could easily parse any/all of the attributes, without having to deal with arrays and all that.


    I guess text files are a more "basic" structure and might be better from you to learn from (at least in your teacher's eyes). I build these sorts of applications to go live on the web and I don't usually manage them. So, I need the most user friendly way possible for my clients to change things. But in the end, my clients are only dealing with a CMS...I create the XML via PHP. But since XML has a defined structure, it's easy to create via PHP.

  9. #39
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    ic.xml sure looks easier. my marquee is juz for the school intranet. So mayb i do not nid to do till so professional. Erm do u noe how to do it in .txt file? The linking of websites .

    I read frm online, its says juz putting a | den type the website down, it should work

  10. #40
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by hyk View Post
    ic.xml sure looks easier. my marquee is juz for the school intranet. So mayb i do not nid to do till so professional. Erm do u noe how to do it in .txt file? The linking of websites .

    I read frm online, its says juz putting a | den type the website down, it should work
    Yea, that's the general idea. It doesn't have to be a |...it can be anything as long as it is consistent.

    I haven't so much as even looked at working with text files in Flash. I learned XML to begin with and have stuck with it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •