Passing Variables Error
<p>Im getting this annoying error and tried every i know but in this case it hasnt helped.</p>

<p>I have in my delegate....</p>

<pre><code>vid_name = [push objectForKey:@"vid"];
</code></pre>

<p>(in the console .... vid = "video" )</p>

<p>now in my normal page i have </p>

<pre><code>NSString *videoName = [(MissileAppDelegate *)[[UIApplication sharedApplication] delegate] vid_name];

NSString *path = [[NSBundle mainBundle] pathForResource:videoName ofType:@"mp4"];
</code></pre>

<p>when i run this and it comes to play the video, i get an error that doesnt even relate to the video, it happens with all variables i try and pass over using the [push objectForKey:@"vid"];. if i just vid_name =@"video" it works fine.</p>

<p>Any Ideas?</p>

<p>Alex</p>
