| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> !find rules <0> Hi, can anyone help me please, I have a variable "path" declaired and i want to use the variable to target an instance...path.text="text of the path" but this doesnt work as its not using the variable path, it is using the literal of path <0> any help appreciated :) <1> does path hold a complex path? as in "this.that.those"? <2> eh? <0> nope its just the name of the instance <1> macmonkey, ok, so this[path].text="abcd"; should do the trick <0> okay ill try that thanks <1> if the instance is on another scope, do a.b.c[path].text <2> you disgrace the power and might of eval() <1> yes, i do so intentionally <1> don't tempt anyone to such evils. <0> thanks that works a treat <0> eval()?
<1> don't listen to him, he's bad for you. <1> eval() is the code equivalent to satan worship. <0> so if path was "this.that" this[path].text wouldnt work? <0> lol <1> correct <2> brainy, but you don't know any reason why, right :) <2> macmonkey, to parse paths you can use eval(path); <1> i do, but i preached it one too many times to go through it again <2> brainy, I'll use thee weakness to pull my line of thought then <1> if you wish to use eval, feel free, but don't advise others to do the same <0> :S <2> brainy, you probably know eval doesn't even compile in the movie <2> it's a compiler switch, unlike in JavaScript <2> this: eval("hello.world")._alpha = 40; and this: hello.world._alpha = 40; will result in the same SWF, byte by byte <0> okay and i have a string:station that i am appending the word text to and storing it in another variable 'stationandtext' <0> and the contents of the second variable point to a third <0> that i want to evaluate...? <0> so stationandtext=kingscrosstext <0> and kingscrosstext="Welcome to kings cross" <0> how do i evaluate the contents of a string as a variable <0> i.e the contents of a string point to a variable i want to evaluate <3> woops <4> !find rules <4> hello <4> im having a problem trying to display dynamic content through flash <4> i used some code i found with google, but it doesnt show up <5> any programs to dismantle .swf files ? <5> other then imperator <6> !help <7> why would a movie clip button not be clickable? <2> it si <2> it is <7> not mine <7> cant figure it out either <7> heh <8> Is scaling the only way to resize a image loaded via loadmovie ? <1> tablatron, what do you mean? <8> Well loadmovie forces its target MC to the size of the image. Im trying to resize it. <1> you need to wait for it to load, and only then resize it <8> well the docs say it only inherits the mcs position, rotation and scale width and height dont seem to work <2> tablatron, it inherits everything, but you have to understand width/height is derived from scale AND content, and when you replace content, although scale is inherited, content apparently is different <9> what's a good place to get html templates? <2> tablatron, if you know the width of the content you'll load, you can force certain width/height with _xscale _yscale as: _xscale = desiredWidth*100/actualContentWidth; <8> yeah i was trying to do that but my content changes and i havent been able to get its properties dynamically. <8> but the docs say to get methods tyuo have to creat an empty mc and a child <8> so ill try that <2> no wait <2> ok so you don't know it <8> nope its different <2> then the goal is to set width/height after the first frame is loaded <2> use MovieClipLoader to load your content, and use the onClipInit event <2> set width/height inside, since after init, you can <2> before init you can't, that's the culprit <2> your content is flash 7/8 or earlier? <8> 7 <8> oh no its an image <8> im loading jpgs <2> tablatron, same applies to images
<2> for flash, images are a special type of SWF anyways <2> this is how it works internally <8> k im reading on MCloader cl*** and onloadInit thanks <2> I'll give you a quick start on it <2> imagine this code on the root timeline: <2> this.createEmptyMovieClip("image",10); // this is where we load the image <2> myLoader = new MovieClipLoader(); <2> myLoader.addListener(this); // we make the timeline (root) listen to events from the loader <2> function onClipInit() {... set width/height ..} <2> myLoader.loadClip("hello.jpg"); <2> I think that should work <2> oh wait <2> myLoader.loadClip("hello.jpg",image); // you gotta tell it where to load the image ;) <10> will htmlText take the target tag as part of the href? <11> Hey I'm looking for a flash developer to create games for my site which will go live in about 3 weeks pm if interested in more information! <11> Looking for a flash developer to create games for my site which will go live in about 3 weeks pm if interested in more information. <12> !find rules <13> hello <13> is it any good flash site to visit ? i need a very clean design feel <13> i dont want complex one <13> any ? <13> please tell me <13> ? <13> hello ? <13> any good website to visit ? <13> or you guys know the list of website >? <13> ? <14> http://www.break.com/index/thecurveball.html <14> :)\ <15> http://stranger.per.sg is down :(! <15> was just looking for suggestions on beginner tutorials <1> maniak, http://www.stranger.per.sg/ <16> Hi, is it possible for flash to change a <param value.. and also a value within the <embed tag, on the fly. ie. depending on which button the user presses? <17> like what <16> well for SImpleViewer to have different albums, I have to change the FlashVars value for the XML file depending on which photoalbum I select <16> so each photo album has an xml file.. but it needs to change path everytime <16> any ideas mate? <18> JATE: you speaketh in riddles <18> you wanna change a value in <PARAM> on the fly <19> i think flashvars ***ignment are one time shot <18> To what good? <19> doesn matter if you can change it or not <18> there is no reason to do it more than once <19> also to change html you use javascript, not flash <18> but if the buttons are flash, why would you do the operation outside of flash <18> the vars are native anyway <18> and if it is separate SWF files, use localConnection to communicate between them <18> and if the buttons arent flash at all, it would be a javascript task to control a SWF <16> sorry, about the riddle talk.. I'll try to re-explain. I need flash to change where it looks for the xml data file, depending on which photo album a user chooses from some sort of index. the code in the html is something like <param name="flashVars" value="xmlDataPath=/photos/album1/data.xml"> but if the user selects for instance to open up album two then I need to set the flashVar value to /photos/album2/data.xml instead <20> JATE PHP? <18> well <18> depends on where the button is ... <20> have the url look like www.domain.com/album.php?album123 <18> " but if the user selects for instance to open up album two" <20> ?album=album123* <16> but since my site is 100% flash, then when someone goes to the photo index page, and clicks on an album, it just loadMovie ("simpleviewer.swf") <20> oh <20> i've never ****ed with simpleviewer <16> lol <20> sounds like more trouble than it's worth if it doesn't have a static method or something to change albums <16> hmm... yeah I know. <16> dammit.. cant believe after all this.. it cant be done <21> JATE, why not just call your XML parsing methods to get the data again <16> F1: can u elaborate pls? <16> simpleviewer.swf just looks for the xml file in the path specified by the FlashVars <21> you feed the swf a hardcoded path to a data.xml <21> at start <21> this xml is parsed internally in flash <21> so be it a method or some prodedural code <21> just use this method again to request a new data path <20> F1-Work i don't think he does, cause he's using a swf someone else made <16> yeah, .. I dont have control over it. http://www.airtightinteractive.com/simpleviewer <16> using that <16> cause I thought it would be easy no fuss stuff, and why reinvent the wheel
Return to
#flash or Go to some related
logs:
tone 2 firebird torrent want to cybar #opengl #goal michle savage
#politics #beginner someone7 oxy heroin connection #beginner
|
|