Bit of a challenge.....
Any way of getting the small swf imported into the main one to fill in the
text box ?
Html,Swf,Fun and imported swf included in zip...
Printable View
Bit of a challenge.....
Any way of getting the small swf imported into the main one to fill in the
text box ?
Html,Swf,Fun and imported swf included in zip...
I don't think you can unless maybe you know the name of the variable set in the loaded swf. I'm pretty sure that the loaded swf could send info to the loading swf using the _parent method.
The variable is "stepper".. This has been causing me hassle for 2 days now and i'm sure its possible... Anyone who figures it out and can explain/supply example then i will supply a FREE domain name (.com or .de ) .... ( Only for the first to succeed and reply)... Reply to forum so it can be timed.....
I think this thread is sitting idle because it's odd and missing an important piece....the code to the loaded swf. Take a closer look at that fun file Bret. He's Importing the swf into the main and then exporting the main. He's not loading an swf at runtime. That and the fact he left out what comprises the loaded swf (test.swf) and did not provide the source makes it a waste of time since we cannot control what test.swf sends to _root without access to it's scripting.
Not only is it an odd way of handling children movies, it's not the preferred method (importing as opposed to loading).
That test.swf looks to be a flash made movie using a component.
I could recreate it making both a Koolmoves movie but still would avoid importing it and would instead loadMovie and integrate the two. This is only a challenge because we are not provided all the code for those above examples.
Just say which files are needed chris and stop the High and Mighty bit.. I am asking for help because i dont know, if i did it would be solved...
The source to test.swf. Plain enough language dude?
For the record I find your using a free domain as incentive to solve a problem like it's a prize as silly as you find my reply. This is a forum where cute incentives aren't needed.
The FREE domain is to say thank you to whoever solves the problem, and what is wrong with an incentive? Do you go to work for free?
Yes, most people here fix problems for free. You do have a clue how a forum works right?
Now that you've attached all files, I'm sure Bret will square you away. It's not worth my time. I have a high and mighty attitude to uphold after all .
Yes chris most people fix problems for free, so why should i not give something away for free.......
Semantics.
You are not giving anything away "free". You are awarding it to the successful troubleshooter....first to achieve success....as you stated yourself. Please refrain from jabbing at me for your mispoken post.Quote:
Challenge
The variable is "stepper".. This has been causing me hassle for 2 days now and i'm sure its possible... Anyone who figures it out and can explain/supply example then i will supply a FREE domain name (.com or .de ) .... ( Only for the first to succeed and reply)... Reply to forum so it can be timed.....
Chris this is the best fun i have had all day..... Go back to your drumkit or read your first post!!!!!
Me too. Laughing is the best medicine. Good luck with the contest ;)
Ok Boys quite the barking......
It might be possible to pull the variable from an imported swf I just don't know. As Chris pointed out you can code in the loaded swf to set a variable in _root or _parent, not sure if it will work when loaded at design but I'm sure it works when loaded at runtime.
Bob Hartzell gave me the attached ZIP file.Quote:
Originally Posted by xpattech
He is looking for a new domain: http://www.koolmoves.de
:devil:
What are you trying to accomplish here. Do you need to "talk" with swf's made in FLASH8?
If Bob wants www.koolmoves.de i'm afraid its already gone. Not sure i have been doing things the right way regarding importing swf as chris explained earlier.... I like the look of the components in Macromedia Flash 8 but i cannot recreate them in Koolmoves... This is actually the only thing i need to do..
Actually getting somewhere..
Here is what I meant. Offered in good faith.
http://sandbox.blogdns.com/examples/xpatmain.swf
EDIT: I probobly should explain better.
The components were originally concieved for ease of use. You'll notice most of them do not allow access to their scripting but only allow parameters in the properties pane (usually decided by the creator) to be altered. Koolmoves components fall in this category too (created for ease of use). This usually gives you the needed functions to cover most bases. What you are doing requires us to bypass that properties pane and access the numericStepper class by hand. All we do is give your stepper component on the stage an instance name and we can then manipulate it....in this case with an event handler that grabs the steppers value to be done with as we please. In reality you could control every aspect of the stepper this way.
I cannot open your .fun file. It says unknown tag $tg$... Any ideas ?
Sorry it was $ltg$
Just found out what the problem was.. My little git of a brother had installed a pirated version of 5.2.5 and this aswell as being illegal did not support the $ltg$ tag. My apologies to Bob for this.. It has now been deleted and a full version purchased and installed..
I must be really thick,,, For the life of me i cannot understand your .fun file chris. It has a Dynamic text and a movie clip, no scripts or anything,,, What do i do with it ?
Redownload them Xpat. I just reattached two new ones.
Xpatmain should have scripting on frame 2. It just has a dynamic textfield with an instance name of "stepvalue" and an empty movieclip named "mc1" to load the stepper.fla into.
http://sandbox.blogdns.com/examples/xpat1.jpg
stepper.fla is a small movie with a numeric stepper dragged onstage and given an instance name of "stepper". The scripting to send the value to the _root (xpatmain.swf) is shown here:
http://sandbox.blogdns.com/examples/xpat2.jpg
I just noticed the post about the hacked version. This is very distressing. This was a massive problem (still is) with Swishmax and I had no idea that Koolmoves modern versions were crackable or that cracked versions were floating around. I shouldn't be surprised in todays world but I am.
So how do we help police this? WHat can we, as resource providers, do to help expose cracked versions. Is there a sure fire way to test that will fire an error like Xpat got openeing my file?
This sucks.
Trying to locate the host for http://***team.org/ as this is where my bro got Koolmoves 5.2.5 from. Had a look and this site is FULL of pirated software/music. If anyone knows how to contact the Host or ISP of this site so we can complain then please let us know..
(***) Removed to stop the spread - XpatTech
Drop a line to Bob at [email protected] if you track it down xpat. He and his partners deserve the heads up.
I cant believe that sites like this have not been shut down......
A full Whois lookup has been sent to Bob & Co..